浏览代码

服装店

zhaoyang 2 年之前
父节点
当前提交
8eb76dab7f
共有 20 个文件被更改,包括 281 次插入82 次删除
  1. 45 41
      FGUIProject/assets/ClothingShop/ClothingShopUI.xml
  2. 10 8
      FGUIProject/assets/ClothingShop/components/CompItemInfo.xml
  3. 2 5
      FGUIProject/assets/ClothingShop/components/ShopListItemRender.xml
  4. 3 3
      FGUIProject/assets/ClothingShop/package.xml
  5. 9 9
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingShop/UI_ClothingShopUI.cs
  6. 12 12
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingShop/UI_CompItemInfo.cs
  7. 3 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingShop/UI_ShopListItemRender.cs
  8. 5 4
      GameClient/Assets/Game/HotUpdate/Views/ClothingShop/ClothingShopView.cs
  9. 二进制
      GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas0!a.png
  10. 二进制
      GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas0.png
  11. 二进制
      GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62!a.png
  12. 96 0
      GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62!a.png.meta
  13. 二进制
      GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62.png
  14. 96 0
      GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62.png.meta
  15. 二进制
      GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_fui.bytes
  16. 二进制
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0!a.png
  17. 二进制
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0.png
  18. 二进制
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1!a.png
  19. 二进制
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1.png
  20. 二进制
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes

+ 45 - 41
FGUIProject/assets/ClothingShop/ClothingShopUI.xml

@@ -16,19 +16,39 @@
     <component id="n7_hinb" name="compItemInfo" src="hinb1d" fileName="components/CompItemInfo.xml" xy="618,217">
       <relation target="" sidePair="center-center,middle-middle"/>
     </component>
-    <image id="n9_hinb" name="bgList" src="hinbx" fileName="images/fzd_diban_2.png" xy="0,1176"/>
-    <list id="n43_hinb" name="listShop" xy="30,1314" size="1032,606" layout="flow_hz" overflow="scroll" lineGap="31" colGap="10" defaultItem="ui://e5hnfx8ahinb1c" autoClearItems="true">
-      <item/>
-      <item/>
-      <item/>
-      <item/>
-      <item/>
-      <item/>
-      <item/>
-      <item/>
-    </list>
-    <list id="n44_hinb" name="listType" xy="0,1165" size="1080,116" layout="row" overflow="scroll" scroll="horizontal" scrollItemToViewOnClick="false">
-      <relation target="" sidePair="center-center,middle-middle"/>
+    <loader id="n45_ugdz" name="n45" xy="0,0" size="1080,199" url="ui://e5hnfx8augdz1i" fill="scaleFree"/>
+    <component id="n2_hinb" name="valueBar" src="v3541v" fileName="components/ComponentValueBar.xml" pkg="eg2y0ldp" xy="0,105" controller="c1,6">
+      <gearXY controller="c1" pages="2,3,4,5,6" values="0,95|0,90|0,105|0,105|0,105"/>
+    </component>
+    <component id="n47_ugdz" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,80"/>
+    <image id="n49_f5bl" name="n49" src="lwri5x" fileName="images/hc_btkuang_1.png" pkg="eg2y0ldp" xy="282,103" group="n51_f5bl"/>
+    <text id="n50_f5bl" name="txtTitle" xy="540,103" pivot="0.5,0" anchor="true" size="154,51" group="n51_f5bl" fontSize="38" color="#fdf4e3" text="落星商店">
+      <gearText controller="c1" pages="4,6" values="落星商店|画廊商店" default="活动商店"/>
+    </text>
+    <group id="n51_f5bl" name="grpTop" xy="282,103" size="516,55" visible="false" advanced="true">
+      <gearDisplay controller="c1" pages="4,5,6"/>
+    </group>
+    <image id="n52_iakb" name="n52" src="iakb5z" fileName="images/fzd_lxsdt.png" xy="308,1073" group="n53_iakb"/>
+    <text id="n54_iakb" name="txtTips" xy="436,1081" size="308,39" group="n59_iakb" fontSize="28" color="#fffbf0" text="50星屑自动合成1落星石"/>
+    <loader id="n57_iakb" name="loaIcon1" xy="774,1080" size="42,42" group="n61_iakb" url="ui://eg2y0ldply9g8n" autoSize="true"/>
+    <text id="n58_iakb" name="txtCount1" xy="819,1081" size="91,39" group="n61_iakb" fontSize="28" color="#fffbf0" text="10000"/>
+    <group id="n61_iakb" name="n61" xy="774,1080" size="136,42" group="n59_iakb"/>
+    <loader id="n55_iakb" name="loaIcon0" xy="940,1081" size="42,42" group="n60_iakb" url="ui://eg2y0ldply9g8m" autoSize="true"/>
+    <text id="n56_iakb" name="txtCount0" xy="984,1081" size="73,39" group="n60_iakb" fontSize="28" color="#fffbf0" autoClearText="true" text="1000"/>
+    <group id="n60_iakb" name="n60" xy="940,1081" size="117,42" group="n59_iakb"/>
+    <group id="n59_iakb" name="n59" xy="436,1080" size="621,43" group="n53_iakb" advanced="true">
+      <relation target="" sidePair="right-right"/>
+    </group>
+    <group id="n53_iakb" name="n53" xy="308,1073" size="772,58" advanced="true">
+      <gearDisplay controller="c1" pages="4"/>
+      <relation target="" sidePair="right-right"/>
+      <relation target="n44_hinb" sidePair="bottom-top"/>
+    </group>
+    <image id="n9_hinb" name="bgList" src="hinbx" fileName="images/fzd_diban_2.png" xy="0,1176" group="n65_v95q">
+      <relation target="" sidePair="bottom-bottom"/>
+    </image>
+    <list id="n44_hinb" name="listType" xy="0,1165" size="1080,116" group="n65_v95q" layout="row" overflow="scroll" scroll="horizontal" scrollItemToViewOnClick="false">
+      <relation target="n9_hinb" sidePair="top-top"/>
       <item url="ui://e5hnfx8arlej5y">
         <property target="icon" propertyId="1" value="ui://e5hnfx8ahinba"/>
         <property target="icon1" propertyId="1" value="ui://e5hnfx8ahinbm"/>
