diff --git a/Assets/ManagedResources/~Lua/Modules/Carbon/ChallengeCopyPanel.lua b/Assets/ManagedResources/~Lua/Modules/Carbon/ChallengeCopyPanel.lua index df5a9332c1..bb51dc8df4 100644 --- a/Assets/ManagedResources/~Lua/Modules/Carbon/ChallengeCopyPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Carbon/ChallengeCopyPanel.lua @@ -252,11 +252,11 @@ function this.SetData(root, data) if type==1 or type==2 then goBtnText.text=Language[10287] goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuangse") - power.text = _power--string.format(Language[10288], _power) + power.text = _power tip.gameObject:SetActive(false) + goIcon:SetActive(isOpen and freeTime<=0) + goIconNum:SetActive( isOpen and freeTime<=0) if type==2 then - goIcon:SetActive(isOpen and freeTime<=0) - goIconNum:SetActive( isOpen and freeTime<=0) goBtnText.text=Language[10289] goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuise") tip.text=Language[10290] @@ -350,7 +350,13 @@ end ---检测tab是否锁定 function this.TabIsLockCheck(index) if CarbonManager.challengeCopyDataTable[index].openState==0 then - return true,"副本未开启" + local tipStr="" + if CarbonManager.challengeCopyDataTable[index].type==1 then + tipStr="副本每周一,三,五,七开启" + else + tipStr="副本每周二,四,六,七开启" + end + return true,tipStr end return false end