zhaoyang 2 жил өмнө
parent
commit
2c8430e958
23 өөрчлөгдсөн 440 нэмэгдсэн , 9 устгасан
  1. 69 0
      FGUIProject/assets/Bag/ItemExchangeUI.xml
  2. 8 0
      FGUIProject/assets/Bag/components/Button1.xml
  3. 11 0
      FGUIProject/assets/Bag/components/Button2.xml
  4. 11 0
      FGUIProject/assets/Bag/components/Button3.xml
  5. BIN
      FGUIProject/assets/Bag/images/lm_db_3(1).png
  6. BIN
      FGUIProject/assets/Bag/imgnew/tc_anniu_qd.png
  7. BIN
      FGUIProject/assets/Bag/imgnew/tc_anniu_qx.png
  8. BIN
      FGUIProject/assets/Bag/imgnew/tc_tyjian_1.png
  9. BIN
      FGUIProject/assets/Bag/imgnew/tc_tyjian_2.png
  10. BIN
      FGUIProject/assets/Bag/imgnew/tc_tyjjdi.png
  11. BIN
      FGUIProject/assets/Bag/imgnew/tc_tyzd_1.png
  12. BIN
      FGUIProject/assets/Bag/imgnew/tc_tyzd_2.png
  13. 12 0
      FGUIProject/assets/Bag/package.xml
  14. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button2.cs
  15. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button2.cs.meta
  16. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button3.cs
  17. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button3.cs.meta
  18. 145 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_ItemExchangeUI.cs
  19. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_ItemExchangeUI.cs.meta
  20. 9 9
      GameClient/Assets/Game/HotUpdate/Views/Bag/BagExchangeView.cs
  21. BIN
      GameClient/Assets/ResIn/UI/Bag/Bag_atlas0!a.png
  22. BIN
      GameClient/Assets/ResIn/UI/Bag/Bag_atlas0.png
  23. BIN
      GameClient/Assets/ResIn/UI/Bag/Bag_fui.bytes

+ 69 - 0
FGUIProject/assets/Bag/ItemExchangeUI.xml

