点将台红点修改
parent
ff0526f20d
commit
782fc8e54e
|
@ -491,7 +491,7 @@ function TimeLimitUpHero:OnClose()
|
|||
self.timer:Stop()
|
||||
self.timer = nil
|
||||
end
|
||||
ClearRedPointObject(RedPointType.TimeLimitWishStore,self.zqbgRed)
|
||||
|
||||
if UIManager.IsOpen(UIName.GeneralPopup) then
|
||||
UIManager.ClosePanel(UIName.GeneralPopup)
|
||||
end
|
||||
|
@ -500,6 +500,7 @@ end
|
|||
function TimeLimitUpHero:OnDestroy()
|
||||
self.spLoader:Destroy()
|
||||
self.btns = {}
|
||||
ClearRedPointObject(RedPointType.TimeLimitWishStore,self.zqbgRed)
|
||||
--SubUIManager.Close(self.itemView)
|
||||
self.itemView = nil
|
||||
heroLiveObj=nil
|
||||
|
|
|
@ -33,10 +33,10 @@ end
|
|||
|
||||
--绑定事件(用于子类重写)
|
||||
function GMSong10WanPanel:BindEvent()
|
||||
Util.AddClick(this.btn_close, function()
|
||||
Util.AddOnceClick(this.btn_close, function()
|
||||
self:ClosePanel()
|
||||
end)
|
||||
Util.AddClick(this.btn_get, function()
|
||||
Util.AddOnceClick(this.btn_get, function()
|
||||
if isCanGet then
|
||||
NetManager.GetActivityRewardRequest(1,11201,function(msg)
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup, msg, 1,function ()
|
||||
|
|
|
@ -844,6 +844,10 @@ end
|
|||
function this.CheckTimeLimitHeroStoreRedPoint()
|
||||
local boughtNum = 0
|
||||
local limitNum = 0
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.LimitUpHero)
|
||||
if not activityId then
|
||||
return false
|
||||
end
|
||||
local shopData = OperatingManager.GetGiftGoodsInfoList(GoodsTypeDef.DirectPurchaseGift)
|
||||
for i = 1, #shopData do
|
||||
if rechargeConfig[shopData[i].goodsId].ShowType == DirectBuyType.XIANSHIMIBAO then
|
||||
|
|
|
@ -531,12 +531,14 @@ end
|
|||
|
||||
|
||||
function EveryDayGiftNew:OnClose()
|
||||
CheckRedPointStatus(RedPointType.TimeLimitWishStore)
|
||||
if self.localTimer then
|
||||
self.localTimer:Stop()
|
||||
self.localTimer = nil
|
||||
end
|
||||
self.gameObject:SetActive(false)
|
||||
self.parent.tabbox.gameObject:SetActive(true)
|
||||
|
||||
end
|
||||
|
||||
function EveryDayGiftNew:OnDestroy()
|
||||
|
|
Loading…
Reference in New Issue