@@ -70,33 +90,17 @@
         <property target="icon1" propertyId="1" value="ui://e5hnfx8ahinbv"/>
       </item>
     </list>
-    <loader id="n45_ugdz" name="n45" xy="0,0" size="1080,199" url="ui://e5hnfx8augdz1i" fill="scaleFree"/>
-    <component id="n2_hinb" name="valueBar" src="v3541v" fileName="components/ComponentValueBar.xml" pkg="eg2y0ldp" xy="0,105" controller="c1,6">
-      <gearXY controller="c1" pages="2,3,4,5,6" values="0,95|0,90|0,105|0,105|0,105"/>
-    </component>
-    <component id="n47_ugdz" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,80"/>
-    <image id="n49_f5bl" name="n49" src="lwri5x" fileName="images/hc_btkuang_1.png" pkg="eg2y0ldp" xy="282,103" group="n51_f5bl"/>
-    <text id="n50_f5bl" name="txtTitle" xy="540,103" pivot="0.5,0" anchor="true" size="154,51" group="n51_f5bl" fontSize="38" color="#fdf4e3" text="落星商店">
-      <gearText controller="c1" pages="4,6" values="落星商店|画廊商店" default="活动商店"/>
-    </text>
-    <group id="n51_f5bl" name="grpTop" xy="282,103" size="516,55" advanced="true">
-      <gearDisplay controller="c1" pages="4,5,6"/>
-    </group>
-    <image id="n52_iakb" name="n52" src="iakb5z" fileName="images/fzd_lxsdt.png" xy="308,1073" group="n53_iakb"/>
-    <text id="n54_iakb" name="txtTips" xy="436,1081" size="308,39" group="n59_iakb" fontSize="28" color="#fffbf0" text="50星屑自动合成1落星石"/>
-    <loader id="n57_iakb" name="loaIcon1" xy="774,1080" size="42,42" group="n61_iakb" url="ui://eg2y0ldply9g8n" autoSize="true"/>
-    <text id="n58_iakb" name="txtCount1" xy="819,1081" size="91,39" group="n61_iakb" fontSize="28" color="#fffbf0" text="10000"/>
-    <group id="n61_iakb" name="n61" xy="774,1080" size="136,42" group="n59_iakb"/>
-    <loader id="n55_iakb" name="loaIcon0" xy="940,1081" size="42,42" group="n60_iakb" url="ui://eg2y0ldply9g8m" autoSize="true"/>
-    <text id="n56_iakb" name="txtCount0" xy="984,1081" size="73,39" group="n60_iakb" fontSize="28" color="#fffbf0" autoClearText="true" text="1000"/>
-    <group id="n60_iakb" name="n60" xy="940,1081" size="117,42" group="n59_iakb"/>
-    <group id="n59_iakb" name="n59" xy="436,1080" size="621,43" group="n53_iakb" advanced="true">
-      <relation target="" sidePair="right-right"/>
-    </group>
-    <group id="n53_iakb" name="n53" xy="308,1073" size="772,58" advanced="true">
-      <gearDisplay controller="c1" pages="4"/>
-      <relation target="" sidePair="right-right"/>
-      <relation target="n44_hinb" sidePair="bottom-top"/>
-    </group>
+    <list id="n43_hinb" name="listShop" xy="30,1314" size="1032,606" group="n65_v95q" layout="flow_hz" overflow="scroll" lineGap="31" colGap="10" defaultItem="ui://e5hnfx8ahinb1c" autoClearItems="true">
+      <relation target="n9_hinb" sidePair="top-top,bottomext-bottom"/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+    </list>
+    <group id="n65_v95q" name="n65" xy="0,1165" size="1080,755"/>
   </displayList>
 </component>

