diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index 96e8baf0a2..84305a8382 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -1458,8 +1458,7 @@ function this.TimeFormat() local time = data.endTime - PlayerManager.serverTime if OperatingManager.GetGoodsBuyTime(GoodsTypeDef.MONTHCARD_128) > 0 and OperatingManager.GetGoodsBuyTime(GoodsTypeDef.MONTHCARD_328) > 0 then this.upperMonthCardTime.gameObject:SetActive(false) - else - if time>= 86400 then + elseif time>= 86400 then this.upperMonthCardTime.text = TimeToDH(time) else this.upperMonthCardTime.text = TimeToHMS(time) @@ -1982,6 +1981,7 @@ end this.sgItemView:OnOpen(false,{itemId,0},0.73) this.sgName.text=ConfigManager.GetConfigData(ConfigName.ItemConfig,itemId).Name end + function this.RefreshBattleUpLvTip() this.battleUpLvTip:GetComponent("Canvas").sortingOrder = orginLayer + 10 this.battleUpLvTip:SetActive(true) @@ -2020,4 +2020,4 @@ end -- this.isGHZShow = true -- end -- end -return MainPanel \ No newline at end of file + return MainPanel \ No newline at end of file