【固定活动】提交
parent
7f525511c8
commit
f83bffaf75
|
@ -260,7 +260,7 @@ function LingShouBaoGe:Recruit(id,RecruitMaxtimesId,itemId,itemNum,state,freeTim
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if itemId == 16 and state == 0 then
|
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()
|
function()
|
||||||
RecruitManager.RecruitRequest(id,function(msg)
|
RecruitManager.RecruitRequest(id,function(msg)
|
||||||
PrivilegeManager.RefreshPrivilegeUsedTimes(RecruitMaxtimesId,num)
|
PrivilegeManager.RefreshPrivilegeUsedTimes(RecruitMaxtimesId,num)
|
||||||
|
|
|
@ -75,13 +75,14 @@ function TimeLimitUpHero:InitComponent()
|
||||||
|
|
||||||
self.xianshishangshiBtn = Util.GetGameObject(self.gameObject,"btngroup/xianshishangshiBtn")
|
self.xianshishangshiBtn = Util.GetGameObject(self.gameObject,"btngroup/xianshishangshiBtn")
|
||||||
self.xxssEffect = Util.GetGameObject(self.xianshishangshiBtn,"Fx_Circle 1")
|
self.xxssEffect = Util.GetGameObject(self.xianshishangshiBtn,"Fx_Circle 1")
|
||||||
|
self.xianshishangshiBtn:SetActive(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
--绑定事件(用于子类重写)
|
--绑定事件(用于子类重写)
|
||||||
function TimeLimitUpHero:BindEvent()
|
function TimeLimitUpHero:BindEvent()
|
||||||
Util.AddOnceClick(self.xianshishangshiBtn, function()
|
-- Util.AddOnceClick(self.xianshishangshiBtn, function()
|
||||||
JumpManager.GoJump(40014)
|
-- JumpManager.GoJump(40014)
|
||||||
end)
|
-- end)
|
||||||
Util.AddClick(self.btn_hero.gameObject, function()
|
Util.AddClick(self.btn_hero.gameObject, function()
|
||||||
UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.ChooseUpHero,self.actId,curHeroId)
|
UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.ChooseUpHero,self.actId,curHeroId)
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -72,7 +72,7 @@ function this:OnShow(_parent,_args)
|
||||||
args = _args
|
args = _args
|
||||||
parent=_parent
|
parent=_parent
|
||||||
sortingOrder =_parent.sortingOrder
|
sortingOrder =_parent.sortingOrder
|
||||||
this:Refresh(1)
|
this:Refresh(heroConfig[args[2]].PropertyName)
|
||||||
end
|
end
|
||||||
function this:Refresh(_page)
|
function this:Refresh(_page)
|
||||||
curPage = _page
|
curPage = _page
|
||||||
|
|
|
@ -130,6 +130,7 @@ function this:OnDestroy()
|
||||||
itemsGrid = {}--item重复利用
|
itemsGrid = {}--item重复利用
|
||||||
itemViewGrid = {}
|
itemViewGrid = {}
|
||||||
itemGoGrid = {}
|
itemGoGrid = {}
|
||||||
|
sortingOrder=0
|
||||||
end
|
end
|
||||||
|
|
||||||
return this
|
return this
|
Loading…
Reference in New Issue