【固定活动】提交

dev_chengFeng
ZhangBiao 2021-11-26 10:16:46 +08:00
parent 7f525511c8
commit f83bffaf75
4 changed files with 7 additions and 5 deletions

View File

@ -260,7 +260,7 @@ function LingShouBaoGe:Recruit(id,RecruitMaxtimesId,itemId,itemNum,state,freeTim
end
end
if itemId == 16 and state == 0 then
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.RecruitConfirm,generalType,
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.RecruitConfirm,self.tenRecruit.Id,
function()
RecruitManager.RecruitRequest(id,function(msg)
PrivilegeManager.RefreshPrivilegeUsedTimes(RecruitMaxtimesId,num)

View File

@ -75,13 +75,14 @@ function TimeLimitUpHero:InitComponent()
self.xianshishangshiBtn = Util.GetGameObject(self.gameObject,"btngroup/xianshishangshiBtn")
self.xxssEffect = Util.GetGameObject(self.xianshishangshiBtn,"Fx_Circle 1")
self.xianshishangshiBtn:SetActive(false)
end
--绑定事件(用于子类重写)
function TimeLimitUpHero:BindEvent()
Util.AddOnceClick(self.xianshishangshiBtn, function()
JumpManager.GoJump(40014)
end)
-- Util.AddOnceClick(self.xianshishangshiBtn, function()
-- JumpManager.GoJump(40014)
-- end)
Util.AddClick(self.btn_hero.gameObject, function()
UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.ChooseUpHero,self.actId,curHeroId)
end)

View File

@ -72,7 +72,7 @@ function this:OnShow(_parent,_args)
args = _args
parent=_parent
sortingOrder =_parent.sortingOrder
this:Refresh(1)
this:Refresh(heroConfig[args[2]].PropertyName)
end
function this:Refresh(_page)
curPage = _page

View File

@ -130,6 +130,7 @@ function this:OnDestroy()
itemsGrid = {}--item重复利用
itemViewGrid = {}
itemGoGrid = {}
sortingOrder=0
end
return this