From 158d66363940cdccd33d522124fed057877ae828 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 25 Aug 2021 07:25:38 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A4=AA=E5=88=9D=E5=AF=86=E5=8D=B7?= =?UTF-8?q?=E3=80=91=E5=96=9C=E6=89=91=E5=92=8C=E5=8A=A8=E6=B8=B8=E6=B8=A0?= =?UTF-8?q?=E9=81=93=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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)