@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="1080,1250" opaque="false">
+  <displayList>
+    <component id="n37_qdaz" name="comBg" src="qik1tcb" fileName="componentsBg/ComBg000.xml" pkg="eg2y0ldp" xy="0,0" size="1080,1250">
+      <relation target="n33_l500" sidePair="height-height"/>
+      <relation target="" sidePair="middle-middle"/>
+    </component>
+    <image id="n40_x8jz" name="n40" src="m9eitmm" fileName="images/lm_db_3(1).png" xy="403,191" size="575,230" group="n12_si5z"/>
+    <text id="n6_si5z" name="txtOwned" xy="840,145" pivot="1,0" size="129,41" group="n12_si5z" fontSize="30" color="#b08d5c" vars="true" text="已拥有:{count=20}"/>
+    <text id="n11_si5z" name="txtDesc" xy="439,213" size="506,166" group="n12_si5z" fontSize="32" color="#b08d5c" leading="1" ubb="true" autoSize="shrink" autoClearText="true" text="手机课程很快就要开课咯!!同学们有没有很期待哇过 几天课上见昂!!28节课希望大家都可以跟下来一起度 过有趣儿的两个月吧。"/>
+    <image id="n39_x8jz" name="n39" src="v5notm9" fileName="images/wplb_db.png" xy="64,123" size="346,336" group="n55_ofwu" aspect="true"/>
+    <loader id="n8_si5z" name="loaRarity" xy="117,192" size="44,94" group="n55_ofwu" url="ui://eg2y0ldpd4iw4z" autoSize="true"/>
+    <loader id="n9_si5z" name="loaIcon" xy="238,290" pivot="0.5,0.5" anchor="true" size="200,200" group="n55_ofwu" aspect="true" align="center" vAlign="middle" fill="scaleMatchHeight"/>
+    <text id="n28_s5s9" name="txtExchangeCount" xy="315,348" pivot="1,0" size="56,49" group="n55_ofwu" fontSize="36" color="#8e7c6b" vars="true" text="x{count=20}"/>
+    <group id="n55_ofwu" name="n55" xy="64,123" size="346,336" group="n12_si5z"/>
+    <group id="n12_si5z" name="n12" xy="64,123" size="914,336" group="n33_l500" advanced="true"/>
+    <image id="n45_ofwu" name="n45" src="842s6h" fileName="imagesNew/kp_sx_1.png" pkg="eg2y0ldp" xy="142,479" size="50,50" group="n53_ofwu"/>
+    <image id="n46_ofwu" name="n46" src="842s6j" fileName="imagesNew/kp_sx_2.png" pkg="eg2y0ldp" xy="367,479" size="50,50" group="n53_ofwu"/>
+    <image id="n47_ofwu" name="n47" src="842s6i" fileName="imagesNew/kp_sx_3.png" pkg="eg2y0ldp" xy="592,479" size="50,50" group="n53_ofwu"/>
+    <image id="n48_ofwu" name="n48" src="842s6k" fileName="imagesNew/kp_sx_4.png" pkg="eg2y0ldp" xy="817,479" size="50,50" group="n53_ofwu"/>
+    <text id="n49_ofwu" name="txtGong" xy="202,483" size="61,41" group="n53_ofwu" fontSize="30" color="#8d6f45" autoClearText="true" text="5000"/>
+    <text id="n50_ofwu" name="txtShang" xy="427,483" size="61,41" group="n53_ofwu" fontSize="30" color="#8d6f45" autoClearText="true" text="5000"/>
+    <text id="n51_ofwu" name="txtJue" xy="652,483" size="61,41" group="n53_ofwu" fontSize="30" color="#8d6f45" autoClearText="true" text="5000"/>
+    <text id="n52_ofwu" name="txtZhi" xy="877,483" size="61,41" group="n53_ofwu" fontSize="30" color="#8d6f45" autoClearText="true" text="5000"/>
+    <group id="n53_ofwu" name="grpScore" xy="142,479" size="796,50" group="n33_l500" advanced="true"/>
+    <list id="n54_ofwu" name="listTag" xy="138,549" size="377,41" group="n33_l500" layout="row" colGap="20" defaultItem="ui://eg2y0ldpu2u3tkr">
+      <item/>
+      <item/>
+    </list>
+    <list id="n32_l500" name="listItem" xy="127,610" pivot="0.5,0" size="841,131" group="n33_l500" layout="flow_vt" overflow="scroll" scroll="horizontal" colGap="10" defaultItem="ui://eg2y0ldp9jv6tls" align="center" autoClearItems="true">
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+    </list>
+    <image id="n2_si5z" name="n2" src="9jv66j" fileName="imagesNew/lm_zsx0.png" pkg="eg2y0ldp" xy="176,787" group="n4_si5z"/>
+    <text id="n3_si5z" name="txtShow" xy="435,779" pivot="0.5,0" size="210,47" group="n4_si5z" fontSize="35" color="#b69566" align="center" text="选择使用数量"/>
+    <graph id="n44_ofwu" name="n44" xy="530,761" size="20,20" group="n4_si5z"/>
+    <group id="n4_si5z" name="n4" xy="176,761" size="727,67" group="n34_l500"/>
+    <image id="n13_si5z" name="n13" src="m9eitmo" fileName="imgnew/tc_tyjjdi.png" xy="256,856" group="n19_si5z"/>
+    <component id="n17_si5z" name="btnMinus" src="m9eitmp" fileName="components/Button2.xml" xy="234,854" group="n19_si5z">
+      <Button icon="ui://2bsz6nelm9eitmq"/>
+    </component>
+    <component id="n16_si5z" name="btnAdd" src="si5ztip" fileName="components/Button16.xml" pkg="eg2y0ldp" xy="549,855" group="n19_si5z"/>
+    <component id="n18_si5z" name="btnMax" src="m9eitms" fileName="components/Button3.xml" xy="656,853" group="n19_si5z">
+      <Button icon="ui://2bsz6nelm9eitmu"/>
+    </component>
+    <text id="n22_si5z" name="txtCostCount" xy="402,861" pivot="0.5,0" size="43,54" group="n19_si5z" fontSize="40" color="#816e57" text="50"/>
+    <group id="n19_si5z" name="n19" xy="234,853" size="612,70" group="n34_l500"/>
+    <text id="n24_si5z" name="txtTips" xy="377,943" pivot="0.5,0" size="323,51" group="n26_si5z" fontSize="38" color="#8e7c6b" align="center" text="是否使用1个道具?"/>
+    <component id="n25_si5z" name="comCost" src="n3xha1" fileName="components/ComCostCurrency.xml" pkg="eg2y0ldp" xy="474,1023" pivot="0.5,0" size="115,46" group="n26_si5z" scale="1.2,1.2" visible="false" controller="c1,1"/>
+    <text id="n36_l500" name="txtRmbCost" xy="509,1025" pivot="0.5,0" size="62,54" group="n26_si5z" fontSize="40" color="#716b59" align="center" text="999"/>
+    <group id="n26_si5z" name="n26" xy="376,943" size="326,136" group="n34_l500" advanced="true" layout="vt" lineGap="30" excludeInvisibles="true"/>
+    <component id="n14_si5z" name="btnCancle" src="m9eitmv" fileName="components/Button1.xml" xy="183,1092" group="n20_si5z">
+      <Button icon="ui://2bsz6nelm9eitmw"/>
+    </component>
+    <component id="n15_si5z" name="btnConfirm" src="m9eitmv" fileName="components/Button1.xml" xy="603,1092" size="294,89" group="n20_si5z">
+      <Button icon="ui://2bsz6nelm9eitmx"/>
+    </component>
+    <group id="n20_si5z" name="bgpBtn" xy="183,1092" size="714,89" group="n34_l500" advanced="true"/>
+    <group id="n34_l500" name="grpBtn" xy="176,761" size="727,420" group="n33_l500" advanced="true"/>
+    <group id="n33_l500" name="n33" xy="64,123" size="914,1058" advanced="true" layout="vt" lineGap="20" excludeInvisibles="true">
+      <relation target="n37_qdaz" sidePair="top-top"/>
+    </group>
+  </displayList>
+</component>

