【修行】选择神将从generalpopup到bigpopup

dev_chengFeng
ZhangBiao 2021-05-20 20:23:22 +08:00
parent 7f19809419
commit abcc89c68f
8 changed files with 1521 additions and 1521 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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,--修行选择英雄弹窗
} }
--通用信息弹窗类型 --通用信息弹窗类型

View File

@ -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={}

View File

@ -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

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 1b3251df7138e924e916826fffb7feae guid: ad83c4a0484dc5548929530598272ad3
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -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={}

View File

@ -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))