跳转修改提交
parent
ee84f39794
commit
2f9a357023
|
@ -8,7 +8,7 @@ end
|
|||
local jumpDic = {
|
||||
[JumpType.Lottery] = function(data)--招募
|
||||
--local openPanle =
|
||||
UIManager.OpenPanel(UIName.RecruitPanel)
|
||||
UIManager.OpenPanel(UIName.RecruitMainPanel,TableRecruitType.Shenjiang)
|
||||
--if openPanle and data then
|
||||
-- openPanle.ShowGuideGo(data[1])
|
||||
--end
|
||||
|
@ -302,7 +302,7 @@ local jumpDic = {
|
|||
UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.Gold })
|
||||
end,
|
||||
[JumpType.ElementDrawCard] = function(data)--元素招募
|
||||
UIManager.OpenPanel(UIName.ElementDrawCardPanel,(data and data[1] or 0))
|
||||
UIManager.OpenPanel(UIName.RecruitMainPanel,TableRecruitType.Siyuanzhen)
|
||||
end,
|
||||
[JumpType.Pray] = function(data)--云梦
|
||||
if ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.Pray) then
|
||||
|
|
|
@ -254,7 +254,6 @@ end
|
|||
--界面打开时调用(用于子类重写)
|
||||
function RecruitMainPanel:OnOpen(_index)
|
||||
if not _index then
|
||||
LogGreen("GuideManager.GetCurId(1):"..tostring(GuideManager.GetCurId(1)).." GuideManager.GetCurId(2):"..tostring(GuideManager.GetCurId(2)))
|
||||
if GuideManager.IsInMainGuide() and GuideManager.GetCurId(1) == 105 then
|
||||
self.CurRecruitId = TableRecruitType.Putong
|
||||
elseif GuideManager.IsInMainGuide() and GuideManager.GetCurId(1) == 1003 then
|
||||
|
|
Loading…
Reference in New Issue