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