From eb3603a85c368aab4c564ea9d4725e083c4614b8 Mon Sep 17 00:00:00 2001 From: xiejun <467745540@qq.com> Date: Wed, 31 Jan 2024 11:12:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B1=E9=9B=84=E8=AF=95=E7=82=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua index 835bef7a7d..cc7145d26e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayMainPanel.lua @@ -50,6 +50,7 @@ function GuildCarDelayMainPanel:InitComponent() this.TabCtrl = TabBox.New() this.ScrollTitleRootName = Util.GetGameObject(self.gameObject, "RankList/ScrollTitleRoot/Name"):GetComponent("Text") + this.Record = Util.GetGameObject(self.gameObject, "RankList/Record") this.mySortNum = Util.GetGameObject(self.gameObject, "RankList/Record/SortNum") this.myGuildName = Util.GetGameObject(self.gameObject, "RankList/Record/Rank0"):GetComponent("Text") this.mySore = Util.GetGameObject(self.gameObject, "RankList/Record/Rank1"):GetComponent("Text") @@ -194,6 +195,7 @@ function this.ShowTitleAllData() this.proImage.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig[curMonsterIdConFig.Boss].PropertyName)) curProgress = GuildCarDelayManager.progress Util.SetGray(this.challengeBtn,curProgress ~= 1) + this.Record:SetActive(curProgress == 1) challengeNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_CHALLENGE) lootNum = PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILD_CAR_DELEAY_LOOT) this.challengeNum.text = Language[10520]..challengeNum