diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index 192b0454fc..5dc33f11c7 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -5,6 +5,9 @@ local floor = math.floor MainPanel = Inherit(BasePanel) local this = MainPanel local endTime = 0 + +local LoginRoot_Channel = ServerConfigManager.GetVersionInfo("channel") + local GlobalActConfig = ConfigManager.GetConfig(ConfigName.GlobalActivity) local ActGroupsConfig = ConfigManager.GetConfig(ConfigName.ActivityGroups) local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig) @@ -269,6 +272,9 @@ function this:InitComponent() this.taiChuMiJuanBtn = Util.GetGameObject(self.gameObject, "taichumijuan") this.taichumijuanRed=Util.GetGameObject(this.taiChuMiJuanBtn, "redPoint") + if LoginRoot_Channel == "XP" or LoginRoot_Channel == "DY" then + this.taiChuMiJuanBtn:SetActive(false) + end end function this:SetPosFunc(v2)