zhaoyang преди 2 години
родител
ревизия
6bf2c17c98

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/RechargeStore/RechargeStoreView.cs

@@ -139,7 +139,7 @@ namespace GFGGame
             bool isDouble = RechargeDataManager.Instance.GetRechargeBuyNumById(itemData.id) < itemData.doubleTimes;
             item.m_imgDouble.visible = isDouble;
             item.m_txtDesc.visible = isDouble;
-            item.m_icon.url = "ui://RechargeStore/sc_zizhuan_" + itemData.id;
+            item.m_icon.url = "ui://Store/sc_zizhuan_" + itemData.id;
 
             UI_StoreListItem.ProxyEnd();
         }

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/RechargeStore/StoreView.cs

@@ -52,10 +52,10 @@ namespace GFGGame
             Debug.Log("charge[1]" + charge.subTabArr[1][1]);
             Debug.Log("charge[1]" + charge.subTabArr[1][2]);
             StoreTabCfg arenaTab = StoreTabCfgArray.Instance.GetCfgByfunctionId(ConstFunctionId.STORE_ARENA);
-            _arenaSubTab.Add(new List<string>() { arenaTab.subTabArr[0][0], arenaTab.subTabArr[0][1] });
+            _arenaSubTab.Add(new List<string>() { arenaTab.subTabArr[0][0], arenaTab.subTabArr[0][1], arenaTab.subTabArr[0][2] });
             for (int i = ArenaDataManager.Instance.SeasonId; i > 0; i--)
             {
-                _arenaSubTab.Add(new List<string>() { string.Format("第{0}赛季", i), "" });
+                _arenaSubTab.Add(new List<string>() { string.Format("第{0}赛季", i), i.ToString(), "" });
             }
 
             _valueBarController = new ValueBarController(_ui.m_valueBar);
@@ -158,7 +158,7 @@ namespace GFGGame
 
             StoreTabCfg tabCfg = StoreTabCfgArray.Instance.GetCfg(_curTabIndex);
 
-            string viewName = tabCfg.subTabArr[index][1];
+            string viewName = tabCfg.subTabArr[index][2];
             if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(viewName))
             {
                 _ui.m_listSubTab.selectedIndex = _curSubTabIndex;