diff --git a/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroFirstUpStarListPanel.lua b/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroFirstUpStarListPanel.lua index de6c457cc9..8efb6c700d 100644 --- a/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroFirstUpStarListPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroFirstUpStarListPanel.lua @@ -165,6 +165,9 @@ function this.OnShowSingleCardData(go,heroData)--isSelect 1选择 2 没选择 oldSelectGo = choosed this.numText.text=string.format("%s/%s",LengthOfTable(curSelectHeroList),curNeedRoleNum) end) + Util.AddLongPressClick(cardBtn, function() + UIManager.OpenPanel(UIName.RoleInfoPopup,heroData) + end, 0.5) -- Util.AddOnceClick(formationMask, function() -- if #heroData.formationList ~= 0 then -- local text = "" diff --git a/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroUpStarListPanel.lua b/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroUpStarListPanel.lua index 6c1f3600aa..4979dd8702 100644 --- a/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroUpStarListPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/CompoundHero/CompoundHeroUpStarListPanel.lua @@ -224,6 +224,9 @@ function this.OnShowSingleCardData(go,heroData)--isSelect 1选择 2 没选择 return end end) + Util.AddLongPressClick(cardBtn, function() + UIManager.OpenPanel(UIName.RoleInfoPopup,heroData) + end, 0.5) end function this.HeroSortData(heroData) -- Log("#heroData "..#heroData)