周卡月卡调整
parent
af1452a76a
commit
22bafa91fa
|
@ -160,7 +160,7 @@ function MonthCardPage:SetMonthCardTimes(i)
|
||||||
---设置剩余时间
|
---设置剩余时间
|
||||||
if monthCardData.state > 0 then
|
if monthCardData.state > 0 then
|
||||||
self.cardPres[i].time:SetActive(true)
|
self.cardPres[i].time:SetActive(true)
|
||||||
local residueTimeNum = monthCardData.endingTime + (curMonthCardConfig.ContiueDays * 24 * 3600) - GetTimeStamp()
|
local residueTimeNum = monthCardData.endingTime - GetTimeStamp()
|
||||||
local dayNum = math.floor(residueTimeNum / (24 * 3600))
|
local dayNum = math.floor(residueTimeNum / (24 * 3600))
|
||||||
self.cardPres[i].time:GetComponent("Text").text = Language[10480] .. dayNum ..Language[10017]
|
self.cardPres[i].time:GetComponent("Text").text = Language[10480] .. dayNum ..Language[10017]
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue