【跳转】跳转到大页签时强制关闭所有界面,副本界面关闭mask
parent
fa533f28df
commit
80a2b1a1f3
|
@ -223,6 +223,9 @@ function CarbonTypePanelV2:OnShow(...)
|
||||||
redPointTypeList[redpoint] = data.redPointType
|
redPointTypeList[redpoint] = data.redPointType
|
||||||
CheckRedPointStatus(data.redPointType)
|
CheckRedPointStatus(data.redPointType)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Util.GetGameObject(v, "bg/Mask"):SetActive(false)
|
||||||
|
Util.GetGameObject(v, "bg/Mask (1)"):SetActive(false)
|
||||||
end
|
end
|
||||||
carbonType = PlayerManager.carbonType
|
carbonType = PlayerManager.carbonType
|
||||||
|
|
||||||
|
|
|
@ -212,11 +212,13 @@ local jumpDic = {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
[JumpType.MemberCamp] = function()--成员
|
[JumpType.MemberCamp] = function()--成员
|
||||||
|
UIManager.CloseAll(true)
|
||||||
HeroManager.heroListPanelSortID = 1
|
HeroManager.heroListPanelSortID = 1
|
||||||
HeroManager.heroListPanelProID = 0
|
HeroManager.heroListPanelProID = 0
|
||||||
UIManager.OpenPanel(UIName.RoleListPanel)
|
UIManager.OpenPanel(UIName.RoleListPanel)
|
||||||
end,
|
end,
|
||||||
[JumpType.StoreHouse] = function(data)--仓库
|
[JumpType.StoreHouse] = function(data)--仓库
|
||||||
|
UIManager.CloseAll(true)
|
||||||
if data then
|
if data then
|
||||||
local openPanle = UIManager.OpenPanel(UIName.BagPanel,data[1])
|
local openPanle = UIManager.OpenPanel(UIName.BagPanel,data[1])
|
||||||
if openPanle then
|
if openPanle then
|
||||||
|
@ -240,8 +242,10 @@ local jumpDic = {
|
||||||
UIManager.OpenPanel(UIName.GoodFriendMainPanel,nil,data[1])
|
UIManager.OpenPanel(UIName.GoodFriendMainPanel,nil,data[1])
|
||||||
end,
|
end,
|
||||||
[JumpType.Level] = function(data)--关卡
|
[JumpType.Level] = function(data)--关卡
|
||||||
|
|
||||||
|
UIManager.CloseAll(true)
|
||||||
local openPanle
|
local openPanle
|
||||||
openPanle = UIManager.OpenPanel(UIName.FightPointPassMainPanel)
|
openPanle = UIManager.OpenPanel(UIName.FightPointPassMainPanel)
|
||||||
if openPanle then
|
if openPanle then
|
||||||
openPanle.ShowGuideGo(data[1])
|
openPanle.ShowGuideGo(data[1])
|
||||||
end
|
end
|
||||||
|
@ -323,6 +327,7 @@ local jumpDic = {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
[JumpType.Privilege] = function(data)--特权
|
[JumpType.Privilege] = function(data)--特权
|
||||||
|
UIManager.CloseAll(true)
|
||||||
local openPanle = UIManager.OpenPanel(UIName.VipPanelV2)
|
local openPanle = UIManager.OpenPanel(UIName.VipPanelV2)
|
||||||
if openPanle and data and data[1] < 0 then
|
if openPanle and data and data[1] < 0 then
|
||||||
--引导光圈 -1 下边条目领取按钮
|
--引导光圈 -1 下边条目领取按钮
|
||||||
|
@ -416,6 +421,8 @@ local jumpDic = {
|
||||||
if PlayerManager.familyId == 0 then
|
if PlayerManager.familyId == 0 then
|
||||||
UIManager.OpenPanel(UIName.GuildFindPopup)
|
UIManager.OpenPanel(UIName.GuildFindPopup)
|
||||||
else
|
else
|
||||||
|
|
||||||
|
UIManager.CloseAll(true)
|
||||||
if UIManager.IsOpen(UIName.GuildMainCityPanel) then
|
if UIManager.IsOpen(UIName.GuildMainCityPanel) then
|
||||||
UIManager.OpenPanel(UIName.GuildAidMainPopup,data[1])
|
UIManager.OpenPanel(UIName.GuildAidMainPopup,data[1])
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue