Переглянути джерело

套装图鉴展示ui优化

zhaoyang 3 роки тому
батько
коміт
3ba84df173

+ 6 - 5
FGUIProject/assets/FieldGuide/SuitShowUI.xml

@@ -7,15 +7,16 @@
     <graph id="n1_pjip" name="holder" xy="393,783" pivot="0.5,0.5" size="394,268" touchable="false">
       <relation target="" sidePair="center-center,middle-middle"/>
     </graph>
-    <image id="n11_qr4e" name="n11" src="kztethr" fileName="imagesExport/hyhy_btbt_1.png" pkg="eg2y0ldp" xy="302,70" group="n13_qr4e"/>
-    <text id="n2_pjip" name="txtTypeName" xy="275,82" size="530,62" group="n13_qr4e" fontSize="46" color="#8f6e30" align="center" autoSize="none" text="分类名称"/>
-    <group id="n13_qr4e" name="n13" xy="275,70" size="530,85" visible="false" advanced="true"/>
-    <image id="n4_pjip" name="n4" src="pjip1d" fileName="images/tujian_tzk_1.png" xy="145,1186">
+    <image id="n4_pjip" name="n4" src="pjip1d" fileName="images/tujian_tzk_1.png" xy="142,202" group="n16_a8jv">
       <relation target="n3_pjip" sidePair="center-center,middle-middle"/>
     </image>
-    <text id="n3_pjip" name="txtSuitName" xy="150,1250" size="61,293" fontSize="40" color="#8e6229" align="center" leading="0" autoSize="none" text="分类名称">
+    <text id="n3_pjip" name="txtSuitName" xy="147,266" size="61,293" group="n16_a8jv" fontSize="40" color="#8e6229" align="center" leading="0" autoSize="none" text="分类名称">
       <relation target="" sidePair="center-center,middle-middle"/>
     </text>
+    <group id="n16_a8jv" name="n16" xy="142,202" size="71,412"/>
+    <image id="n11_qr4e" name="n11" src="kztethr" fileName="imagesExport/hyhy_btbt_1.png" pkg="eg2y0ldp" xy="302,70" group="n13_qr4e"/>
+    <text id="n2_pjip" name="txtTypeName" xy="275,82" size="530,62" group="n13_qr4e" fontSize="46" color="#8f6e30" align="center" autoSize="none" text="分类名称"/>
+    <group id="n13_qr4e" name="n13" xy="275,70" size="530,85" visible="false" advanced="true"/>
     <component id="n7_pjip" name="btnRight" src="ly9g1e" fileName="components/Button13.xml" pkg="eg2y0ldp" xy="969,912" size="72,95">
       <relation target="" sidePair="center-center,middle-middle"/>
     </component>

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/FieldGuide/UI_SuitShowUI.cs

@@ -9,8 +9,8 @@ namespace UI.FieldGuide
         public GComponent target;
         public GLoader m_loaBg;
         public GGraph m_holder;
-        public GTextField m_txtTypeName;
         public GTextField m_txtSuitName;
+        public GTextField m_txtTypeName;
         public GButton m_btnRight;
         public GButton m_btnLeft;
         public GButton m_btnBack;
@@ -65,8 +65,8 @@ namespace UI.FieldGuide
         {
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_holder = (GGraph)comp.GetChild("holder");
-            m_txtTypeName = (GTextField)comp.GetChild("txtTypeName");
             m_txtSuitName = (GTextField)comp.GetChild("txtSuitName");
+            m_txtTypeName = (GTextField)comp.GetChild("txtTypeName");
             m_btnRight = (GButton)comp.GetChild("btnRight");
             m_btnLeft = (GButton)comp.GetChild("btnLeft");
             m_btnBack = (GButton)comp.GetChild("btnBack");
@@ -77,8 +77,8 @@ namespace UI.FieldGuide
         {
             m_loaBg = null;
             m_holder = null;
-            m_txtTypeName = null;
             m_txtSuitName = null;
+            m_txtTypeName = null;
             m_btnRight = null;
             m_btnLeft = null;
             m_btnBack = null;

BIN
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_fui.bytes