【跳转】跳转充值,点返回没反应,再点直接返回主城
parent
d610d44c0f
commit
7cbec8230a
|
@ -52,6 +52,11 @@ function ActivityMainPanel:RemoveListener()
|
|||
end
|
||||
|
||||
function ActivityMainPanel:CheckActOpen(_index)
|
||||
for i = 1, #tabs do
|
||||
if tabs[i].Sort == _index then
|
||||
_index = i
|
||||
end
|
||||
end
|
||||
if tabs[_index].IfBack == 1 then
|
||||
if tabs[_index].ActiveType > 0 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(tabs[_index].ActiveType)
|
||||
|
@ -100,7 +105,7 @@ function ActivityMainPanel:OnOpen(_activityType,_index)
|
|||
break
|
||||
end
|
||||
end
|
||||
DynamicActivityManager.AddUIList(tabs[_CurPageIndex].Jump)
|
||||
--DynamicActivityManager.AddUIList(tabs[_CurPageIndex].Jump)
|
||||
end
|
||||
|
||||
-- 打开,重新打开时回调
|
||||
|
|
|
@ -34,7 +34,11 @@ function this.RemoveUIList()
|
|||
end
|
||||
end
|
||||
function this.ChangeUIList(jumpId)
|
||||
this.OpenUIList[#this.OpenUIList] = jumpId
|
||||
if #this.OpenUIList < 1 then
|
||||
this.OpenUIList[1] = jumpId
|
||||
else
|
||||
this.OpenUIList[#this.OpenUIList] = jumpId
|
||||
end
|
||||
for i,v in ipairs(this.OpenUIList) do
|
||||
LogGreen("ChangeUIList:"..v)
|
||||
end
|
||||
|
|
|
@ -319,6 +319,8 @@ local jumpDic = {
|
|||
else
|
||||
PopupTipPanel.ShowTip(Language[11396])
|
||||
end
|
||||
else
|
||||
this.JumpActivity(JumpType.Expert,data[1])
|
||||
end
|
||||
end
|
||||
end,
|
||||
|
@ -636,6 +638,7 @@ function this.JumpActivity(data,skipfactor)
|
|||
if UIManager.IsOpen(UIName.ActivityMainPanel) then
|
||||
UIManager.ClosePanel(UIName.ActivityMainPanel)
|
||||
end
|
||||
DynamicActivityManager.AddUIList(this.jumpId)
|
||||
UIManager.OpenPanel(UIName.ActivityMainPanel,data,skipfactor)
|
||||
end
|
||||
-- function this.GetTip(openType,openValue)
|
||||
|
|
Loading…
Reference in New Issue