diff --git a/Assets/ManagedResources/~Lua/Modules/TianShuMiJuan/TianShuMiJuanMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/TianShuMiJuan/TianShuMiJuanMainPanel.lua index 6cc13d7a90..6a85791f35 100644 --- a/Assets/ManagedResources/~Lua/Modules/TianShuMiJuan/TianShuMiJuanMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/TianShuMiJuan/TianShuMiJuanMainPanel.lua @@ -19,19 +19,21 @@ local tabs = { default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82",tabName = Language[12276], rpType = RedPointType.TianShuPokemon_Fetter,funcType = FUNCTION_OPEN_TYPE.POKEMON,bg = "GSX116",zi = "t_tianshumijuan_lingshoupian_zi_zh", }, + --FUNCTION_OPEN_TYPE.COMPOUND [4] = { --装备 default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82",tabName = "装备篇", rpType = RedPointType.Equip_Fetter,funcType = FUNCTION_OPEN_TYPE.COMPOUND,bg = "t_tianshumijuan_shengjiangditu",zi = "t_tianshumijuan_zhuangbeipian_zi_zh", }, + --FUNCTION_OPEN_TYPE.POKEMON [5] = { --神兵 default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82",tabName = "超级武器篇", - rpType = RedPointType.Weapon_Fetter,funcType = FUNCTION_OPEN_TYPE.POKEMON,bg = "GSX116",zi = "GodWeaponAtlas_handbook_title_zh", + rpType = RedPointType.Weapon_Fetter,funcType = 5,bg = "GSX116",zi = "GodWeaponAtlas_handbook_title_zh", }, [6] = { --法宝 default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82", - tabName = "法宝", + tabName = "意念", rpType = RedPointType.Treasure_Fetter, funcType = -1, bg = "GSX116" @@ -53,7 +55,7 @@ local tabs = { default = "UI_hz_zhonghe01_83", lock = "UI_hz_zhonghe01_83", select = "UI_hz_zhonghe01_82", - tabName = "身外化身", + tabName = "奥义卡", rpType = RedPointType.HuaShen_Fetter, funcType = FUNCTION_OPEN_TYPE.Incarnation, bg = "GSX116" @@ -121,8 +123,10 @@ function TianShuMiJuanMainPanel.SetTabAdapter(newTab, index, status) else local config = ConfigManager.GetConfigData(ConfigName.GlobalSystemConfig,tabs[index].funcType) if config and config.IsOpen == 0 then + --LogError("aaaaaaaaaaaaaaaaa"..tabs[index].funcType.."/"..newTab.gameObject.name) newTab.gameObject:SetActive(false) else + --LogError("bbbbbbbbbbbbbbbbbbbb"..tabs[index].funcType) newTab.gameObject:SetActive(true) end end @@ -131,8 +135,10 @@ end function TianShuMiJuanMainPanel.TabIsLockCheck(index) if tabs[index].funcType > 0 then if ActTimeCtrlManager.SingleFuncState(tabs[index].funcType) then + --LogError("aaaaaaaaaaaaaaaaa"..tabs[index].funcType) return false else + --LogError("bbbbbbbbbbbbbbbbbbbb"..tabs[index].funcType) return true,ActTimeCtrlManager.SystemOpenTip(tabs[index].funcType) end else