+ 10 - 8
FGUIProject/assets/ClothingShop/components/CompItemInfo.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="462,825">
-  <controller name="c1" pages="1,,2,,6,,7,,10," selected="0">
+  <controller name="c1" pages="1,,2,,6,,7,,10," selected="4">
     <remark page="1" value="服装店"/>
     <remark page="2" value="落星商店"/>
     <remark page="3" value="活动商店"/>
@@ -10,19 +10,21 @@
     <image id="n7_hinb" name="n7" src="hinb3" fileName="images/fzd_diban_1.png" xy="0,0"/>
     <text id="n8_hinb" name="txtName" xy="62,41" size="186,62" font="ui://eg2y0ldpwonotja" fontSize="46" color="#b59158" text="衣服名字"/>
     <text id="n30_hinb" name="txtDesc" xy="64,143" size="336,39" fontSize="28" color="#af9a7d" autoSize="height" autoClearText="true" text="赵钱孙李周吴郑王"/>
-    <loader id="n43_hinb" name="rarity" xy="360,23" size="44,94" url="ui://eg2y0ldpd4iw52" autoSize="true"/>
-    <text id="n32_hinb" name="txtOwned" xy="170,613" size="122,36" fontSize="26" color="#c97f7a" align="center" ubb="true" vars="true" text="[color=#B39B75]已拥有:[/color]{v1=0}"/>
-    <component id="n20_hinb" name="btnBuy" src="r9ritjq" fileName="components/Button19.xml" pkg="eg2y0ldp" xy="83,652"/>
-    <loader id="n47_ugdz" name="iconPrice" xy="103,674" size="34,34" group="n46_hinb" touchable="false" url="ui://eg2y0ldpq08x3" fill="scale">
+    <loader id="n43_hinb" name="rarity" xy="360,23" size="44,94" visible="false" url="ui://eg2y0ldpd4iw52" autoSize="true"/>
+    <text id="n32_hinb" name="txtOwned" xy="170,610" size="122,36" fontSize="26" color="#c97f7a" align="center" ubb="true" vars="true" text="[color=#B39B75]已拥有:[/color]{v1=0}"/>
+    <component id="n20_hinb" name="btnBuy" src="r9ritjq" fileName="components/Button19.xml" pkg="eg2y0ldp" xy="83,652">
+      <Button title=" "/>
+    </component>
+    <loader id="n47_ugdz" name="iconPrice" xy="182,674" size="34,34" group="n46_hinb" touchable="false" url="ui://eg2y0ldpq08x3" fill="scale">
       <gearDisplay controller="c1" pages="0,1,2"/>
     </loader>
-    <text id="n48_ugdz" name="txtPrice" xy="147,667" size="103,44" group="n46_hinb" fontSize="32" color="#fcf2f2" strokeColor="#d89291" strokeSize="2" autoClearText="true" text="99999">
+    <text id="n48_ugdz" name="txtPrice" xy="226,667" size="103,44" group="n46_hinb" fontSize="32" color="#fcf2f2" strokeColor="#d89291" strokeSize="2" autoClearText="true" text="99999">
       <gearDisplay controller="c1" pages="0,1,2"/>
     </text>