+ 8 - 0
FGUIProject/assets/Bag/components/Button1.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="294,89" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <displayList>
+    <loader id="n1_si5z" name="icon" xy="0,0" size="294,89" url="ui://2bsz6nelm9eitmw" autoSize="true"/>
+  </displayList>
+  <Button/>
+</component>

+ 11 - 0
FGUIProject/assets/Bag/components/Button2.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="69,68" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <controller name="c1" pages="0,,1," selected="0"/>
+  <displayList>
+    <loader id="n1_si5z" name="icon" xy="0,0" size="68,68" url="ui://2bsz6nelm9eitmq" autoSize="true">
+      <gearIcon controller="c1" pages="0,1" values="ui://2bsz6nelm9eitmq|ui://2bsz6nelm9eitmr"/>
+    </loader>
+  </displayList>
+  <Button/>
+</component>

+ 11 - 0
FGUIProject/assets/Bag/components/Button3.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="190,68" extention="Button">
+  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+  <controller name="c1" pages="0,,1," selected="1"/>
+  <displayList>
+    <loader id="n1_si5z" name="icon" xy="2,2" size="190,68" url="ui://2bsz6nelm9eitmt" autoSize="true">
+      <gearIcon controller="c1" pages="1" values="ui://2bsz6nelm9eitmt" default="ui://2bsz6nelm9eitmu"/>
+    </loader>
+  </displayList>
+  <Button/>
+</component>

