parent
9926717bb9
commit
30b3adbee6
|
@ -40,6 +40,7 @@ local tempPowerNum=0 --临时战力
|
|||
local panelType
|
||||
local parameter --透传参数
|
||||
local tabsImg = {"z_icon_01_zh", "r_hero_huo 1_zh", "r_hero_feng 1_zh", "r_hero_shui 1_zh", "r_hero_dadi 1_zh"}
|
||||
local isPress = false
|
||||
-- 各个类型编队系统逻辑列表
|
||||
this.PanelOptionView = {
|
||||
[FORMATION_TYPE.CARBON] = "Modules/Formation/View/CarbonFormation",
|
||||
|
@ -199,8 +200,13 @@ function this:BindEvent()
|
|||
end
|
||||
end)
|
||||
Util.AddOnceClick(this.btn_2, function()
|
||||
if isPress then
|
||||
return
|
||||
end
|
||||
isPress = true
|
||||
if this.opView and this.opView.On_Btn2_Click then
|
||||
this.opView.On_Btn2_Click(this.curFormationIndex)
|
||||
isPress = false
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
@ -262,12 +268,14 @@ function this:OnOpen(_panelType,...)
|
|||
end
|
||||
|
||||
function this:OnShow()
|
||||
isPress = false
|
||||
this.ElementalResonanceView:OnOpen({sortOrder=self.sortingOrder})
|
||||
this.SetDrawLevel()
|
||||
this.CheckQiJieCondition()
|
||||
end
|
||||
|
||||
function this:OnClose()
|
||||
isPress = false
|
||||
tempPowerNum = 0
|
||||
this.formationPower = 0
|
||||
oldPowerNum = 0
|
||||
|
|
Loading…
Reference in New Issue