跳转修改提交

dev_chengFeng
DESKTOP-98AVA47\Administrator 2021-07-19 21:58:45 +08:00
parent ee84f39794
commit 2f9a357023
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,7 @@ end
local jumpDic = { local jumpDic = {
[JumpType.Lottery] = function(data)--招募 [JumpType.Lottery] = function(data)--招募
--local openPanle = --local openPanle =
UIManager.OpenPanel(UIName.RecruitPanel) UIManager.OpenPanel(UIName.RecruitMainPanel,TableRecruitType.Shenjiang)
--if openPanle and data then --if openPanle and data then
-- openPanle.ShowGuideGo(data[1]) -- openPanle.ShowGuideGo(data[1])
--end --end
@ -302,7 +302,7 @@ local jumpDic = {
UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.Gold }) UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = UpViewRechargeType.Gold })
end, end,
[JumpType.ElementDrawCard] = function(data)--元素招募 [JumpType.ElementDrawCard] = function(data)--元素招募
UIManager.OpenPanel(UIName.ElementDrawCardPanel,(data and data[1] or 0)) UIManager.OpenPanel(UIName.RecruitMainPanel,TableRecruitType.Siyuanzhen)
end, end,
[JumpType.Pray] = function(data)--云梦 [JumpType.Pray] = function(data)--云梦
if ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.Pray) then if ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.Pray) then

View File

@ -254,7 +254,6 @@ end
--界面打开时调用(用于子类重写) --界面打开时调用(用于子类重写)
function RecruitMainPanel:OnOpen(_index) function RecruitMainPanel:OnOpen(_index)
if not _index then 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 if GuideManager.IsInMainGuide() and GuideManager.GetCurId(1) == 105 then
self.CurRecruitId = TableRecruitType.Putong self.CurRecruitId = TableRecruitType.Putong
elseif GuideManager.IsInMainGuide() and GuideManager.GetCurId(1) == 1003 then elseif GuideManager.IsInMainGuide() and GuideManager.GetCurId(1) == 1003 then