BIN
FGUIProject/assets/Bag/images/lm_db_3(1).png


BIN
FGUIProject/assets/Bag/imgnew/tc_anniu_qd.png


BIN
FGUIProject/assets/Bag/imgnew/tc_anniu_qx.png


BIN
FGUIProject/assets/Bag/imgnew/tc_tyjian_1.png


BIN
FGUIProject/assets/Bag/imgnew/tc_tyjian_2.png


BIN
FGUIProject/assets/Bag/imgnew/tc_tyjjdi.png


BIN
FGUIProject/assets/Bag/imgnew/tc_tyzd_1.png


BIN
FGUIProject/assets/Bag/imgnew/tc_tyzd_2.png


+ 12 - 0
FGUIProject/assets/Bag/package.xml

@@ -26,6 +26,18 @@
     <component id="cu9wtmg" name="BtnAdd.xml" path="/components/" exported="true"/>
     <component id="cu9wtmj" name="BtnCancel.xml" path="/components/" exported="true"/>
     <component id="cu9wtmk" name="BtnShowItemTips.xml" path="/components/"/>
+    <component id="m9eitml" name="ItemExchangeUI.xml" path="/" exported="true"/>
+    <image id="m9eitmm" name="lm_db_3(1).png" path="/images/"/>
+    <image id="m9eitmo" name="tc_tyjjdi.png" path="/imgnew/"/>
+    <component id="m9eitmp" name="Button2.xml" path="/components/"/>
+    <image id="m9eitmq" name="tc_tyjian_1.png" path="/imgnew/"/>
+    <image id="m9eitmr" name="tc_tyjian_2.png" path="/imgnew/"/>
+    <component id="m9eitms" name="Button3.xml" path="/components/"/>
+    <image id="m9eitmt" name="tc_tyzd_2.png" path="/imgnew/"/>
+    <image id="m9eitmu" name="tc_tyzd_1.png" path="/imgnew/"/>
+    <component id="m9eitmv" name="Button1.xml" path="/components/"/>
+    <image id="m9eitmw" name="tc_anniu_qx.png" path="/imgnew/"/>
+    <image id="m9eitmx" name="tc_anniu_qd.png" path="/imgnew/"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\Bag" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button2.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Bag
+{
+    public partial class UI_Button2
+    {
+        public GButton target;
+        public Controller m_c1;
+        public const string URL = "ui://2bsz6nelm9eitmp";
+        public const string PACKAGE_NAME = "Bag";
+        public const string RES_NAME = "Button2";
+        private static UI_Button2 _proxy;
+
+        public static UI_Button2 Create(GObject gObject = null)
+        {
+            var ui = new UI_Button2();
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_Button2 Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_Button2();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_c1 = comp.GetController("c1");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_c1 = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button2.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1ce39a24c2d009c4397eec1ef5f9f6f6
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button3.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Bag
+{
+    public partial class UI_Button3
+    {
+        public GButton target;
+        public Controller m_c1;
+        public const string URL = "ui://2bsz6nelm9eitms";
+        public const string PACKAGE_NAME = "Bag";
+        public const string RES_NAME = "Button3";
+        private static UI_Button3 _proxy;
+
+        public static UI_Button3 Create(GObject gObject = null)
+        {
+            var ui = new UI_Button3();
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_Button3 Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_Button3();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_c1 = comp.GetController("c1");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_c1 = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_Button3.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: ff68c48a6ab8b88488ef7f8934d2d4c8
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 145 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_ItemExchangeUI.cs

@@ -0,0 +1,145 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Bag
+{
+    public partial class UI_ItemExchangeUI
+    {
+        public GComponent target;
+        public GComponent m_comBg;
+        public GTextField m_txtOwned;
+        public GTextField m_txtDesc;
+        public GLoader m_loaRarity;
+        public GLoader m_loaIcon;
+        public GTextField m_txtExchangeCount;
+        public GTextField m_txtGong;
+        public GTextField m_txtShang;
+        public GTextField m_txtJue;
+        public GTextField m_txtZhi;
+        public GGroup m_grpScore;
+        public GList m_listTag;
+        public GList m_listItem;
+        public GTextField m_txtShow;
+        public UI_Button2 m_btnMinus;
+        public GButton m_btnAdd;
+        public UI_Button3 m_btnMax;
+        public GTextField m_txtCostCount;
+        public GTextField m_txtTips;
+        public GComponent m_comCost;
+        public GTextField m_txtRmbCost;
+        public GButton m_btnCancle;
+        public GButton m_btnConfirm;
+        public GGroup m_bgpBtn;
+        public GGroup m_grpBtn;
+        public const string URL = "ui://2bsz6nelm9eitml";
+        public const string PACKAGE_NAME = "Bag";
+        public const string RES_NAME = "ItemExchangeUI";
+        private static UI_ItemExchangeUI _proxy;
+
+        public static UI_ItemExchangeUI Create(GObject gObject = null)
+        {
+            var ui = new UI_ItemExchangeUI();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ItemExchangeUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ItemExchangeUI();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_comBg = (GComponent)comp.GetChild("comBg");
+            m_txtOwned = (GTextField)comp.GetChild("txtOwned");
+            m_txtDesc = (GTextField)comp.GetChild("txtDesc");
+            m_loaRarity = (GLoader)comp.GetChild("loaRarity");
+            m_loaIcon = (GLoader)comp.GetChild("loaIcon");
+            m_txtExchangeCount = (GTextField)comp.GetChild("txtExchangeCount");
+            m_txtGong = (GTextField)comp.GetChild("txtGong");
+            m_txtShang = (GTextField)comp.GetChild("txtShang");
+            m_txtJue = (GTextField)comp.GetChild("txtJue");
+            m_txtZhi = (GTextField)comp.GetChild("txtZhi");
+            m_grpScore = (GGroup)comp.GetChild("grpScore");
+            m_listTag = (GList)comp.GetChild("listTag");
+            m_listItem = (GList)comp.GetChild("listItem");
+            m_txtShow = (GTextField)comp.GetChild("txtShow");
+            m_btnMinus = (UI_Button2)UI_Button2.Create(comp.GetChild("btnMinus"));
+            m_btnAdd = (GButton)comp.GetChild("btnAdd");
+            m_btnMax = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMax"));
+            m_txtCostCount = (GTextField)comp.GetChild("txtCostCount");
+            m_txtTips = (GTextField)comp.GetChild("txtTips");
+            m_comCost = (GComponent)comp.GetChild("comCost");
+            m_txtRmbCost = (GTextField)comp.GetChild("txtRmbCost");
+            m_btnCancle = (GButton)comp.GetChild("btnCancle");
+            m_btnConfirm = (GButton)comp.GetChild("btnConfirm");
+            m_bgpBtn = (GGroup)comp.GetChild("bgpBtn");
+            m_grpBtn = (GGroup)comp.GetChild("grpBtn");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_comBg = null;
+            m_txtOwned = null;
+            m_txtDesc = null;
+            m_loaRarity = null;
+            m_loaIcon = null;
+            m_txtExchangeCount = null;
+            m_txtGong = null;
+            m_txtShang = null;
+            m_txtJue = null;
+            m_txtZhi = null;
+            m_grpScore = null;
+            m_listTag = null;
+            m_listItem = null;
+            m_txtShow = null;
+            m_btnMinus.Dispose();
+            m_btnMinus = null;
+            m_btnAdd = null;
+            m_btnMax.Dispose();
+            m_btnMax = null;
+            m_txtCostCount = null;
+            m_txtTips = null;
+            m_comCost = null;
+            m_txtRmbCost = null;
+            m_btnCancle = null;
+            m_btnConfirm = null;
+            m_bgpBtn = null;
+            m_grpBtn = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Bag/UI_ItemExchangeUI.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: afc0f2eda5ebbd54dba4911fab66455a
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 9 - 9
GameClient/Assets/Game/HotUpdate/Views/Bag/BagExchangeView.cs

@@ -3,14 +3,14 @@ using System.Collections.Generic;
 using ET;
 using FairyGUI;
 using UI.Bag;
-using UI.CommonGame;
 using UnityEngine;
+using UI.CommonGame;
 
 namespace GFGGame
 {
     public class BagExchangeView : BaseWindow
     {
-        private UI_ItemExchangeUI _ui;
+        private UI.Bag.UI_ItemExchangeUI _ui;
         private int _itemId;
         private long _count;
         private List<int[]> _itemList = new List<int[]>();
@@ -32,19 +32,19 @@ namespace GFGGame
         {
             base.OnInit();
 
-            packageName = UI_ItemExchangeUI.PACKAGE_NAME;
-            _ui = UI_ItemExchangeUI.Create();
+            packageName = UI.Bag.UI_ItemExchangeUI.PACKAGE_NAME;
+            _ui = UI.Bag.UI_ItemExchangeUI.Create();
             this.viewCom = _ui.target;
             this.viewCom.Center();
             this.modal = true;
 
-            _ui.m_btnAdd.target.onClick.Add(OnBtnAddClick);
+            _ui.m_btnAdd.onClick.Add(OnBtnAddClick);
             _ui.m_btnMinus.target.onClick.Add(OnBtnMinusClick);
             _ui.m_btnMax.target.onClick.Add(OnBtnMaxClick);
             _ui.m_btnConfirm.onClick.Add(OnBtnConfirmClick);
             _ui.m_btnCancle.onClick.Add(OnBtnCancleClick);
             _ui.m_listItem.itemRenderer = ListItemRenderer;
-            _ui.m_comBg.m_btnClose.onClick.Add(Hide);
+            _ui.m_comBg.GetChild("btnClose").asCom.onClick.Add(Hide);
         }
 
         protected override void AddEventListener()
@@ -77,7 +77,7 @@ namespace GFGGame
         {
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(_itemId);
 
-            _ui.m_comBg.m_txtTitle.text = itemCfg.name;
+            _ui.m_comBg.GetChild("txtTitle").asTextField.text = itemCfg.name;
             _ui.m_txtOwned.SetVar("count", "" + ItemDataManager.GetItemNum(itemCfg.id)).FlushVars();
             _ui.m_txtDesc.text = string.IsNullOrEmpty(itemCfg.desc) ? "暂无描述" : itemCfg.desc;
             _ui.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
@@ -146,8 +146,8 @@ namespace GFGGame
             _ui.m_btnMinus.m_c1.selectedIndex = _count == 1 ? 1 : 0;
             _ui.m_btnMinus.target.touchable = _count == 1 ? false : true;
             long hasCount = ItemDataManager.GetItemNum(_itemId);
-            _ui.m_btnAdd.m_c1.selectedIndex = _count == hasCount ? 1 : 0;
-            _ui.m_btnAdd.target.touchable = _count == hasCount ? false : true;
+            _ui.m_btnAdd.GetController("c1").selectedIndex = _count == hasCount ? 1 : 0;
+            _ui.m_btnAdd.touchable = _count == hasCount ? false : true;
             _ui.m_btnMax.m_c1.selectedIndex = _count == hasCount ? 1 : 0;
             _ui.m_btnMax.target.touchable = _count == hasCount ? false : true;
             _ui.m_txtExchangeCount.text = string.Format("x{0}", hasCount);

BIN
GameClient/Assets/ResIn/UI/Bag/Bag_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/Bag/Bag_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Bag/Bag_fui.bytes