-    <text id="n45_hinb" name="txtBtnBuy" xy="260,662" size="76,49" group="n46_hinb" fontSize="36" color="#fcf2f2" strokeColor="#d89291" strokeSize="2" text="购买">
+    <text id="n45_hinb" name="txtBtnBuy" xy="182,662" size="76,49" group="n46_hinb" fontSize="36" color="#fcf2f2" strokeColor="#d89291" strokeSize="2" text="兑换">
       <gearText controller="c1" pages="6,7,10" values="兑换|兑换|兑换" default="购买"/>
     </text>
-    <group id="n46_hinb" name="n46" xy="103,662" size="233,49" visible="false" advanced="true" layout="hz" colGap="10" excludeInvisibles="true">
+    <group id="n46_hinb" name="n46" xy="182,662" size="76,49" advanced="true" layout="hz" colGap="10" excludeInvisibles="true">
       <relation target="" sidePair="center-center,middle-middle"/>
     </group>
     <list id="n53_ih75" name="listTag" xy="52,498" size="333,102" layout="flow_hz" lineGap="12" colGap="22" defaultItem="ui://eg2y0ldpih7566" autoClearItems="true">

+ 2 - 5
FGUIProject/assets/ClothingShop/components/ShopListItemRender.xml

@@ -1,13 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="250,321">
-  <controller name="c1" pages="0,,1," selected="0"/>
+  <controller name="c1" pages="0,,1," selected="1"/>
   <displayList>
     <image id="n22_hinb" name="n22" src="hinb19" fileName="images/fzd_diban_4.png" xy="9,16"/>
-    <image id="n34_v95q" name="n34" src="f5bl5x" fileName="images/fzd_fzxzhong.png" xy="-5,0">
-      <gearDisplay controller="c1" pages="1"/>
-    </image>
     <loader id="n24_hinb" name="rarity" xy="198,16" size="44,94" url="ui://eg2y0ldpd4iw52" autoSize="true"/>
-    <text id="n26_hinb" name="txtName" xy="25,214" size="200,49" font="ui://eg2y0ldpk1kha2" fontSize="36" color="#a88553" align="center" autoSize="none" text="名字">
+    <text id="n26_hinb" name="txtName" xy="25,214" size="200,49" font="ui://eg2y0ldpk1kha2" fontSize="36" color="#da8082" align="center" autoSize="none" text="名字">
       <gearColor controller="c1" pages="0" values="#a88553,#000000" default="#da8082,#000000"/>
     </text>
     <loader id="n27_hinb" name="icon" xy="45,41" size="160,160" aspect="true" url="ui://e5hnfx8ahinb1a" fill="scale"/>

+ 3 - 3
FGUIProject/assets/ClothingShop/package.xml

@@ -27,7 +27,7 @@
     <image id="hinbu" name="fzd_xztb_9.png" path="/images/"/>
     <image id="hinbv" name="fzd_xztb_10.png" path="/images/"/>
     <image id="hinbw" name="fzd_zxanniu.png" path="/images/"/>
-    <image id="hinbx" name="fzd_diban_2.png" path="/images/" scale="9grid" scale9grid="18,44,36,17"/>
+    <image id="hinbx" name="fzd_diban_2.png" path="/images/" scale="9grid" scale9grid="18,215,999,379"/>
     <image id="hinb19" name="fzd_diban_4.png" path="/images/"/>
     <image id="hinb1b" name="fzd_yyy.png" path="/images/"/>
     <component id="hinb1c" name="ShopListItemRender.xml" path="/components/"/>
@@ -36,11 +36,11 @@
     <component id="ugdz1g" name="Component1.xml" path="/components/"/>
     <component id="ugdz1h" name="Component2.xml" path="/components/"/>
     <image id="ugdz1i" name="fzd_diban_6.png" path="/images/"/>
-    <image id="f5bl5x" name="fzd_fzxzhong.png" path="/images/"/>
+    <image id="f5bl5x" name="fzd_fzxzhong.png" path="/images/" exported="true"/>
     <component id="rlej5y" name="ButtonModle.xml" path="/components/"/>
     <image id="iakb5z" name="fzd_lxsdt.png" path="/images/"/>
     <image id="9cth60" name="fzd_xiant_1.png" path="/images/"/>
-    <movieclip id="lj7e62" name="MovieClip2.jta" path="/effect/"/>
+    <movieclip id="lj7e62" name="MovieClip2.jta" path="/effect/" atlas="alone_npot"/>
     <image id="lj7e63" name="hd.png" path="/images/"/>
     <component id="jpnf64" name="ComSelect.xml" path="/components/" exported="true"/>
     <component id="r9riee" name="GalleryShopUI.xml" path="/" exported="true"/>

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

