【修行】选择神将从generalpopup到bigpopup
parent
7f19809419
commit
abcc89c68f
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2000,7 +2000,6 @@ GENERAL_POPUP_TYPE={
|
||||||
YiJingBaoKuConfirm = 31,--易经宝库奖励确认
|
YiJingBaoKuConfirm = 31,--易经宝库奖励确认
|
||||||
LingShouBaoGe = 33,--灵兽宝阁选择神兽
|
LingShouBaoGe = 33,--灵兽宝阁选择神兽
|
||||||
YunYouMan = 34,--云游商人选择装备
|
YunYouMan = 34,--云游商人选择装备
|
||||||
XiuXingSelectHero = 36,--修行选择英雄弹窗
|
|
||||||
|
|
||||||
--大号通用弹窗
|
--大号通用弹窗
|
||||||
YiJingBaoKu = 30,--易经宝库
|
YiJingBaoKu = 30,--易经宝库
|
||||||
|
@ -2008,6 +2007,7 @@ GENERAL_POPUP_TYPE={
|
||||||
PracticeStatePreview = 37,--修行境界预览
|
PracticeStatePreview = 37,--修行境界预览
|
||||||
RecrutReward = 35, --限时招募奖励
|
RecrutReward = 35, --限时招募奖励
|
||||||
RecrutDetail = 36, --限时招募奖励详情
|
RecrutDetail = 36, --限时招募奖励详情
|
||||||
|
XiuXingSelectHero = 38,--修行选择英雄弹窗
|
||||||
}
|
}
|
||||||
|
|
||||||
--通用信息弹窗类型
|
--通用信息弹窗类型
|
||||||
|
|
|
@ -14,6 +14,8 @@ local contentScripts = {
|
||||||
[GENERAL_POPUP_TYPE.PracticeStatePreview] = {view = require("Modules/GeneralPanel/View/GeneralBigPopup_PracticeStatePreview"), panelName = "GeneralBigPopup_PracticeStatePreview"},
|
[GENERAL_POPUP_TYPE.PracticeStatePreview] = {view = require("Modules/GeneralPanel/View/GeneralBigPopup_PracticeStatePreview"), panelName = "GeneralBigPopup_PracticeStatePreview"},
|
||||||
[GENERAL_POPUP_TYPE.RecrutReward] = {view = require("Modules/GeneralPanel/View/GeneralBigPopup_ExpertRewardSortPanel"), panelName = "GeneralBigPopup_ExpertRewardSortPanel"},
|
[GENERAL_POPUP_TYPE.RecrutReward] = {view = require("Modules/GeneralPanel/View/GeneralBigPopup_ExpertRewardSortPanel"), panelName = "GeneralBigPopup_ExpertRewardSortPanel"},
|
||||||
[GENERAL_POPUP_TYPE.RecrutDetail] = {view = require("Modules/GeneralPanel/View/GeneralBigPopup_RecrutDetail"), panelName = "GeneralBigPopup_RecrutDetail"},
|
[GENERAL_POPUP_TYPE.RecrutDetail] = {view = require("Modules/GeneralPanel/View/GeneralBigPopup_RecrutDetail"), panelName = "GeneralBigPopup_RecrutDetail"},
|
||||||
|
--修行选择附身英雄
|
||||||
|
[GENERAL_POPUP_TYPE.XiuXingSelectHero] = {view = require("Modules/GeneralPanel/View/GeneralBigPopup_XiuXingSelectHero"), panelName = "GeneralBigPopup_XiuXingSelectHero"},
|
||||||
}
|
}
|
||||||
--子模块预设
|
--子模块预设
|
||||||
local contentPrefabs={}
|
local contentPrefabs={}
|
||||||
|
|
|
@ -86,7 +86,7 @@ function this:Refresh(isTop,isAni)
|
||||||
|
|
||||||
if #self.heroList ~= 0 then
|
if #self.heroList ~= 0 then
|
||||||
this.tip.text = "请选择您要附身的神将"
|
this.tip.text = "请选择您要附身的神将"
|
||||||
self.tip.gameObject:GetComponent("RectTransform").localPosition = Vector3.New(0,232,0)
|
self.tip.gameObject:GetComponent("RectTransform").localPosition = Vector3.New(0,500,0)
|
||||||
else
|
else
|
||||||
self.tip.text = "暂无可附身的神将"
|
self.tip.text = "暂无可附身的神将"
|
||||||
self.tip.gameObject:GetComponent("RectTransform").localPosition = Vector3.zero
|
self.tip.gameObject:GetComponent("RectTransform").localPosition = Vector3.zero
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 1b3251df7138e924e916826fffb7feae
|
guid: ad83c4a0484dc5548929530598272ad3
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
|
@ -65,10 +65,8 @@ local contentScripts = {
|
||||||
[31] = {view = require("Modules/Popup/View/GeneralPopup_LingShouBaoGe"), panelName = "GeneralPopup_LingShouBaoGe",type=GENERAL_POPUP_TYPE.LingShouBaoGe},
|
[31] = {view = require("Modules/Popup/View/GeneralPopup_LingShouBaoGe"), panelName = "GeneralPopup_LingShouBaoGe",type=GENERAL_POPUP_TYPE.LingShouBaoGe},
|
||||||
--云游商人选择装备
|
--云游商人选择装备
|
||||||
[32] = {view = require("Modules/Popup/View/GeneralPopup_YunYouMan"), panelName = "GeneralPopup_YunYouMan",type=GENERAL_POPUP_TYPE.YunYouMan},
|
[32] = {view = require("Modules/Popup/View/GeneralPopup_YunYouMan"), panelName = "GeneralPopup_YunYouMan",type=GENERAL_POPUP_TYPE.YunYouMan},
|
||||||
--修行选择附身英雄
|
|
||||||
[33] = {view = require("Modules/Popup/View/GeneralPopup_XiuXingSelectHero"), panelName = "GeneralPopup_XiuXingSelectHero",type=GENERAL_POPUP_TYPE.XiuXingSelectHero},
|
|
||||||
--招募奖励详情
|
--招募奖励详情
|
||||||
[34] = {view = require("Modules/Popup/View/GeneralPopup_RecruitReward"), panelName = "GeneralPopup_RecruitReward",type=GENERAL_POPUP_TYPE.RecrutReward},
|
[33] = {view = require("Modules/Popup/View/GeneralPopup_RecruitReward"), panelName = "GeneralPopup_RecruitReward",type=GENERAL_POPUP_TYPE.RecrutReward},
|
||||||
}
|
}
|
||||||
--子模块预设
|
--子模块预设
|
||||||
local contentPrefabs={}
|
local contentPrefabs={}
|
||||||
|
|
|
@ -217,7 +217,7 @@ function PracticeImprint:ShowSingleImprintInfoLayout(_serverData,_configData)
|
||||||
SetHeroStars(starGrid, heroData.star)
|
SetHeroStars(starGrid, heroData.star)
|
||||||
end
|
end
|
||||||
Util.AddOnceClick(self.MaskBtn,function()
|
Util.AddOnceClick(self.MaskBtn,function()
|
||||||
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.XiuXingSelectHero,_configData,function (_heroData)
|
UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.XiuXingSelectHero,_configData,function (_heroData)
|
||||||
--发送请求
|
--发送请求
|
||||||
NetManager.PracticeImprintRequest(_configData.Id,_configData.Id,tostring(_heroData.dynamicId),function ()
|
NetManager.PracticeImprintRequest(_configData.Id,_configData.Id,tostring(_heroData.dynamicId),function ()
|
||||||
frame.sprite = self.spLoader:LoadSprite(GetHeroQuantityImageByquality(_heroData.heroConfig.Quality,_heroData.star))
|
frame.sprite = self.spLoader:LoadSprite(GetHeroQuantityImageByquality(_heroData.heroConfig.Quality,_heroData.star))
|
||||||
|
|
Loading…
Reference in New Issue