From 7e4c86a6586b809bf317e547db8d733531761748 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 17 八月 2018 11:00:07 +0800
Subject: [PATCH] 2562【前端】宗门试练兑换界面优化

---
 System/Dungeon/TrialExchangeCell.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/Dungeon/TrialExchangeCell.cs b/System/Dungeon/TrialExchangeCell.cs
index f48d3f1..5b204a2 100644
--- a/System/Dungeon/TrialExchangeCell.cs
+++ b/System/Dungeon/TrialExchangeCell.cs
@@ -21,11 +21,11 @@
             model.IsAnySatisfyExchangeBetterEquip(_class, out _betterEquipId);
             for (int i = 0; i < m_TrialExchanges.Length; i++)
             {
-                var index = _line * 4 + i;
+                var index = _line * 3 + i;
                 if (index < list.Count)
                 {
                     m_TrialExchanges[i].gameObject.SetActive(true);
-                    m_TrialExchanges[i].Display(list[index].id, _betterEquipId == list[index].id);
+                    m_TrialExchanges[i].Display(list[index].id, _betterEquipId == list[index].id, (_line + i) == 0);
                 }
                 else
                 {

--
Gitblit v1.8.0