@@ -11,9 +11,6 @@ namespace UI.ClothingShop
         public GLoader m_loaBg;
         public UI_Component1 m_compHolder;
         public UI_CompItemInfo m_compItemInfo;
-        public GImage m_bgList;
-        public GList m_listShop;
-        public GList m_listType;
         public GComponent m_valueBar;
         public GButton m_btnBack;
         public GTextField m_txtTitle;
@@ -23,6 +20,9 @@ namespace UI.ClothingShop
         public GTextField m_txtCount1;
         public GLoader m_loaIcon0;
         public GTextField m_txtCount0;
+        public GImage m_bgList;
+        public GList m_listType;
+        public GList m_listShop;
         public const string URL = "ui://e5hnfx8ahinb0";
         public const string PACKAGE_NAME = "ClothingShop";
         public const string RES_NAME = "ClothingShopUI";
@@ -74,9 +74,6 @@ namespace UI.ClothingShop
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_compHolder = (UI_Component1)UI_Component1.Create(comp.GetChild("compHolder"));
             m_compItemInfo = (UI_CompItemInfo)UI_CompItemInfo.Create(comp.GetChild("compItemInfo"));
-            m_bgList = (GImage)comp.GetChild("bgList");
-            m_listShop = (GList)comp.GetChild("listShop");
-            m_listType = (GList)comp.GetChild("listType");
             m_valueBar = (GComponent)comp.GetChild("valueBar");
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_txtTitle = (GTextField)comp.GetChild("txtTitle");
@@ -86,6 +83,9 @@ namespace UI.ClothingShop
             m_txtCount1 = (GTextField)comp.GetChild("txtCount1");
             m_loaIcon0 = (GLoader)comp.GetChild("loaIcon0");
             m_txtCount0 = (GTextField)comp.GetChild("txtCount0");
+            m_bgList = (GImage)comp.GetChild("bgList");
+            m_listType = (GList)comp.GetChild("listType");
+            m_listShop = (GList)comp.GetChild("listShop");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -95,9 +95,6 @@ namespace UI.ClothingShop
             m_compHolder = null;
             m_compItemInfo.Dispose();
             m_compItemInfo = null;
-            m_bgList = null;
-            m_listShop = null;
-            m_listType = null;
             m_valueBar = null;
             m_btnBack = null;
             m_txtTitle = null;
@@ -107,6 +104,9 @@ namespace UI.ClothingShop
             m_txtCount1 = null;
             m_loaIcon0 = null;
             m_txtCount0 = null;
+            m_bgList = null;
+            m_listType = null;
+            m_listShop = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 12 - 12
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingShop/UI_CompItemInfo.cs

@@ -11,16 +11,16 @@ namespace UI.ClothingShop
         public GTextField m_txtName;
         public GTextField m_txtDesc;
         public GLoader m_rarity;
-        public GTextField m_txtGong;
-        public GTextField m_txtZhi;
-        public GTextField m_txtShang;
-        public GTextField m_txtJue;
         public GTextField m_txtOwned;
         public GButton m_btnBuy;
         public GLoader m_iconPrice;
         public GTextField m_txtPrice;
         public GTextField m_txtBtnBuy;
         public GList m_listTag;
+        public GTextField m_txtGong;
+        public GTextField m_txtShang;
+        public GTextField m_txtJue;
+        public GTextField m_txtZhi;
         public const string URL = "ui://e5hnfx8ahinb1d";
         public const string PACKAGE_NAME = "ClothingShop";
         public const string RES_NAME = "CompItemInfo";
@@ -72,16 +72,16 @@ namespace UI.ClothingShop
             m_txtName = (GTextField)comp.GetChild("txtName");
             m_txtDesc = (GTextField)comp.GetChild("txtDesc");
             m_rarity = (GLoader)comp.GetChild("rarity");
-            m_txtGong = (GTextField)comp.GetChild("txtGong");
-            m_txtZhi = (GTextField)comp.GetChild("txtZhi");
-            m_txtShang = (GTextField)comp.GetChild("txtShang");
-            m_txtJue = (GTextField)comp.GetChild("txtJue");
             m_txtOwned = (GTextField)comp.GetChild("txtOwned");
             m_btnBuy = (GButton)comp.GetChild("btnBuy");
             m_iconPrice = (GLoader)comp.GetChild("iconPrice");
             m_txtPrice = (GTextField)comp.GetChild("txtPrice");
             m_txtBtnBuy = (GTextField)comp.GetChild("txtBtnBuy");
             m_listTag = (GList)comp.GetChild("listTag");
