每日礼包界面内,点击妖晶快捷获取按钮,再点击商店,商店内点击妖晶快捷获取,退出时会重复显示界面的bug;
parent
83697a9de4
commit
deeaa0221d
|
|
@ -474,11 +474,13 @@ function this.IsActivityOpenByJumpIndex(pageIndex, jumpIndex)
|
|||
local tb = this.GetActivityTableDataByPageInde(pageIndex)
|
||||
for i = 1, #tb do
|
||||
if tb[i].Sort == jumpIndex then
|
||||
if tb[i].ActiveType > 0 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(tb[i].ActiveType)
|
||||
return id and id > 0 and ActivityGiftManager.IsQualifiled(tb[i].ActiveType)
|
||||
elseif tb[i].FunType > 0 then
|
||||
return ActTimeCtrlManager.SingleFuncState(tb[i].FunType)
|
||||
if tb[i].IfBack then
|
||||
if tb[i].ActiveType > 0 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(tb[i].ActiveType)
|
||||
return id and id > 0 and ActivityGiftManager.IsQualifiled(tb[i].ActiveType)
|
||||
elseif tb[i].FunType > 0 then
|
||||
return ActTimeCtrlManager.SingleFuncState(tb[i].FunType)
|
||||
end
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
|
|
|||
|
|
@ -633,6 +633,9 @@ function this.JumpActivity(data,skipfactor)
|
|||
PopupTipPanel.ShowTip("活动尚未开启")
|
||||
return
|
||||
end
|
||||
if DynamicActivityManager.curActivityType == data then
|
||||
DynamicActivityManager.RemoveUIList()
|
||||
end
|
||||
if UIManager.IsOpen(UIName.ActivityMainPanel) then
|
||||
UIManager.ClosePanel(UIName.ActivityMainPanel)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@ end
|
|||
function this:BindEvent()
|
||||
Util.AddClick(this.btnCancel,function()
|
||||
parent:ClosePanel()
|
||||
--UIManager.OpenPanel(UIName.DynamicActivityPanel)
|
||||
DynamicActivityManager.RemoveUIList()
|
||||
JumpManager.GoJump(40007)
|
||||
end)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue