【神将合成】化虚坛和选择祭品界面添加长按头像功能 2
parent
3f903cf911
commit
bee0fa412e
|
|
@ -165,6 +165,9 @@ function this.OnShowSingleCardData(go,heroData)--isSelect 1选择 2 没选择
|
||||||
oldSelectGo = choosed
|
oldSelectGo = choosed
|
||||||
this.numText.text=string.format("%s/%s",LengthOfTable(curSelectHeroList),curNeedRoleNum)
|
this.numText.text=string.format("%s/%s",LengthOfTable(curSelectHeroList),curNeedRoleNum)
|
||||||
end)
|
end)
|
||||||
|
Util.AddLongPressClick(cardBtn, function()
|
||||||
|
UIManager.OpenPanel(UIName.RoleInfoPopup,heroData)
|
||||||
|
end, 0.5)
|
||||||
-- Util.AddOnceClick(formationMask, function()
|
-- Util.AddOnceClick(formationMask, function()
|
||||||
-- if #heroData.formationList ~= 0 then
|
-- if #heroData.formationList ~= 0 then
|
||||||
-- local text = ""
|
-- local text = ""
|
||||||
|
|
|
||||||
|
|
@ -224,6 +224,9 @@ function this.OnShowSingleCardData(go,heroData)--isSelect 1选择 2 没选择
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
Util.AddLongPressClick(cardBtn, function()
|
||||||
|
UIManager.OpenPanel(UIName.RoleInfoPopup,heroData)
|
||||||
|
end, 0.5)
|
||||||
end
|
end
|
||||||
function this.HeroSortData(heroData)
|
function this.HeroSortData(heroData)
|
||||||
-- Log("#heroData "..#heroData)
|
-- Log("#heroData "..#heroData)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue