何晓捷 2 жил өмнө
parent
commit
ea616d744e

+ 6 - 1
FGUIProject/assets/EnduringGiftBox/RushSaleGiftBoxUI.xml

@@ -2,11 +2,12 @@
 <component size="1080,958">
   <displayList>
     <image id="n1_yjmk" name="n1" src="yjmk2j" fileName="images/xsqg_db.png" xy="1,-72" group="n22_droi"/>
-    <image id="n0_yjmk" name="n0" src="yjmk2l" fileName="images/xsqg_lihui.png" xy="44,23" group="n22_droi"/>
+    <image id="n0_yjmk" name="n0" src="yjmk2l" fileName="images/xsqg_lihui.png" xy="44,23" group="n22_droi" visible="false"/>
     <image id="n2_yjmk" name="n2" src="yjmk2i" fileName="images/wz_xsqg.png" xy="335,26" group="n22_droi"/>
     <component id="n19_droi" name="btnUp" src="droi3c" fileName="components/BtnUp.xml" xy="63,380" group="n22_droi"/>
     <component id="n20_droi" name="btnNext" src="droi3d" fileName="components/BtnNext.xml" xy="877,386" group="n22_droi"/>
     <component id="n21_droi" name="btnBack" src="qqhz26" fileName="components/BnBack.xml" xy="498,940" group="n22_droi"/>
+    <graph id="n24_droi" name="holderPaoBaby" xy="246,302" size="86,77" group="n22_droi"/>
     <group id="n22_droi" name="n22" xy="1,-72" size="1077,1231"/>
     <image id="n5_yjmk" name="n5" src="yjmk2m" fileName="images/xsqg_nr_db.png" xy="193,215" group="n23_droi"/>
     <text id="n4_yjmk" name="txtBoxItemName" xy="363,207" size="283,65" group="n23_droi" fontSize="40" color="#fffbf5" align="center" autoSize="none" strokeColor="#d69546" text="体力限时礼包"/>
@@ -19,8 +20,12 @@
     <image id="n12_yjmk" name="n12" src="yjmk2b" fileName="images/xsqg_zsx.png" xy="302,602" group="n23_droi"/>
     <text id="n13_yjmk" name="txtUrc" xy="453,623" size="224,68" group="n23_droi" fontSize="34" color="#b8857b" align="center" vAlign="middle" autoSize="shrink" text="今日限购0/1"/>
     <component id="n15_yjmk" name="btnBuyPink" src="yjmk2q" fileName="components/BtnBuyPink.xml" xy="408,693" group="n23_droi"/>
+    <graph id="n25_droi" name="holderBtnBy" xy="554,728" size="59,41" group="n23_droi"/>
     <component id="n14_yjmk" name="comDiscount" src="yjmk2r" fileName="components/ComDiscount2.xml" xy="333,642" group="n23_droi"/>
+    <graph id="n27_droi" name="holderZheKouChiXu" xy="382,682" size="44,43" group="n23_droi"/>
+    <graph id="n26_droi" name="holderZheKou" xy="390,685" size="47,50" group="n23_droi"/>
     <text id="n16_yjmk" name="txtLrc" xy="379,787" size="380,46" group="n23_droi" fontSize="34" color="#b8857b" align="center" autoSize="shrink" text="可获得60充值经验"/>
+    <graph id="n28_droi" name="holderStar" xy="561,467" size="43,38" group="n23_droi"/>
     <group id="n23_droi" name="n23" xy="193,207" size="746,626"/>
   </displayList>
   <transition name="t3">

+ 1 - 1
FGUIProject/assets/EnduringGiftBox/components/ComCurSupplyItem.xml

@@ -10,9 +10,9 @@
     <component id="n28_qqhz" name="comLeftGiftBox" src="qqhz1q" fileName="components/ComLeftGiftBox.xml" xy="25,22"/>
     <text id="n15_qqhz" name="txtTitle" xy="290,15" size="275,47" font="ui://eg2y0ldpa0cftkz" fontSize="28" color="#cc9974" align="center" autoSize="none" text="体力超值返利包"/>
     <text id="n22_qqhz" name="txtWeekPrompt" xy="294,46" size="266,39" font="ui://eg2y0ldpa0cftks" fontSize="26" color="#bda5a8" align="center" autoSize="none" text="连续七天每日获得"/>
