From bee0fa412e0931d2097406d3efc39a473009fa65 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 20 Apr 2021 10:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A5=9E=E5=B0=86=E5=90=88=E6=88=90?= =?UTF-8?q?=E3=80=91=E5=8C=96=E8=99=9A=E5=9D=9B=E5=92=8C=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=A5=AD=E5=93=81=E7=95=8C=E9=9D=A2=E6=B7=BB=E5=8A=A0=E9=95=BF?= =?UTF-8?q?=E6=8C=89=E5=A4=B4=E5=83=8F=E5=8A=9F=E8=83=BD=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/CompoundHero/CompoundHeroFirstUpStarListPanel.lua | 3 +++ .../~Lua/Modules/CompoundHero/CompoundHeroUpStarListPanel.lua | 3 +++ 2 files changed, 6 insertions(+) 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)