+            m_txtGong = (GTextField)comp.GetChild("txtGong");
+            m_txtShang = (GTextField)comp.GetChild("txtShang");
+            m_txtJue = (GTextField)comp.GetChild("txtJue");
+            m_txtZhi = (GTextField)comp.GetChild("txtZhi");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -89,16 +89,16 @@ namespace UI.ClothingShop
             m_txtName = null;
             m_txtDesc = null;
             m_rarity = null;
-            m_txtGong = null;
-            m_txtZhi = null;
-            m_txtShang = null;
-            m_txtJue = null;
             m_txtOwned = null;
             m_btnBuy = null;
             m_iconPrice = null;
             m_txtPrice = null;
             m_txtBtnBuy = null;
             m_listTag = null;
+            m_txtGong = null;
+            m_txtShang = null;
+            m_txtJue = null;
+            m_txtZhi = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingShop/UI_ShopListItemRender.cs

@@ -7,6 +7,7 @@ namespace UI.ClothingShop
     public partial class UI_ShopListItemRender
     {
         public GComponent target;
+        public Controller m_c1;
         public GLoader m_rarity;
         public GTextField m_txtName;
         public GLoader m_icon;
@@ -60,6 +61,7 @@ namespace UI.ClothingShop
 
         private void Init(GComponent comp)
         {
+            m_c1 = comp.GetController("c1");
             m_rarity = (GLoader)comp.GetChild("rarity");
             m_txtName = (GTextField)comp.GetChild("txtName");
             m_icon = (GLoader)comp.GetChild("icon");
@@ -69,6 +71,7 @@ namespace UI.ClothingShop
         }
         public void Dispose(bool disposeTarget = false)
         {
+            m_c1 = null;
             m_rarity = null;
             m_txtName = null;
             m_icon = null;

+ 5 - 4
GameClient/Assets/Game/HotUpdate/Views/ClothingShop/ClothingShopView.cs

@@ -23,7 +23,7 @@ namespace GFGGame
         private DressUpObjDataCache _dressUpObjDataCache;
         private ValueBarController _valueBarController;
         private List<ShopCfg> _dataList;
-        private GComponent _comSelected;
+        private GImage _comSelected;
         private ShopCfg _cfgSelected;
         private const int MAX_COUNT = 99;
         private const int INIT_COUNT = 1;
@@ -88,10 +88,10 @@ namespace GFGGame
             _scenePrefab = GFGAsset.Load<GameObject>(ResPathUtil.GetPrefabPath("SceneDressUp"));
             _dressUpObjDataCache = new DressUpObjDataCache();
 
-            _comSelected = new GComponent();
+            _comSelected = new GImage();
             _comSelected.x = -5;
             _comSelected.y = -3;
-            _comSelected = UIPackage.CreateObject(UI_ClothingShopUI.PACKAGE_NAME, "ComSelect").asCom;
+            _comSelected = UIPackage.CreateObject(UI_ClothingShopUI.PACKAGE_NAME, "fzd_fzxzhong").asImage;
             _ui.m_listShop.itemRenderer = ListShopItemRender;
 
             _ui.m_btnBack.onClick.Add(OnClickBtnBack);
@@ -363,7 +363,8 @@ namespace GFGGame
         private void UpdateSelectedItemInfo(GComponent listItem, bool tween)
         {
             _selectedListItem = listItem;
-            listItem.AddChild(_comSelected);
+            listItem.AddChildAt(_comSelected, 1);
+
             // UI_ShopListItemRender item = UI_ShopListItemRender.Proxy(listItem);
             // item.m_grpSelect.visible = true;
             // item.target.AddChild()

二进制
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas0!a.png


二进制
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas0.png


二进制
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62!a.png


+ 96 - 0
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62!a.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: 04d1564f1779bc34f827189405d49132
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

二进制
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62.png


+ 96 - 0
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_atlas_lj7e62.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: 159254711470d454aaefb1760f82df51
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

二进制
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_fui.bytes


二进制
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0!a.png


二进制
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0.png


二进制
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1!a.png


二进制
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1.png


二进制
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes