diff --git a/Assets/ManagedResources/~Lua/Modules/FuXingGaoZhao/FuXingGaoZhaoPanel.lua b/Assets/ManagedResources/~Lua/Modules/FuXingGaoZhao/FuXingGaoZhaoPanel.lua index 1d7bab5184..d5ce8b2d87 100644 --- a/Assets/ManagedResources/~Lua/Modules/FuXingGaoZhao/FuXingGaoZhaoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/FuXingGaoZhao/FuXingGaoZhaoPanel.lua @@ -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()