|
@@ -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;
|