七天乐替换界面
This commit is contained in:
parent
c5c36cbb86
commit
38aa2b8ffa
@ -244,11 +244,6 @@ function SevenDayUI:updateTime()
|
|||||||
local remainTime = endTime - Time:getServerTime()
|
local remainTime = endTime - Time:getServerTime()
|
||||||
if remainTime >= 0 then
|
if remainTime >= 0 then
|
||||||
self.timeTx:setText(GFunc.getTimeStr(remainTime))
|
self.timeTx:setText(GFunc.getTimeStr(remainTime))
|
||||||
local remainDay = remainTime // 86400
|
|
||||||
if self.remainDay ~= remainDay then
|
|
||||||
self.remainDay = remainDay
|
|
||||||
GFunc.centerImgAndTx(self.timeIcon, self.timeTx, 14)
|
|
||||||
end
|
|
||||||
else
|
else
|
||||||
UIManager:closeUnderUI(self)
|
UIManager:closeUnderUI(self)
|
||||||
self:closeUI()
|
self:closeUI()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user