-    <component id="n29_droi" name="btnIcoWeekPromptTag" src="droi3e" fileName="components/BtnIcoWeekPromptTag.xml" xy="530,48"/>
     <list id="n18_qqhz" name="list" xy="231,83" size="402,132" layout="flow_vt" overflow="scroll" scroll="horizontal" scrollBarFlags="32" colGap="35" defaultItem="ui://bdi1qe15qqhz1g" align="center" autoClearItems="true">
       <item/>
     </list>
+    <component id="n30_fwtw" name="btnIcoWeekPromptTag" src="droi3g" fileName="components/BtnIcoWeekPromptTag.xml" xy="541,49"/>
   </displayList>
 </component>

+ 1 - 0
FGUIProject/assets/EnduringGiftBox/components/ComRsGifBoxIconItem.xml

@@ -3,5 +3,6 @@
   <displayList>
     <component id="n3_yjmk" name="comRewardIconItem" src="qqhz1g" fileName="components/ComRewardIconItem.xml" xy="3,2" size="132,132" aspect="true" scale="1.09,1.09"/>
     <text id="n1_yjmk" name="txtItemName" xy="6,138" size="143,56" fontSize="39" color="#a47e49" align="center" autoSize="none" text="体力"/>
+    <graph id="n4_droi" name="holderItem" xy="79,70" size="46,42"/>
   </displayList>
 </component>

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComCurSupplyItem.cs

@@ -14,8 +14,8 @@ namespace UI.EnduringGiftBox
         public UI_ComLeftGiftBox m_comLeftGiftBox;
         public GTextField m_txtTitle;
         public GTextField m_txtWeekPrompt;
-        public GComponent m_btnIcoWeekPromptTag;
         public GList m_list;
+        public GComponent m_btnIcoWeekPromptTag;
         public const string URL = "ui://bdi1qe15qqhz11";
         public const string PACKAGE_NAME = "EnduringGiftBox";
         public const string RES_NAME = "ComCurSupplyItem";
@@ -70,8 +70,8 @@ namespace UI.EnduringGiftBox
             m_comLeftGiftBox = (UI_ComLeftGiftBox)UI_ComLeftGiftBox.Create(comp.GetChild("comLeftGiftBox"));
             m_txtTitle = (GTextField)comp.GetChild("txtTitle");
             m_txtWeekPrompt = (GTextField)comp.GetChild("txtWeekPrompt");
-            m_btnIcoWeekPromptTag = (GComponent)comp.GetChild("btnIcoWeekPromptTag");
             m_list = (GList)comp.GetChild("list");
+            m_btnIcoWeekPromptTag = (GComponent)comp.GetChild("btnIcoWeekPromptTag");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -85,8 +85,8 @@ namespace UI.EnduringGiftBox
             m_comLeftGiftBox = null;
             m_txtTitle = null;
             m_txtWeekPrompt = null;
-            m_btnIcoWeekPromptTag = null;
             m_list = null;
+            m_btnIcoWeekPromptTag = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_ComRsGifBoxIconItem.cs

@@ -9,6 +9,7 @@ namespace UI.EnduringGiftBox
         public GComponent target;
         public UI_ComRewardIconItem m_comRewardIconItem;
         public GTextField m_txtItemName;
+        public GGraph m_holderItem;
         public const string URL = "ui://bdi1qe15yjmk2p";
         public const string PACKAGE_NAME = "EnduringGiftBox";
         public const string RES_NAME = "ComRsGifBoxIconItem";
