【新人商城】结束后关闭

dev_chengFeng
ZhangBiao 2021-12-17 14:44:44 +08:00
parent 2eb83d4c63
commit 0e732fa8b6
1 changed files with 8 additions and 0 deletions

View File

@ -354,6 +354,14 @@ function EveryDayGiftNew:GetRemainTime()
self.localTimer = Timer.New(function ()
self.endTime.text = la..TimeToFelaxible(freshTime)
if freshTime <= 0 then
if self.actConfig.ActiveType > 0 then
local id = ActivityGiftManager.IsActivityTypeOpen(self.actConfig.ActiveType)
if id then
self:RefreshData(nil,true,true)
else
self.parent:ClosePanel()
end
end
self:RefreshData(nil,true,true)
end
if actData then