فهرست منبع

好友排行第一名无法查看信息

zhaoyang 2 سال پیش
والد
کامیت
3b0c73a2b1

+ 5 - 5
FGUIProject/assets/Arena/components/BtnLook.xml

@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="58,59" extention="Button">
-  <Button/>
-  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver"/>
+<component size="100,100" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
   <displayList>
-    <image id="n0_jcej" src="jcej1y" name="n0" xy="0,0">
-      <relation target="" sidePair="width,height"/>
+    <image id="n0_jcej" name="n0" src="jcej1y" fileName="images/bpjly_fdfd.png" xy="21,20">
+      <relation target="" sidePair="width-width,height-height"/>
     </image>
   </displayList>
+  <Button/>
 </component>

+ 4 - 2
FGUIProject/assets/Arena/components/ListPartsItem.xml

@@ -7,9 +7,11 @@
     </loader>
     <loader id="n7_d4iw" name="rarity" xy="173,10" size="44,94" url="ui://eg2y0ldpd4iw52" autoSize="true"/>
     <loader id="n5_8xpg" name="ScoreType" xy="24,142" size="50,50" touchable="false" url="ui://eg2y0ldp842s6h" fill="scale"/>
-    <text id="n6_8xpg" name="txtScore" xy="147,160" pivot="0.5,0" size="61,36" fontSize="26" color="#a07b41" align="center" autoClearText="true" text="3500"/>
     <image id="n2_k6he" name="n2" src="v4614u" fileName="components/hz_minzikuang.png" xy="13,198" size="208,42" group="n11_wono"/>
-    <text id="n3_k6he" name="txtTitle" xy="42,199" pivot="0.5,0" size="152,42" group="n11_wono" fontSize="30" color="#b58f54" align="center" leading="0" text="繁星点点啊"/>
+    <text id="n3_k6he" name="txtTitle" xy="42,199" pivot="0.5,0" size="152,41" group="n11_wono" fontSize="30" color="#b58f54" align="center" leading="0" text="繁星点点啊"/>
     <group id="n11_wono" name="n11" xy="13,198" size="208,43"/>
+    <image id="n12_ozul" name="n12" src="ozul5t" fileName="images/huanzhuang_sz_db.png" xy="136,160" group="n14_ozul"/>
+    <text id="n13_ozul" name="txtScore" xy="144,152" pivot="0.5,0" size="66,44" group="n14_ozul" font="ui://eg2y0ldpa0cftks" fontSize="32" color="#e9e2d1" align="center" autoClearText="true" text="3500"/>
+    <group id="n14_ozul" name="grpScore" xy="136,152" size="80,44" advanced="true"/>
   </displayList>
 </component>

+ 2 - 2
FGUIProject/assets/Arena/components/ListRankItem.xml

@@ -6,10 +6,10 @@
     <image id="n16_jcej" name="n16" src="jcej46" fileName="images/phbphb_xxt.png" xy="9,283"/>
     <component id="n5_psph" name="comHead" src="r9ri1h" fileName="components/ComHead.xml" pkg="eg2y0ldp" xy="3,17" scale="1.117,1.117" controller="c2,4"/>
     <component id="n9_jcej" name="comLv" src="psphq" fileName="components/ComHeadLv.xml" pkg="eg2y0ldp" xy="185,207"/>
-    <loader id="n7_jcej" name="loaRank" xy="85,21" size="88,87" url="ui://4lc5fhlbjcej3m" autoSize="true">
+    <loader id="n7_jcej" name="loaRank" xy="85,21" size="88,87" touchable="false" url="ui://4lc5fhlbjcej3m" autoSize="true">
       <gearIcon controller="c1" pages="2,3" values="ui://4lc5fhlbjcej3l|ui://4lc5fhlbjcej3k" default="ui://4lc5fhlbjcej3m"/>
     </loader>
-    <component id="n10_jcej" name="btnLook" src="jcej2w" fileName="components/BtnLook.xml" xy="173,64" scale="0.9,0.9"/>
+    <component id="n10_jcej" name="btnLook" src="jcej2w" fileName="components/BtnLook.xml" xy="140,58" scale="0.9,0.9" touchable="false"/>
     <loader id="n12_jcej" name="loaDanIcon" xy="92,354" pivot="0.5,0.5" size="73,73" aspect="true" url="ui://4lc5fhlbe0505n" fill="scale"/>
     <text id="n15_jcej" name="txtName" xy="68,242" pivot="0.5,0" size="122,41" fontSize="30" color="#927550" align="center" autoClearText="true" text="玩家名称"/>
     <text id="n13_jcej" name="txtDanRank" xy="30,323" size="136,34" fontSize="24" color="#927550" align="center" autoClearText="true" text="段位排名:1"/>

BIN
FGUIProject/assets/Arena/images/huanzhuang_sz_db.png


+ 1 - 0
FGUIProject/assets/Arena/package.xml

@@ -187,6 +187,7 @@
     <component id="ofwu5q" name="ComDanIcon.xml" path="/components/"/>
     <image id="ofwu5r" name="dwjs_yz_db.png" path="/images/"/>
     <image id="ofwu5s" name="dwjs_jiantou.png" path="/images/"/>
+    <image id="ozul5t" name="huanzhuang_sz_db.png" path="/images/"/>
   </resources>
   <publish name="" path="../GameClient/Assets/ResIn/UI/Arena" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 6 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Arena/UI_ListPartsItem.cs

@@ -11,8 +11,9 @@ namespace UI.Arena
         public GLoader m_icon;
         public GLoader m_rarity;
         public GLoader m_ScoreType;
-        public GTextField m_txtScore;
         public GTextField m_txtTitle;
+        public GTextField m_txtScore;
+        public GGroup m_grpScore;
         public const string URL = "ui://4lc5fhlbv4614r";
         public const string PACKAGE_NAME = "Arena";
         public const string RES_NAME = "ListPartsItem";
@@ -64,8 +65,9 @@ namespace UI.Arena
             m_icon = (GLoader)comp.GetChild("icon");
             m_rarity = (GLoader)comp.GetChild("rarity");
             m_ScoreType = (GLoader)comp.GetChild("ScoreType");
-            m_txtScore = (GTextField)comp.GetChild("txtScore");
             m_txtTitle = (GTextField)comp.GetChild("txtTitle");
+            m_txtScore = (GTextField)comp.GetChild("txtScore");
+            m_grpScore = (GGroup)comp.GetChild("grpScore");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -73,8 +75,9 @@ namespace UI.Arena
             m_icon = null;
             m_rarity = null;
             m_ScoreType = null;
-            m_txtScore = null;
             m_txtTitle = null;
+            m_txtScore = null;
+            m_grpScore = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaRankView.cs

@@ -265,12 +265,12 @@ namespace GFGGame
                 }
             }
             item.m_btnLook.visible = _rankType != ArenaRankType.LAST_SEASON;
-            if (item.m_btnLook.data == null)
+            if (item.m_comHead.data == null)
             {
-                item.m_btnLook.onClick.Add(OnBtnLookClick);
+                // item.m_btnLook.onClick.Add(OnBtnLookClick);
                 item.m_comHead.onClick.Add(OnBtnLookClick);
             }
-            item.m_btnLook.data = arenaData;
+            // item.m_btnLook.data = arenaData;
             item.m_comHead.data = arenaData;
             UI_ListRankItem.ProxyEnd();
         }

BIN
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_1!a.png


BIN
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/Arena/Arena_fui.bytes