@@ -58,12 +59,14 @@ namespace UI.EnduringGiftBox
         {
             m_comRewardIconItem = (UI_ComRewardIconItem)UI_ComRewardIconItem.Create(comp.GetChild("comRewardIconItem"));
             m_txtItemName = (GTextField)comp.GetChild("txtItemName");
+            m_holderItem = (GGraph)comp.GetChild("holderItem");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_comRewardIconItem.Dispose();
             m_comRewardIconItem = null;
             m_txtItemName = null;
+            m_holderItem = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 15 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/EnduringGiftBox/UI_RushSaleGiftBoxUI.cs

@@ -10,13 +10,18 @@ namespace UI.EnduringGiftBox
         public GComponent m_btnUp;
         public GComponent m_btnNext;
         public GComponent m_btnBack;
+        public GGraph m_holderPaoBaby;
         public GTextField m_txtBoxItemName;
         public GTextField m_txtBoxResidueTime;
         public GList m_list;
         public GTextField m_txtUrc;
         public UI_BtnBuyPink m_btnBuyPink;
+        public GGraph m_holderBtnBy;
         public UI_ComDiscount2 m_comDiscount;
+        public GGraph m_holderZheKouChiXu;
+        public GGraph m_holderZheKou;
         public GTextField m_txtLrc;
+        public GGraph m_holderStar;
         public Transition m_t3;
         public const string URL = "ui://bdi1qe15yjmk29";
         public const string PACKAGE_NAME = "EnduringGiftBox";
@@ -68,13 +73,18 @@ namespace UI.EnduringGiftBox
             m_btnUp = (GComponent)comp.GetChild("btnUp");
             m_btnNext = (GComponent)comp.GetChild("btnNext");
             m_btnBack = (GComponent)comp.GetChild("btnBack");
+            m_holderPaoBaby = (GGraph)comp.GetChild("holderPaoBaby");
             m_txtBoxItemName = (GTextField)comp.GetChild("txtBoxItemName");
             m_txtBoxResidueTime = (GTextField)comp.GetChild("txtBoxResidueTime");
             m_list = (GList)comp.GetChild("list");
             m_txtUrc = (GTextField)comp.GetChild("txtUrc");
             m_btnBuyPink = (UI_BtnBuyPink)UI_BtnBuyPink.Create(comp.GetChild("btnBuyPink"));
+            m_holderBtnBy = (GGraph)comp.GetChild("holderBtnBy");
             m_comDiscount = (UI_ComDiscount2)UI_ComDiscount2.Create(comp.GetChild("comDiscount"));
+            m_holderZheKouChiXu = (GGraph)comp.GetChild("holderZheKouChiXu");
+            m_holderZheKou = (GGraph)comp.GetChild("holderZheKou");
             m_txtLrc = (GTextField)comp.GetChild("txtLrc");
+            m_holderStar = (GGraph)comp.GetChild("holderStar");
             m_t3 = comp.GetTransition("t3");
         }
         public void Dispose(bool disposeTarget = false)
@@ -82,15 +92,20 @@ namespace UI.EnduringGiftBox
             m_btnUp = null;
             m_btnNext = null;
             m_btnBack = null;
+            m_holderPaoBaby = null;
             m_txtBoxItemName = null;
             m_txtBoxResidueTime = null;
             m_list = null;
             m_txtUrc = null;
             m_btnBuyPink.Dispose();
             m_btnBuyPink = null;
+            m_holderBtnBy = null;
             m_comDiscount.Dispose();
             m_comDiscount = null;
+            m_holderZheKouChiXu = null;
+            m_holderZheKou = null;
             m_txtLrc = null;
+            m_holderStar = null;
             m_t3 = null;
             if(disposeTarget && target != null)
             {

+ 13 - 0
GameClient/Assets/Game/HotUpdate/Views/EnduringGiftBox/RushSaleGiftBoxView.cs

@@ -19,6 +19,18 @@ namespace GFGGame
         private int _type; //决定数据的类型 --等级条件的数据,时间条件的数据
 
         private int _pageIndex; //当前页码,需要显示的数据的索引
+        
+        private List<GameObject>  _gameObjectList;
+        
+        private GameObject _gameObject1;
+        private GameObject _gameObject2;
+        private GameObject _gameObject3;
+        private GameObject _gameObject4;
+
+        private GoWrapper _wrapper1;
+        private GoWrapper _wrapper2;
+        private GoWrapper _wrapper3;
+        private GoWrapper _wrapper4;
 
         protected override void OnInit()
         {
@@ -66,6 +78,7 @@ namespace GFGGame
 
         private void AddEffect()
         {
+            
         }
 
         //实例化索引

BIN
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_atlas0.png


BIN
GameClient/Assets/ResIn/UI/EnduringGiftBox/EnduringGiftBox_fui.bytes