parent
7df9cf85b2
commit
2b453b303f
|
|
@ -1458,8 +1458,7 @@ function this.TimeFormat()
|
||||||
local time = data.endTime - PlayerManager.serverTime
|
local time = data.endTime - PlayerManager.serverTime
|
||||||
if OperatingManager.GetGoodsBuyTime(GoodsTypeDef.MONTHCARD_128) > 0 and OperatingManager.GetGoodsBuyTime(GoodsTypeDef.MONTHCARD_328) > 0 then
|
if OperatingManager.GetGoodsBuyTime(GoodsTypeDef.MONTHCARD_128) > 0 and OperatingManager.GetGoodsBuyTime(GoodsTypeDef.MONTHCARD_328) > 0 then
|
||||||
this.upperMonthCardTime.gameObject:SetActive(false)
|
this.upperMonthCardTime.gameObject:SetActive(false)
|
||||||
else
|
elseif time>= 86400 then
|
||||||
if time>= 86400 then
|
|
||||||
this.upperMonthCardTime.text = TimeToDH(time)
|
this.upperMonthCardTime.text = TimeToDH(time)
|
||||||
else
|
else
|
||||||
this.upperMonthCardTime.text = TimeToHMS(time)
|
this.upperMonthCardTime.text = TimeToHMS(time)
|
||||||
|
|
@ -1982,6 +1981,7 @@ end
|
||||||
this.sgItemView:OnOpen(false,{itemId,0},0.73)
|
this.sgItemView:OnOpen(false,{itemId,0},0.73)
|
||||||
this.sgName.text=ConfigManager.GetConfigData(ConfigName.ItemConfig,itemId).Name
|
this.sgName.text=ConfigManager.GetConfigData(ConfigName.ItemConfig,itemId).Name
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.RefreshBattleUpLvTip()
|
function this.RefreshBattleUpLvTip()
|
||||||
this.battleUpLvTip:GetComponent("Canvas").sortingOrder = orginLayer + 10
|
this.battleUpLvTip:GetComponent("Canvas").sortingOrder = orginLayer + 10
|
||||||
this.battleUpLvTip:SetActive(true)
|
this.battleUpLvTip:SetActive(true)
|
||||||
|
|
@ -2020,4 +2020,4 @@ end
|
||||||
-- this.isGHZShow = true
|
-- this.isGHZShow = true
|
||||||
-- end
|
-- end
|
||||||
-- end
|
-- end
|
||||||
return MainPanel
|
return MainPanel
|
||||||
Loading…
Reference in New Issue