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