parent
276e0129fe
commit
e986b8d956
|
@ -122,6 +122,7 @@ function FifteenDayGift:OnShow()
|
|||
end
|
||||
|
||||
function FifteenDayGift:Refresh()
|
||||
LogPink("刷新")
|
||||
if UIManager.IsOpen(UIName.FightAreaRewardFullPopup) then
|
||||
UIManager.ClosePanel(UIName.FightAreaRewardFullPopup)
|
||||
end
|
||||
|
@ -189,6 +190,7 @@ function FifteenDayGift:SetSingleReward(sData,go,index)
|
|||
if time <= 0 then
|
||||
self.timer:Stop()
|
||||
self.timer = nil
|
||||
LogPink("时间没了")
|
||||
FifteenDayGift:Refresh()
|
||||
end
|
||||
name.text = TimeToFelaxible(time)
|
||||
|
|
|
@ -1335,6 +1335,7 @@ function this.RefreshEightGiftPreview()
|
|||
this.sgBtn:SetActive(false)
|
||||
end
|
||||
--十五日
|
||||
LogPink("ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FifteenDayGift):"..tostring(ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FifteenDayGift)))
|
||||
if ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FifteenDayGift) then
|
||||
this.fgBtn:SetActive(true)
|
||||
this.rpFifteenDayEffect:SetActive(true)
|
||||
|
|
Loading…
Reference in New Issue