Bläddra i källkod

商店ui优化

zhaoyang 3 år sedan
förälder
incheckning
01ee6408bf

+ 7 - 7
FGUIProject/assets/ClothingShop/ClothingShopUI.xml

@@ -89,13 +89,13 @@
     </group>
     <image id="n52_iakb" name="n52" src="iakb5z" fileName="images/fzd_lxsdt.png" xy="431,1140" group="n53_iakb"/>
     <text id="n54_iakb" name="txtTips" xy="476,1162" size="308,39" group="n59_iakb" fontSize="28" color="#fffbf0" text="50星屑自动合成1落星石"/>
-    <loader id="n55_iakb" name="loaIcon0" xy="821,1162" size="42,42" group="n60_iakb" url="ui://eg2y0ldply9g8m" autoSize="true"/>
-    <text id="n56_iakb" name="txtCount0" xy="865,1162" size="56,39" group="n60_iakb" fontSize="28" color="#fffbf0" text="100"/>
-    <group id="n60_iakb" name="n60" xy="821,1162" size="100,42" group="n59_iakb"/>
-    <loader id="n57_iakb" name="loaIcon1" xy="944,1161" size="42,42" group="n61_iakb" url="ui://eg2y0ldply9g8n" autoSize="true"/>
-    <text id="n58_iakb" name="txtCount1" xy="989,1162" size="91,39" group="n61_iakb" fontSize="28" color="#fffbf0" text="10000"/>
-    <group id="n61_iakb" name="n61" xy="944,1161" size="136,42" group="n59_iakb"/>
-    <group id="n59_iakb" name="n59" xy="476,1161" size="604,43" group="n53_iakb" advanced="true"/>
+    <loader id="n57_iakb" name="loaIcon1" xy="814,1161" size="42,42" group="n61_iakb" url="ui://eg2y0ldply9g8n" autoSize="true"/>
+    <text id="n58_iakb" name="txtCount1" xy="859,1162" size="91,39" group="n61_iakb" fontSize="28" color="#fffbf0" text="10000"/>
+    <group id="n61_iakb" name="n61" xy="814,1161" size="136,42" group="n59_iakb"/>
+    <loader id="n55_iakb" name="loaIcon0" xy="980,1162" size="42,42" group="n60_iakb" url="ui://eg2y0ldply9g8m" autoSize="true"/>
+    <text id="n56_iakb" name="txtCount0" xy="1024,1162" size="39,39" group="n60_iakb" fontSize="28" color="#fffbf0" autoClearText="true" text="10"/>
+    <group id="n60_iakb" name="n60" xy="980,1162" size="83,42" group="n59_iakb"/>
+    <group id="n59_iakb" name="n59" xy="476,1161" size="587,43" group="n53_iakb" advanced="true"/>
     <group id="n53_iakb" name="n53" xy="431,1140" size="649,67" advanced="true">
       <gearDisplay controller="c1" pages="4"/>
       <relation target="" sidePair="right-right"/>

+ 6 - 6
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingShop/UI_ClothingShopUI.cs

@@ -19,10 +19,10 @@ namespace UI.ClothingShop
         public GTextField m_txtTitle;
         public GGroup m_grpTop;
         public GTextField m_txtTips;
-        public GLoader m_loaIcon0;
-        public GTextField m_txtCount0;
         public GLoader m_loaIcon1;
         public GTextField m_txtCount1;
+        public GLoader m_loaIcon0;
+        public GTextField m_txtCount0;
         public const string URL = "ui://e5hnfx8ahinb0";
         public const string PACKAGE_NAME = "ClothingShop";
         public const string RES_NAME = "ClothingShopUI";
@@ -82,10 +82,10 @@ namespace UI.ClothingShop
             m_txtTitle = (GTextField)comp.GetChild("txtTitle");
             m_grpTop = (GGroup)comp.GetChild("grpTop");
             m_txtTips = (GTextField)comp.GetChild("txtTips");
-            m_loaIcon0 = (GLoader)comp.GetChild("loaIcon0");
-            m_txtCount0 = (GTextField)comp.GetChild("txtCount0");
             m_loaIcon1 = (GLoader)comp.GetChild("loaIcon1");
             m_txtCount1 = (GTextField)comp.GetChild("txtCount1");
+            m_loaIcon0 = (GLoader)comp.GetChild("loaIcon0");
+            m_txtCount0 = (GTextField)comp.GetChild("txtCount0");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -103,10 +103,10 @@ namespace UI.ClothingShop
             m_txtTitle = null;
             m_grpTop = null;
             m_txtTips = null;
-            m_loaIcon0 = null;
-            m_txtCount0 = null;
             m_loaIcon1 = null;
             m_txtCount1 = null;
+            m_loaIcon0 = null;
+            m_txtCount0 = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

BIN
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_fui.bytes