【福星高照】领取完所有奖励后,按钮红点不消失
parent
ba5bc832d9
commit
057e32fe52
|
|
@ -34,7 +34,6 @@ end
|
|||
--绑定事件(用于子类重写)
|
||||
function FuXingGaoZhaoPanel:BindEvent()
|
||||
Util.AddClick(self.backBtn,function ()
|
||||
CheckRedPointStatus(RedPointType.FuXingGaoZhaoPanel)
|
||||
self:ClosePanel()
|
||||
end)
|
||||
|
||||
|
|
@ -55,7 +54,6 @@ function FuXingGaoZhaoPanel:BindEvent()
|
|||
self.timer = nil
|
||||
end
|
||||
self:Refresh()
|
||||
CheckRedPointStatus(RedPointType.FuXingGaoZhaoPanel)
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
|
@ -63,7 +61,6 @@ function FuXingGaoZhaoPanel:BindEvent()
|
|||
NetManager.GetActivityRewardRequest(-1,self.data.activityId,function (drop)
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup, drop, 1,function()
|
||||
self:Refresh()
|
||||
CheckRedPointStatus(RedPointType.FuXingGaoZhaoPanel)
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
|
@ -114,6 +111,7 @@ function FuXingGaoZhaoPanel:OnShow(_sortingOrder)
|
|||
|
||||
FuXingGaoZhaoManager.InitRewardData()
|
||||
self:Refresh()
|
||||
|
||||
end
|
||||
|
||||
function FuXingGaoZhaoPanel:Refresh()
|
||||
|
|
@ -129,6 +127,7 @@ function FuXingGaoZhaoPanel:Refresh()
|
|||
for i = 1, #self.rewardList do
|
||||
self:SetSingleReward(self.rewardList[i],self.data.rewards[i],i)
|
||||
end
|
||||
CheckRedPointStatus(RedPointType.FuXingGaoZhao)
|
||||
end
|
||||
|
||||
function FuXingGaoZhaoPanel:SetBtn()
|
||||
|
|
|
|||
Loading…
Reference in New Issue