七天乐替换界面

This commit is contained in:
chenxi 2023-06-05 17:56:35 +08:00
parent c5c36cbb86
commit 38aa2b8ffa

View File

@ -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()