【福星高照】领取完所有奖励后,按钮红点不消失

dev_chengFeng
zhangqiang 2021-06-21 13:52:41 +08:00
parent ba5bc832d9
commit 057e32fe52
1 changed files with 2 additions and 3 deletions

View File

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