zhaoyang 2 éve
szülő
commit
34f1c5235d
56 módosított fájl, 1043 hozzáadás és 353 törlés
  1. 0 20
      FGUIProject/assets/Activity/package.xml
  2. 9 2
      FGUIProject/assets/DailyWelfare/DailyWelfareUI.xml
  3. 0 0
      FGUIProject/assets/DailyWelfare/FirstChargeBonusUI.xml
  4. 26 0
      FGUIProject/assets/DailyWelfare/LimitChargeUI.xml
  5. 1 1
      FGUIProject/assets/DailyWelfare/SevenDayLoginUI.xml
  6. 1 1
      FGUIProject/assets/DailyWelfare/components/Component1.xml
  7. 28 0
      FGUIProject/assets/DailyWelfare/components/ListChargeItem.xml
  8. 1 1
      FGUIProject/assets/DailyWelfare/components/ListItem.xml
  9. BIN
      FGUIProject/assets/DailyWelfare/images/tc_xuanxiangkuang.png
  10. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_ditu.png
  11. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_dyt_1.png
  12. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_dyt_2.png
  13. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_dyt_3.png
  14. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_dyt_4.png
  15. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_dyt_5.png
  16. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_dyt_6.png
  17. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_dyt_7.png
  18. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhd_zszs.png
  19. 0 0
      FGUIProject/assets/DailyWelfare/images/yzhl_yqd.png
  20. BIN
      FGUIProject/assets/DailyWelfare/imagesNew/ornamental_title.png
  21. 17 1
      FGUIProject/assets/DailyWelfare/package.xml
  22. 9 2
      GameClient/Assets/Game/HotUpdate/Data/ActivityDataManager.cs
  23. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_Component1.cs
  24. 1 1
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_Component1.cs.meta
  25. 6 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_DailyWelfareUI.cs
  26. 80 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_FirstChargeBonusUI.cs
  27. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_FirstChargeBonusUI.cs.meta
  28. 77 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_LimitChargeUI.cs
  29. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_LimitChargeUI.cs.meta
  30. 86 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListChargeItem.cs
  31. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListChargeItem.cs.meta
  32. 83 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListItem.cs
  33. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListItem.cs.meta
  34. 75 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_SevenDayLoginUI.cs
  35. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_SevenDayLoginUI.cs.meta
  36. 35 5
      GameClient/Assets/Game/HotUpdate/ServerProxy/ActivitySProxy.cs
  37. 1 1
      GameClient/Assets/Game/HotUpdate/ServerProxy/LuckyBoxSProxy.cs
  38. 3 3
      GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxBonusView.cs
  39. 1 1
      GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxView.cs
  40. 13 0
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/DailyWelfareView.cs
  41. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/FirstChargeBonusView.cs
  42. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/FirstChargeBonusView.cs.meta
  43. 122 0
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/LimitChargeView.cs
  44. 11 0
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/LimitChargeView.cs.meta
  45. 4 9
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/SevenDayLoginView.cs
  46. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/SevenDayLoginView.cs.meta
  47. 1 1
      GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxActivityView.cs
  48. 31 12
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs
  49. 0 289
      GameClient/Assets/Game/HotUpdate/Views/Store/RechargeStoreView.cs
  50. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0.png
  51. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_1.png
  52. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2.png
  53. 96 0
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2.png.meta
  54. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_3.png
  55. 96 0
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_3.png.meta
  56. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_fui.bytes

+ 0 - 20
FGUIProject/assets/Activity/package.xml

@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packageDescription id="5uawdql9">
-  <resources>
-    <component id="lh8v6" name="SevenDayLoginUI.xml" path="/" exported="true"/>
-    <component id="jyml7" name="ListItem.xml" path="/SevenDayLoginComponents/"/>
-    <image id="ox5b8" name="yzhl_yqd.png" path="/SevenDayLoginImages/"/>
-    <image id="ox5b9" name="yzhd_ditu.png" path="/SevenDayLoginImages/"/>
-    <image id="ox5ba" name="yzhd_dyt_1.png" path="/SevenDayLoginImages/" exported="true"/>
-    <image id="ox5bb" name="yzhd_dyt_2.png" path="/SevenDayLoginImages/" exported="true"/>
-    <image id="ox5bc" name="yzhd_dyt_3.png" path="/SevenDayLoginImages/" exported="true"/>
-    <image id="ox5bd" name="yzhd_dyt_4.png" path="/SevenDayLoginImages/" exported="true"/>
-    <image id="ox5be" name="yzhd_dyt_6.png" path="/SevenDayLoginImages/" exported="true"/>
-    <image id="ox5bf" name="yzhd_dyt_7.png" path="/SevenDayLoginImages/" exported="true"/>
-    <image id="ox5bg" name="yzhd_dyt_5.png" path="/SevenDayLoginImages/" exported="true"/>
-    <image id="ox5bi" name="yzhd_zszs.png" path="/SevenDayLoginImages/"/>
-    <component id="rkrwj" name="Component1.xml" path="/SevenDayLoginComponents/"/>
-    <component id="fqor0" name="FirstChargeBonusUI.xml" path="/" exported="true"/>
-  </resources>
-  <publish name="" path="../GameClient/Assets/ResIn/UI/Activity" packageCount="2" genCode="true" extractAlpha="true"/>
-</packageDescription>

+ 9 - 2
FGUIProject/assets/DailyWelfare/DailyWelfareUI.xml

@@ -11,11 +11,18 @@
       <Button icon="ui://t8nwuj7ifqor1"/>
     </component>
     <group id="n3_fqor" name="grpTop" xy="0,95" size="1080,191"/>
-    <component id="n4_fqor" name="btnSign" src="qik1u" fileName="components/Button1.xml" xy="0,408">
+    <component id="n4_fqor" name="btnLimitChargeAddUp" src="qik1u" fileName="components/Button1.xml" xy="0,360" group="n30_idkd">
+      <Button title="限时累充"/>
+    </component>
+    <component id="n5_fqor" name="btnSevenDayLogin" src="qik1u" fileName="components/Button1.xml" xy="0,742" group="n30_idkd">
+      <Button title="一周黄历"/>
+    </component>
+    <component id="n28_idkd" name="btnSign" src="qik1u" fileName="components/Button1.xml" xy="0,1124" group="n30_idkd">
       <Button title="每日签到"/>
     </component>
-    <component id="n5_fqor" name="btnSupply" src="qik1u" fileName="components/Button1.xml" xy="0,911">
+    <component id="n29_idkd" name="btnSupply" src="qik1u" fileName="components/Button1.xml" xy="0,1506" group="n30_idkd">
       <Button title="每日补给"/>
     </component>
+    <group id="n30_idkd" name="n30" xy="0,360" size="1080,1474" advanced="true" layout="vt" lineGap="54" excludeInvisibles="true"/>
   </displayList>
 </component>

+ 0 - 0
FGUIProject/assets/Activity/FirstChargeBonusUI.xml → FGUIProject/assets/DailyWelfare/FirstChargeBonusUI.xml


+ 26 - 0
FGUIProject/assets/DailyWelfare/LimitChargeUI.xml

@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="994,1393">
+  <displayList>
+    <image id="n0_fqor" name="n0" src="ox5b9" fileName="images/yzhd_ditu.png" xy="0,0"/>
+    <list id="n1_fqor" name="list" xy="56,242" size="884,1027" layout="flow_hz" overflow="scroll" lineGap="20" defaultItem="ui://t8nwuj7iidkd15">
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+      <item/>
+    </list>
+    <component id="n2_fqor" name="btnCharge" src="rv091p" fileName="components/BtnStyle1Big.xml" pkg="eg2y0ldp" xy="681,145">
+      <Button title="前往充值"/>
+    </component>
+    <image id="n4_idkd" name="n4" src="mbf14" fileName="imagesNew/sj_dk.png" pkg="eg2y0ldp" xy="373,53" group="n6_idkd"/>
+    <text id="n5_idkd" name="txtTime" xy="400,53" pivot="0.5,0" size="193,44" group="n6_idkd" fontSize="32" color="#fffbf9" align="center" text="00天00时00分"/>
+    <group id="n6_idkd" name="n6" xy="373,53" size="247,44" advanced="true">
+      <relation target="" sidePair="top-top"/>
+    </group>
+  </displayList>
+</component>

+ 1 - 1
FGUIProject/assets/Activity/SevenDayLoginUI.xml → FGUIProject/assets/DailyWelfare/SevenDayLoginUI.xml

@@ -2,7 +2,7 @@
 <component size="994,1393">
   <displayList>
     <image id="n4_ox5b" name="n4" src="ox5b9" fileName="images/yzhd_ditu.png" xy="0,0"/>
-    <list id="n0_lh8v" name="list" xy="77,66" size="839,693" layout="flow_hz" overflow="hidden" lineGap="15" colGap="10" defaultItem="ui://5uawdql9jyml7">
+    <list id="n0_lh8v" name="list" xy="77,66" size="839,693" layout="flow_hz" overflow="hidden" lineGap="15" colGap="10" defaultItem="ui://t8nwuj7ijyml7">
       <item/>
       <item/>
       <item/>

+ 1 - 1
FGUIProject/assets/Activity/SevenDayLoginComponents/Component1.xml → FGUIProject/assets/DailyWelfare/components/Component1.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="553,492">
   <displayList>
-    <loader id="n5_ox5b" name="loaIcon" xy="0,0" size="553,492" url="ui://5uawdql9ox5bg" autoSize="true"/>
+    <loader id="n5_ox5b" name="loaIcon" xy="0,0" size="553,492" url="ui://t8nwuj7iox5bg" autoSize="true"/>
   </displayList>
 </component>

+ 28 - 0
FGUIProject/assets/DailyWelfare/components/ListChargeItem.xml

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="882,208">
+  <controller name="c1" pages="0,,1,,2," selected="0">
+    <remark page="0" value="不可领取"/>
+    <remark page="1" value="可领取"/>
+    <remark page="2" value="已领取"/>
+  </controller>
+  <displayList>
+    <image id="n2_mbf1" name="n2" src="idkd16" fileName="images/tc_xuanxiangkuang.png" xy="0,0"/>
+    <list id="n3_mbf1" name="listRewards" xy="30,69" size="320,131" layout="row" colGap="6" defaultItem="ui://eg2y0ldp9jv6tls">
+      <item/>
+      <item/>
+    </list>
+    <text id="n4_mbf1" name="txtTitle" xy="30,8" size="448,44" fontSize="32" color="#a07c49" text="巴拉巴拉限定摘星99次(0/99)"/>
+    <component id="n7_mbf1" name="btnGetNone" src="mbf1tn7" fileName="components/BtnStyle003.xml" pkg="eg2y0ldp" xy="648,80">
+      <gearDisplay controller="c1" pages="0"/>
+      <Button title="领取"/>
+    </component>
+    <component id="n5_mbf1" name="btnGet" src="rv091p" fileName="components/BtnStyle1Big.xml" pkg="eg2y0ldp" xy="648,80" size="189,58">
+      <gearDisplay controller="c1" pages="1"/>
+      <Button title="领取" icon="ui://eg2y0ldpmbf1tn8"/>
+    </component>
+    <component id="n8_mbf1" name="btnGot" src="rv091p" fileName="components/BtnStyle1Big.xml" pkg="eg2y0ldp" xy="624,84" size="233,51">
+      <gearDisplay controller="c1" pages="2"/>
+      <Button title="领取" icon="ui://eg2y0ldpnyhm6"/>
+    </component>
+  </displayList>
+</component>

+ 1 - 1
FGUIProject/assets/Activity/SevenDayLoginComponents/ListItem.xml → FGUIProject/assets/DailyWelfare/components/ListItem.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <component size="270,334">
   <displayList>
-    <loader id="n2_ox5b" name="loaBg" xy="0,0" size="270,334" url="ui://5uawdql9ox5ba" autoSize="true"/>
+    <loader id="n2_ox5b" name="loaBg" xy="0,0" size="270,334" url="ui://t8nwuj7iox5ba" autoSize="true"/>
     <loader id="n3_ox5b" name="loaIcon" xy="60,98" size="150,150" aspect="true" url="ui://eg2y0ldpm9wm8v" fill="scaleMatchHeight"/>
     <text id="n6_ox5b" name="txtNum" xy="171,220" size="67,44" fontSize="32" color="#be675e" text="X88"/>
     <text id="n5_ox5b" name="txtName" xy="99,281" pivot="0.5,0" size="71,46" fontSize="34" color="#91a08b" text="名字"/>

BIN
FGUIProject/assets/DailyWelfare/images/tc_xuanxiangkuang.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_ditu.png → FGUIProject/assets/DailyWelfare/images/yzhd_ditu.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_dyt_1.png → FGUIProject/assets/DailyWelfare/images/yzhd_dyt_1.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_dyt_2.png → FGUIProject/assets/DailyWelfare/images/yzhd_dyt_2.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_dyt_3.png → FGUIProject/assets/DailyWelfare/images/yzhd_dyt_3.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_dyt_4.png → FGUIProject/assets/DailyWelfare/images/yzhd_dyt_4.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_dyt_5.png → FGUIProject/assets/DailyWelfare/images/yzhd_dyt_5.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_dyt_6.png → FGUIProject/assets/DailyWelfare/images/yzhd_dyt_6.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_dyt_7.png → FGUIProject/assets/DailyWelfare/images/yzhd_dyt_7.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhd_zszs.png → FGUIProject/assets/DailyWelfare/images/yzhd_zszs.png


+ 0 - 0
FGUIProject/assets/Activity/SevenDayLoginImages/yzhl_yqd.png → FGUIProject/assets/DailyWelfare/images/yzhl_yqd.png


BIN
FGUIProject/assets/DailyWelfare/imagesNew/ornamental_title.png


+ 17 - 1
FGUIProject/assets/DailyWelfare/package.xml

@@ -30,7 +30,23 @@
     <image id="qik1z" name="mrbj_tb1.png" path="/images/"/>
     <image id="qik110" name="mrbj_wz2.png" path="/images/"/>
     <image id="qik111" name="wz_mrbj.png" path="/images/"/>
-    <image id="qik112" name="ornamental_title.png" path="/imagesNew/"/>
+    <component id="idkd13" name="FirstChargeBonusUI.xml" path="/" exported="true"/>
+    <component id="lh8v6" name="SevenDayLoginUI.xml" path="/" exported="true"/>
+    <image id="ox5b9" name="yzhd_ditu.png" path="/images/"/>
+    <image id="ox5ba" name="yzhd_dyt_1.png" path="/images/" exported="true"/>
+    <image id="ox5bb" name="yzhd_dyt_2.png" path="/images/" exported="true"/>
+    <image id="ox5bc" name="yzhd_dyt_3.png" path="/images/" exported="true"/>
+    <image id="ox5bd" name="yzhd_dyt_4.png" path="/images/" exported="true"/>
+    <image id="ox5bg" name="yzhd_dyt_5.png" path="/images/" exported="true"/>
+    <image id="ox5be" name="yzhd_dyt_6.png" path="/images/" exported="true"/>
+    <image id="ox5bf" name="yzhd_dyt_7.png" path="/images/" exported="true"/>
+    <image id="ox5bi" name="yzhd_zszs.png" path="/images/"/>
+    <image id="ox5b8" name="yzhl_yqd.png" path="/images/"/>
+    <component id="rkrwj" name="Component1.xml" path="/components/"/>
+    <component id="jyml7" name="ListItem.xml" path="/components/"/>
+    <component id="idkd14" name="LimitChargeUI.xml" path="/" exported="true"/>
+    <component id="idkd15" name="ListChargeItem.xml" path="/components/"/>
+    <image id="idkd16" name="tc_xuanxiangkuang.png" path="/images/"/>
   </resources>
   <publish name="" path="../GameClient/Assets/ResIn/UI/DailyWelfare" packageCount="2" genCode="true"/>
 </packageDescription>

+ 9 - 2
GameClient/Assets/Game/HotUpdate/Data/ActivityDataManager.cs

@@ -26,13 +26,20 @@ namespace GFGGame
             }
             return 0;
         }
+        /**********************************************************限时累充*************************************************/
+        /// <summary>
+        /// 当前限时累充活动id
+        /// </summary>
+        /// <value></value>
+        public int actLimitChargeId { get; set; }
+
 
         /**********************************************************限时抽奖活动*********************************************/
         /// <summary>
         /// 当前抽奖活动id
         /// </summary>
         /// <value></value>
-        public int activityId { get; set; }
+        public int actLuckyBoxId { get; set; }
         /// <summary>
         /// 抽奖总次数
         /// </summary>
@@ -42,7 +49,7 @@ namespace GFGGame
         /// 限时抽奖必掉次数
         /// </summary>
         /// <value></value>
-        public int lastCount { get; set; }
+        public int lastDrawCount { get; set; }
         /// <summary>
         /// </summary>
         /// <typeparam name="int">奖励key,这里对应抽奖次数</typeparam>

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_Component1.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DailyWelfare
+{
+    public partial class UI_Component1
+    {
+        public GComponent target;
+        public GLoader m_loaIcon;
+        public const string URL = "ui://t8nwuj7irkrwj";
+        public const string PACKAGE_NAME = "DailyWelfare";
+        public const string RES_NAME = "Component1";
+        private static UI_Component1 _proxy;
+
+        public static UI_Component1 Create(GObject gObject = null)
+        {
+            var ui = new UI_Component1();
+            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_Component1 Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_Component1();
+            }
+            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_loaIcon = (GLoader)comp.GetChild("loaIcon");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_loaIcon = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Store/RechargeStoreView.cs.meta → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_Component1.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: f2509e9193382ac4fba4b6f878e416eb
+guid: f33c60c8c340c304392b5922a8a042af
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 6 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_DailyWelfareUI.cs

@@ -10,6 +10,8 @@ namespace UI.DailyWelfare
         public GLoader m_loaBg;
         public GComponent m_comValueBar;
         public GButton m_btnback;
+        public GButton m_btnLimitChargeAddUp;
+        public GButton m_btnSevenDayLogin;
         public GButton m_btnSign;
         public GButton m_btnSupply;
         public const string URL = "ui://t8nwuj7ifqor0";
@@ -62,6 +64,8 @@ namespace UI.DailyWelfare
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_btnback = (GButton)comp.GetChild("btnback");
+            m_btnLimitChargeAddUp = (GButton)comp.GetChild("btnLimitChargeAddUp");
+            m_btnSevenDayLogin = (GButton)comp.GetChild("btnSevenDayLogin");
             m_btnSign = (GButton)comp.GetChild("btnSign");
             m_btnSupply = (GButton)comp.GetChild("btnSupply");
         }
@@ -70,6 +74,8 @@ namespace UI.DailyWelfare
             m_loaBg = null;
             m_comValueBar = null;
             m_btnback = null;
+            m_btnLimitChargeAddUp = null;
+            m_btnSevenDayLogin = null;
             m_btnSign = null;
             m_btnSupply = null;
             if(disposeTarget && target != null)

+ 80 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_FirstChargeBonusUI.cs

@@ -0,0 +1,80 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DailyWelfare
+{
+    public partial class UI_FirstChargeBonusUI
+    {
+        public GComponent target;
+        public Controller m_c1;
+        public GList m_list;
+        public GButton m_btnCharge;
+        public GButton m_btnGet;
+        public const string URL = "ui://t8nwuj7iidkd13";
+        public const string PACKAGE_NAME = "DailyWelfare";
+        public const string RES_NAME = "FirstChargeBonusUI";
+        private static UI_FirstChargeBonusUI _proxy;
+
+        public static UI_FirstChargeBonusUI Create(GObject gObject = null)
+        {
+            var ui = new UI_FirstChargeBonusUI();
+            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_FirstChargeBonusUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_FirstChargeBonusUI();
+            }
+            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_c1 = comp.GetController("c1");
+            m_list = (GList)comp.GetChild("list");
+            m_btnCharge = (GButton)comp.GetChild("btnCharge");
+            m_btnGet = (GButton)comp.GetChild("btnGet");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_c1 = null;
+            m_list = null;
+            m_btnCharge = null;
+            m_btnGet = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_FirstChargeBonusUI.cs.meta

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

+ 77 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_LimitChargeUI.cs

@@ -0,0 +1,77 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DailyWelfare
+{
+    public partial class UI_LimitChargeUI
+    {
+        public GComponent target;
+        public GList m_list;
+        public GButton m_btnCharge;
+        public GTextField m_txtTime;
+        public const string URL = "ui://t8nwuj7iidkd14";
+        public const string PACKAGE_NAME = "DailyWelfare";
+        public const string RES_NAME = "LimitChargeUI";
+        private static UI_LimitChargeUI _proxy;
+
+        public static UI_LimitChargeUI Create(GObject gObject = null)
+        {
+            var ui = new UI_LimitChargeUI();
+            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_LimitChargeUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_LimitChargeUI();
+            }
+            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_list = (GList)comp.GetChild("list");
+            m_btnCharge = (GButton)comp.GetChild("btnCharge");
+            m_txtTime = (GTextField)comp.GetChild("txtTime");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_list = null;
+            m_btnCharge = null;
+            m_txtTime = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_LimitChargeUI.cs.meta

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

+ 86 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListChargeItem.cs

@@ -0,0 +1,86 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DailyWelfare
+{
+    public partial class UI_ListChargeItem
+    {
+        public GComponent target;
+        public Controller m_c1;
+        public GList m_listRewards;
+        public GTextField m_txtTitle;
+        public GButton m_btnGetNone;
+        public GButton m_btnGet;
+        public GButton m_btnGot;
+        public const string URL = "ui://t8nwuj7iidkd15";
+        public const string PACKAGE_NAME = "DailyWelfare";
+        public const string RES_NAME = "ListChargeItem";
+        private static UI_ListChargeItem _proxy;
+
+        public static UI_ListChargeItem Create(GObject gObject = null)
+        {
+            var ui = new UI_ListChargeItem();
+            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_ListChargeItem Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ListChargeItem();
+            }
+            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_c1 = comp.GetController("c1");
+            m_listRewards = (GList)comp.GetChild("listRewards");
+            m_txtTitle = (GTextField)comp.GetChild("txtTitle");
+            m_btnGetNone = (GButton)comp.GetChild("btnGetNone");
+            m_btnGet = (GButton)comp.GetChild("btnGet");
+            m_btnGot = (GButton)comp.GetChild("btnGot");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_c1 = null;
+            m_listRewards = null;
+            m_txtTitle = null;
+            m_btnGetNone = null;
+            m_btnGet = null;
+            m_btnGot = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListChargeItem.cs.meta

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

+ 83 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListItem.cs

@@ -0,0 +1,83 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DailyWelfare
+{
+    public partial class UI_ListItem
+    {
+        public GComponent target;
+        public GLoader m_loaBg;
+        public GLoader m_loaIcon;
+        public GTextField m_txtNum;
+        public GTextField m_txtName;
+        public GImage m_imgGot;
+        public const string URL = "ui://t8nwuj7ijyml7";
+        public const string PACKAGE_NAME = "DailyWelfare";
+        public const string RES_NAME = "ListItem";
+        private static UI_ListItem _proxy;
+
+        public static UI_ListItem Create(GObject gObject = null)
+        {
+            var ui = new UI_ListItem();
+            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_ListItem Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ListItem();
+            }
+            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_loaBg = (GLoader)comp.GetChild("loaBg");
+            m_loaIcon = (GLoader)comp.GetChild("loaIcon");
+            m_txtNum = (GTextField)comp.GetChild("txtNum");
+            m_txtName = (GTextField)comp.GetChild("txtName");
+            m_imgGot = (GImage)comp.GetChild("imgGot");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_loaBg = null;
+            m_loaIcon = null;
+            m_txtNum = null;
+            m_txtName = null;
+            m_imgGot = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListItem.cs.meta

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

+ 75 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_SevenDayLoginUI.cs

@@ -0,0 +1,75 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DailyWelfare
+{
+    public partial class UI_SevenDayLoginUI
+    {
+        public GComponent target;
+        public GList m_list;
+        public UI_Component1 m_comIcon;
+        public const string URL = "ui://t8nwuj7ilh8v6";
+        public const string PACKAGE_NAME = "DailyWelfare";
+        public const string RES_NAME = "SevenDayLoginUI";
+        private static UI_SevenDayLoginUI _proxy;
+
+        public static UI_SevenDayLoginUI Create(GObject gObject = null)
+        {
+            var ui = new UI_SevenDayLoginUI();
+            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_SevenDayLoginUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_SevenDayLoginUI();
+            }
+            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_list = (GList)comp.GetChild("list");
+            m_comIcon = (UI_Component1)UI_Component1.Create(comp.GetChild("comIcon"));
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_list = null;
+            m_comIcon.Dispose();
+            m_comIcon = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_SevenDayLoginUI.cs.meta

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

+ 35 - 5
GameClient/Assets/Game/HotUpdate/ServerProxy/ActivitySProxy.cs

@@ -10,7 +10,7 @@ namespace GFGGame
     {
         protected override async ETTask Run(Session session, S2C_NoticeTimeLimitLuckyBoxDropOutCount message)
         {
-            ActivityDataManager.Instance.lastCount = message.Count;
+            ActivityDataManager.Instance.lastDrawCount = message.Count;
             EventAgent.DispatchEvent(ConstMessage.ACTIVITY_LUCKY_BOX);
             await ETTask.CompletedTask;
         }
@@ -82,13 +82,13 @@ namespace GFGGame
             {
                 if (response.Error == ErrorCode.ERR_Success)
                 {
-                    if (ActivityDataManager.Instance.activityId != response.ActivityId)
+                    if (ActivityDataManager.Instance.actLuckyBoxId != response.ActivityId)
                     {
                         ActivityDataManager.Instance.luckyBoxActBonusState.Clear();
                     }
-                    ActivityDataManager.Instance.activityId = response.ActivityId;
+                    ActivityDataManager.Instance.actLuckyBoxId = response.ActivityId;
                     ActivityDataManager.Instance.allPlayTimes = response.AllPlayTimes;
-                    ActivityDataManager.Instance.lastCount = response.Count;
+                    ActivityDataManager.Instance.lastDrawCount = response.Count;
                     for (int i = 0; i < response.KsBonusState.Count; i++)
                     {
                         ActivityDataManager.Instance.luckyBoxActBonusState[response.KsBonusState[i]] = response.VsBonusState[i];
@@ -113,7 +113,37 @@ namespace GFGGame
             {
                 if (response.Error == ErrorCode.ERR_Success)
                 {
-                    if (ActivityDataManager.Instance.activityId != response.ActivityId)
+                    if (ActivityDataManager.Instance.actLuckyBoxId != response.ActivityId)
+                    {
+                        return false;
+                    }
+                    ActivityDataManager.Instance.luckyBoxActBonusState[response.BonusKey] = response.BonusStatus;
+
+                    int[][] bonus = ActivityLuckybonusCfgArray.Instance.GetCfgByidAndnum(response.ActivityId, response.BonusKey).bonusArr;
+                    BonusController.TryShowBonusList(bonus);
+
+                    return true;
+                }
+            }
+            return false;
+        }
+
+        /*************************************************************限时累充*****************************************************/
+        /// <summary>
+        /// 领取累充奖励
+        /// </summary>
+        /// <param name="activityId"></param>
+        /// <param name="bonusKey">奖励key,这里对应抽奖次数</param>
+        /// <returns></returns>
+        public static async ETTask<bool> ReqGetLimitChargeBonus(int activityId, int bonusKey)
+        {
+            S2C_GetTimeLimitLuckyBoxBonus response = null;
+            response = (S2C_GetTimeLimitLuckyBoxBonus)await MessageHelper.SendToServer(new C2S_GetTimeLimitLuckyBoxBonus() { ActivityId = activityId, BonusKey = bonusKey });
+            if (response != null)
+            {
+                if (response.Error == ErrorCode.ERR_Success)
+                {
+                    if (ActivityDataManager.Instance.actLuckyBoxId != response.ActivityId)
                     {
                         return false;
                     }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/LuckyBoxSProxy.cs

@@ -14,7 +14,7 @@ namespace GFGGame
             {
                 if (response.Error == ErrorCode.ERR_Success)
                 {
-                    ActivityOpenCfg activityOpenCfg = ActivityOpenCfgArray.Instance.GetCfg(ActivityDataManager.Instance.activityId);
+                    ActivityOpenCfg activityOpenCfg = ActivityOpenCfgArray.Instance.GetCfg(ActivityDataManager.Instance.actLuckyBoxId);
                     if (activityOpenCfg.paramsArr[0] == luckyBoxId)
                     {
                         ActivityDataManager.Instance.allPlayTimes += response.Times;

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxBonusView.cs

@@ -42,7 +42,7 @@ namespace GFGGame
         protected override void OnShown()
         {
             base.OnShown();
-            _bonueCfgs = ActivityLuckybonusCfgArray.Instance.GetCfgsByid(ActivityDataManager.Instance.activityId);
+            _bonueCfgs = ActivityLuckybonusCfgArray.Instance.GetCfgsByid(ActivityDataManager.Instance.actLuckyBoxId);
             _ui.m_list.numItems = _bonueCfgs.Count;
         }
 
@@ -60,7 +60,7 @@ namespace GFGGame
 
         private void RenderListItem(int index, GObject obj)
         {
-            ActivityOpenCfg activityOpenCfg = ActivityOpenCfgArray.Instance.GetCfg(ActivityDataManager.Instance.activityId);
+            ActivityOpenCfg activityOpenCfg = ActivityOpenCfgArray.Instance.GetCfg(ActivityDataManager.Instance.actLuckyBoxId);
 
             UI_ListItem item = UI_ListItem.Proxy(obj);
 
@@ -101,7 +101,7 @@ namespace GFGGame
         {
             GObject obj = context.sender as GObject;
             int key = (int)obj.data;
-            bool result = await ActivitySProxy.ReqGetTimeLimitLuckyBoxBonus(ActivityDataManager.Instance.activityId, key);
+            bool result = await ActivitySProxy.ReqGetTimeLimitLuckyBoxBonus(ActivityDataManager.Instance.actLuckyBoxId, key);
             if (result)
             {
                 _ui.m_list.numItems = _bonueCfgs.Count;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxView.cs

@@ -50,7 +50,7 @@ namespace GFGGame
             {
                 OnBtnTaskClick();
             }
-            _activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.LimitLuckyBox);
+            _activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitLuckyBox);
             _activityCfg = ActivityOpenCfgArray.Instance.GetCfg(_activityId);
             _luckyBoxCfg = LuckyBoxCfgArray.Instance.GetCfg(_activityCfg.paramsArr[0]);
             _ui.m_loaBg.url = ResPathUtil.GetBgImgPath(_activityCfg.res);

+ 13 - 0
GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/DailyWelfareView.cs

@@ -45,6 +45,8 @@ namespace GFGGame
 
             _ui.m_btnback.onClick.Add(OnBtnBackClick);
             // _ui.m_list.itemRenderer = ListItemRender;
+            _ui.m_btnLimitChargeAddUp.onClick.Add(OnBtnLimitChargeAddUpClick);
+            _ui.m_btnSevenDayLogin.onClick.Add(OnBtnSevenDayLoginClick);
             _ui.m_btnSign.onClick.Add(OnBtnSignClick);
             _ui.m_btnSupply.onClick.Add(OnBtnSupplyClick);
 
@@ -62,6 +64,9 @@ namespace GFGGame
 
             _valueBarController.OnShown();
 
+            _ui.m_btnLimitChargeAddUp.visible = ActivityDataManager.Instance.actLimitChargeId > 0;
+            _ui.m_btnSevenDayLogin.visible = !(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false)
+            || (ActivityDataManager.Instance.sevenDayLoginLoginId >= 7 && ActivityDataManager.Instance.sevenDayLoginBonusStatus == ConstBonusStatus.GOT));
 
         }
 
@@ -80,6 +85,14 @@ namespace GFGGame
         {
             ViewManager.GoBackFrom(typeof(DailyWelfareView).FullName);
         }
+        private void OnBtnLimitChargeAddUpClick()
+        {
+            ViewManager.Show<LimitChargeView>();
+        }
+        private void OnBtnSevenDayLoginClick()
+        {
+            ViewManager.Show<SevenDayLoginView>();
+        }
         private void OnBtnSignClick()
         {
             ViewManager.Show<DailySignView>();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Activity/FirstChargeBonusView.cs → GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/FirstChargeBonusView.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using ET;
 using FairyGUI;
-using UI.Activity;
+using UI.DailyWelfare;
 using UI.CommonGame;
 using UnityEngine;
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Activity/FirstChargeBonusView.cs.meta → GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/FirstChargeBonusView.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: b36531dc8592069468824f72bd94eed5
+guid: 01d0ad46c0527eb4a8162a6be1714910
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 122 - 0
GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/LimitChargeView.cs

@@ -0,0 +1,122 @@
+
+using System.Collections.Generic;
+using ET;
+using FairyGUI;
+using UI.DailyWelfare;
+using UI.CommonGame;
+using UnityEngine;
+
+namespace GFGGame
+{
+    public class LimitChargeView : BaseWindow
+    {
+        private UI_LimitChargeUI _ui;
+        private List<ActivityRechargeCfg> _rechargeCfgs;
+
+        public override void Dispose()
+        {
+
+            if (_ui != null)
+            {
+                _ui.Dispose();
+                _ui = null;
+            }
+            base.Dispose();
+        }
+
+        protected override void OnInit()
+        {
+            base.OnInit();
+            packageName = UI_LimitChargeUI.PACKAGE_NAME;
+            _ui = UI_LimitChargeUI.Create();
+            this.viewCom = _ui.target;
+            this.modal = true;
+            this.viewCom.Center();
+
+            viewAnimationType = EnumViewAnimationType.ZOOM_CENTER;
+
+            _ui.m_list.itemRenderer = RenderListItem;
+
+            _ui.m_btnCharge.onClick.Add(OnBtnChargeClick);
+
+        }
+
+        protected override void OnShown()
+        {
+            base.OnShown();
+            _rechargeCfgs = ActivityRechargeCfgArray.Instance.GetCfgsByid(ActivityDataManager.Instance.actLimitChargeId);
+            UpdateView();
+            Timers.inst.Add(1, 0, UpdateTime);
+        }
+        protected override void OnHide()
+        {
+            base.OnHide();
+            if (_ui.m_list.numItems > 0) _ui.m_list.ScrollToView(0);
+            Timers.inst.Remove(UpdateTime);
+        }
+
+        private void UpdateTime(object param)
+        {
+            ActivityOpenCfg openCfg = ActivityOpenCfgArray.Instance.GetCfg(ActivityDataManager.Instance.actLimitChargeId);
+            long curTime = TimeHelper.ServerNow();
+            long endTime = TimeUtil.DateTimeToTimestamp(openCfg.endTime);
+            _ui.m_txtTime.text = TimeUtil.FormattingTimeTo_DDHHmm(endTime - curTime);
+        }
+
+        private void OnBtnChargeClick()
+        {
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_CHARGE, ConstStoreSubId.STORE_CHARGE });
+        }
+
+        private void UpdateView()
+        {
+            _ui.m_list.numItems = _rechargeCfgs.Count;
+        }
+        private void RenderListItem(int index, GObject obj)
+        {
+
+            UI_ListChargeItem item = UI_ListChargeItem.Proxy(obj);
+
+            item.m_txtTitle.text = string.Format("活动期间累计获得{0}会员积分({1}/{2})", _rechargeCfgs[index].value, RoleDataManager.vipExp, _rechargeCfgs[index].value);
+
+            if (item.m_btnGet.data == null)
+            {
+                item.m_btnGet.onClick.Add(OnBtnGetClick);
+            }
+            item.m_btnGet.data = _rechargeCfgs[index].value;
+
+            if (item.m_listRewards.data == null)
+            {
+                item.m_listRewards.itemRenderer = RenderListRewardItem;
+            }
+            item.m_listRewards.data = _rechargeCfgs[index].bonusArr;
+            item.m_listRewards.numItems = _rechargeCfgs[index].bonusArr.Length;
+
+            UI_ListChargeItem.ProxyEnd();
+        }
+        private void RenderListRewardItem(int index, GObject obj)
+        {
+            UI_ComItem item = UI_ComItem.Proxy(obj);
+            int[] reward = GlobalCfgArray.globalCfg.firstChargeBonusArr[index];
+            ItemData itemData = ItemUtil.createItemData(reward);
+            if (obj.data == null)
+            {
+                obj.data = new ItemView(obj as GComponent);
+            }
+                   (obj.data as ItemView).SetData(itemData);
+            UI_ComItem.ProxyEnd();
+        }
+
+        private async void OnBtnGetClick(EventContext context)
+        {
+            GObject obj = context.sender as GObject;
+            int value = (int)obj.data;
+
+            bool result = await ActivitySProxy.ReqGetLimitChargeBonus(ActivityDataManager.Instance.actLimitChargeId, value);
+            if (result)
+            {
+                UpdateView();
+            }
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/LimitChargeView.cs.meta

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

+ 4 - 9
GameClient/Assets/Game/HotUpdate/Views/Activity/SevenDayLoginView.cs → GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/SevenDayLoginView.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using ET;
 using FairyGUI;
-using UI.Activity;
+using UI.DailyWelfare;
 using UnityEngine;
 
 namespace GFGGame
@@ -15,12 +15,7 @@ namespace GFGGame
 
         public override void Dispose()
         {
-            // for (int i = 0; i < _ui.m_list.numItems; i++)
-            // {
-            //     UI_ListItem listItem = UI_ListItem.Proxy(_ui.m_list.GetChildAt(i));
-            //     listItem.m_loaIcon.Dispose();
-            //     UI_ListItem.ProxyEnd();
-            // }
+
             if (_ui != null)
             {
                 _ui.Dispose();
@@ -53,7 +48,7 @@ namespace GFGGame
             _cfgs = DailyLoginCfgArray.Instance.GetCfgsBytype((int)ConstBonusType.Item);
             _cfg = DailyLoginCfgArray.Instance.GetCfgsBytype((int)ConstBonusType.Suit)[0];
             UpdateView();
-            _ui.m_comIcon.m_loaIcon.url = "ui://Activity/yzhd_dyt_5";
+            _ui.m_comIcon.m_loaIcon.url = "ui://DailyWelfare/yzhd_dyt_5";
             _ui.m_comIcon.m_loaIcon.data = _cfg;
         }
         private void UpdateView()
@@ -72,7 +67,7 @@ namespace GFGGame
         {
             DailyLoginCfg cfg = _cfgs[index];
             UI_ListItem item = UI_ListItem.Proxy(obj);
-            item.m_loaBg.url = string.Format("ui://Activity/yzhd_dyt_{0}", cfg.id);
+            item.m_loaBg.url = string.Format("ui://DailyWelfare/yzhd_dyt_{0}", cfg.id);
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cfg.rewardsArr[0][0]);
             item.m_loaIcon.url = ResPathUtil.GetIconPath(itemCfg);
             item.m_txtName.text = itemCfg.name;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Activity/SevenDayLoginView.cs.meta → GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/SevenDayLoginView.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 6857cde1d442be54a94c3bbb52b6baf4
+guid: e7bba041c331d8143801e4762f49f482
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxActivityView.cs

@@ -89,7 +89,7 @@ namespace GFGGame
 
         private void UpdateView()
         {
-            _ui.m_txtCount.SetVar("value", ActivityDataManager.Instance.lastCount.ToString()).FlushVars();
+            _ui.m_txtCount.SetVar("value", ActivityDataManager.Instance.lastDrawCount.ToString()).FlushVars();
             _ui.m_txtCount.SetVar("name", _activityCfg.themeName).FlushVars();
             UI_ComBox_4 comBox = UI_ComBox_4.Proxy(_ui.m_comBox.target);
 

+ 31 - 12
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -17,7 +17,8 @@ namespace GFGGame
         private SwipeGesture swipeGesture;
         private const int swipeDistance = 100;
         private bool isOpen = false;
-        private int _luckyBoxActivtyId = 0;
+        private int _actLuckyBoxId = 0;
+        private int _actLimitChargeId = 0;
         private GButton _btnGongGao;
         private GButton _btnHaoYou;
         private GButton _btnYouJian;
@@ -588,23 +589,34 @@ namespace GFGGame
             ViewManager.Show(ViewName.ROLE_INFO_VIEW);
         }
 
-
-
         private void Update(object param)
         {
             ShowExitAlert();
-            int activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.LimitLuckyBox);
-            _ui.m_btnActivityLuckyBox.target.visible = activityId > 0;
-            if (activityId > 0)
+
+            int actLuckyBoxId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitLuckyBox);
+            _ui.m_btnActivityLuckyBox.target.visible = actLuckyBoxId > 0;
+            if (actLuckyBoxId > 0)
             {
-                if (activityId != _luckyBoxActivtyId)
+                if (actLuckyBoxId != _actLuckyBoxId)
                 {
-                    ActivitySProxy.ReqGetTimeLimitLuckyBoxInfo(activityId).Coroutine();
-                    _luckyBoxActivtyId = activityId;
+                    ActivitySProxy.ReqGetTimeLimitLuckyBoxInfo(actLuckyBoxId).Coroutine();
+                    _actLuckyBoxId = actLuckyBoxId;
                 }
-                ActivityOpenCfg activityOpenCfg = ActivityOpenCfgArray.Instance.GetCfg(activityId);
+                ActivityOpenCfg activityOpenCfg = ActivityOpenCfgArray.Instance.GetCfg(actLuckyBoxId);
                 _ui.m_btnActivityLuckyBox.target.title = TimeUtil.FormattingTimeTo_DDHHmm(TimeUtil.DateTimeToTimestamp(activityOpenCfg.endTime) - TimeHelper.ServerNow());
             }
+
+            int actLimitChargeId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitChargeId);
+            if (_actLimitChargeId != actLimitChargeId)
+            {
+                ActivityDataManager.Instance.actLimitChargeId = actLimitChargeId;
+                _ui.m_btnDailyWelfare.target.visible = actLimitChargeId > 0 ||
+                FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyWelfareView).Name, false) && (
+                FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySignView).Name, false) ||
+                FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySupplyView).Name, false) ||
+                !(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false) ||
+                (ActivityDataManager.Instance.sevenDayLoginLoginId >= 7 && ActivityDataManager.Instance.sevenDayLoginBonusStatus == ConstBonusStatus.GOT)));
+            }
         }
         private void ShowExitAlert()
         {
@@ -648,11 +660,18 @@ namespace GFGGame
             _ui.m_btnPoem.m_loaLockIcon.visible = !FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(PoemView).Name, false);
             _ui.m_btnTravel.m_loaLockIcon.visible = !FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(TravelView).Name, false);
             _ui.m_btnArena.m_loaLockIcon.visible = !FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ArenaView).Name, false);
-            _ui.m_btnActivityLuckyBox.target.visible = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.LimitLuckyBox) > 0;
+            _ui.m_btnActivityLuckyBox.target.visible = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitLuckyBox) > 0;
 
             _ui.m_btnDailyLogin.target.visible = !(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false)
             || (ActivityDataManager.Instance.sevenDayLoginLoginId >= 7 && ActivityDataManager.Instance.sevenDayLoginBonusStatus == ConstBonusStatus.GOT));
-            _ui.m_btnDailyWelfare.target.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyWelfareView).Name, false);
+
+            int actLimitChargeId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitChargeId);
+            _ui.m_btnDailyWelfare.target.visible = actLimitChargeId > 0 ||
+            FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyWelfareView).Name, false) && (
+            FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySignView).Name, false) ||
+            FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySupplyView).Name, false) ||
+            !(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false) ||
+            (ActivityDataManager.Instance.sevenDayLoginLoginId >= 7 && ActivityDataManager.Instance.sevenDayLoginBonusStatus == ConstBonusStatus.GOT)));
 
             _btnGongGao.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(NoticeView).Name, false);
             _btnHaoYou.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(FriendView).Name, false);

+ 0 - 289
GameClient/Assets/Game/HotUpdate/Views/Store/RechargeStoreView.cs

@@ -1,289 +0,0 @@
-// using UI.Store;
-// using UI.CommonGame;
-// using FairyGUI;
-// using System.Collections.Generic;
-// using ET;
-
-// namespace GFGGame
-// {
-//     public class RechargeStoreView : BaseWindow
-//     {
-//         private UI_RechargeStoreUI _ui;
-//         private List<GiftBagCfg> _giftCfgs;
-//         private List<ShopExchangeCfg> _exchangeCfgs;
-//         public override void Dispose()
-//         {
-
-//             if (_ui != null)
-//             {
-//                 _ui.Dispose();
-//             }
-//             _ui = null;
-//             base.Dispose();
-//         }
-
-//         protected override void OnInit()
-//         {
-//             base.OnInit();
-//             packageName = UI_RechargeStoreUI.PACKAGE_NAME;
-//             _ui = UI_RechargeStoreUI.Create();
-//             this.viewCom = _ui.target;
-//             isfullScreen = true;
-//             this.clickBlankToClose = false;
-
-//             _ui.m_list.itemRenderer = ListItemRenderer;
-//             _ui.m_listGift.itemRenderer = ListGiftItemRenderer;
-//             _ui.m_listExchange.itemRenderer = ListExchangeItemRenderer;
-
-//             _ui.m_comTab.m_c1.onChanged.Add(OnComTabChange);
-//             _ui.m_c1.onChanged.Add(OnTabChange);
-
-
-//         }
-//         protected override void AddEventListener()
-//         {
-//             base.AddEventListener();
-//             EventAgent.AddEventListener(ConstMessage.BUY_RECHARGE_SUCCESS, UpdateList);
-//             EventAgent.AddEventListener(ConstMessage.BUY_EXCHANGE_SUCCESS, UpdateExchangeList);
-//             EventAgent.AddEventListener(ConstMessage.BUY_GIFT_SUCCESS, UpdateGiftBagList);
-//             EventAgent.AddEventListener(ConstMessage.RED_CHANGE, UpdateRedDot);
-//         }
-//         protected override void OnShown()
-//         {
-//             base.OnShown();
-
-//             _ui.m_c1.selectedIndex = this.viewData == null ? 0 : (int)this.viewData;
-//             _ui.m_comTab.m_c1.selectedIndex = this.viewData == null ? 0 : (int)this.viewData;
-//             _ui.m_list.numItems = RechargeCfgArray.Instance.dataArray.Length;
-//             UpdateExchangeList();
-//             UpdateGiftBagList();
-//             OnTabChange();
-//             Timers.inst.Add(1, 0, UpdateExchangeTime);
-//         }
-
-//         protected override void OnHide()
-//         {
-//             base.OnHide();
-//             Timers.inst.Remove(UpdateExchangeTime);
-
-//         }
-//         protected override void RemoveEventListener()
-//         {
-//             base.RemoveEventListener();
-//             EventAgent.RemoveEventListener(ConstMessage.BUY_RECHARGE_SUCCESS, UpdateList);
-//             EventAgent.RemoveEventListener(ConstMessage.BUY_EXCHANGE_SUCCESS, UpdateExchangeList);
-//             EventAgent.RemoveEventListener(ConstMessage.BUY_GIFT_SUCCESS, UpdateGiftBagList);
-//             EventAgent.RemoveEventListener(ConstMessage.RED_CHANGE, UpdateRedDot);
-//         }
-
-//         private void OnComTabChange()
-//         {
-//             _ui.m_c1.selectedIndex = _ui.m_comTab.m_c1.selectedIndex;
-
-//         }
-//         private void OnTabChange()
-//         {
-//             _ui.m_list.ScrollToView(0);
-//             _ui.m_listGift.ScrollToView(0);
-//             _ui.m_listExchange.ScrollToView(0);
-//         }
-//         private void UpdateList()
-//         {
-//             _ui.m_list.numItems = RechargeCfgArray.Instance.dataArray.Length;
-//         }
-//         private void UpdateGiftBagList()
-//         {
-//             _giftCfgs = StoreDataManager.Instance.GetGiftBagCfgs();
-//             _ui.m_listGift.numItems = _giftCfgs.Count;
-//             UpdateRedDot();
-//         }
-//         private void UpdateExchangeList()
-//         {
-//             _exchangeCfgs = StoreDataManager.Instance.GetExchangeCfgs();
-//             _ui.m_listExchange.numItems = _exchangeCfgs.Count;
-//         }
-//         private void UpdateExchangeTime(object param)
-//         {
-//             long endTime = TimeUtil.GetTomorrowTime(GlobalCfgArray.globalCfg.refreshTime);
-//             string time = TimeUtil.FormattingTime(TimeHelper.ServerNow(), endTime);
-//             _ui.m_txtRefreshTime.text = time + "后刷新";
-//             for (int i = 0; i < _ui.m_listGift.numItems; i++)
-//             {
-//                 UI_ListGiftItem item = UI_ListGiftItem.Proxy(_ui.m_listGift.GetChildAt(i));
-//                 GiftBagCfg cfg = _giftCfgs[i];
-//                 item.m_txtEndTime.text = StoreDataManager.Instance.GetEndTime(cfg.id);
-//                 UI_ListGiftItem.ProxyEnd();
-//             }
-//         }
-//         private void ListItemRenderer(int index, GObject obj)
-//         {
-//             RechargeCfg itemData = RechargeCfgArray.Instance.dataArray[index];
-//             UI_StoreListItem item = UI_StoreListItem.Proxy(obj);
-//             item.m_txtExchangeCount.visible = false;
-//             item.m_btnBuy.m_c1.selectedIndex = 1;
-//             item.m_btnBuy.m_txtTitle.text = itemData.price.ToString();
-//             if (item.target.data == null)
-//             {
-//                 item.target.onClick.Add(() =>
-//                 {
-//                     if (!AntiAddictionController.CheckAntiAddictionRecharge(itemData.price))
-//                     {
-//                         RechargeSProxy.ReqRecharge(itemData.id).Coroutine();
-//                         LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.SHANG_CHENG, 2);
-//                     }
-//                 });
-//             }
-//             item.target.data = index;
-//             item.m_txtName.text = string.Format("{0}{1}", itemData.itemNum, itemData.name);
-//             item.m_txtDesc.text = string.Format("首充赠送+{0}{1}", itemData.itemNum, itemData.name);
-//             bool isDouble = StoreDataManager.Instance.GetRechargeBuyNumById(itemData.id) < itemData.doubleTimes;
-//             item.m_imgDouble.visible = isDouble;
-//             item.m_txtDesc.visible = isDouble;
-//             item.m_icon.url = "ui://Store/sc_zizhuan_" + itemData.id;
-
-//             UI_StoreListItem.ProxyEnd();
-//         }
-
-//         private void ListGiftItemRenderer(int index, GObject obj)
-//         {
-//             UI_ListGiftItem item = UI_ListGiftItem.Proxy(obj);
-//             GiftBagCfg cfg = _giftCfgs[index];
-
-//             item.m_txtName.text = cfg.name;
-//             item.m_icon.url = ResPathUtil.GetIconPath(cfg.res, "png"); // string.Format("ui://RechargeStore/{0}", cfg.res);
-
-//             item.m_txtDesc.SetVar("count", cfg.desc).FlushVars(); ;
-//             item.m_grpDiscount.visible = cfg.desc != "";
-
-//             item.m_txtEndTime.text = StoreDataManager.Instance.GetEndTime(cfg.id);
-//             item.m_grpEndTime.visible = cfg.endTime != "";
-
-//             item.m_c2.selectedIndex = StoreDataManager.Instance.GetGiftStateById(cfg.id) ? 0 : 1;
-//             if (cfg.lockType == LockType.STORY_LV)
-//             {
-//                 StoryLevelCfg storyLevelCfg = StoryLevelCfgArray.Instance.GetCfg(cfg.storyLevelId);
-//                 item.m_txtLock.text = string.Format("通关{0}-{1}解锁", StoryUtil.GetChapterOrder(storyLevelCfg.chapterId), storyLevelCfg.order);
-//             }
-//             else if (cfg.lockType == LockType.ROLE_LV)
-//             {
-//                 item.m_txtLock.text = string.Format("角色达到{0}级解锁", cfg.lv);
-//             }
-
-//             int buyNum = StoreDataManager.Instance.GetGiftBuyNumById(cfg.id);
-//             item.m_txtLimit.text = string.Format("{0}({1}/{2})", StoreDataManager.Instance.refreshType[cfg.refreshType], StringUtil.GetColorText(buyNum.ToString(), "#DA8870"), cfg.maxBuyNum);
-//             item.m_txtLimit.visible = cfg.maxBuyNum > 0;
-//             item.m_c1.selectedIndex = cfg.maxBuyNum == 0 || buyNum < cfg.maxBuyNum ? 0 : 1;
-//             if (item.m_c1.selectedIndex == 0)
-//             {
-//                 item.m_txtOriginalPrice.text = NumberUtil.ChangeNumberUnit(cfg.originalPrice);// cfg.originalPrice.ToString();
-//                 if (cfg.price > 0 && cfg.costType != CostType.FREE)
-//                 {
-//                     item.m_grpOriginalPrice.visible = cfg.originalPrice > 0;
-//                     item.m_grpIcon.visible = true;
-//                     item.m_txtPrice.text = NumberUtil.ChangeNumberUnit(cfg.price);// cfg.price.ToString();
-
-//                     if (cfg.costType == CostType.RMB)
-//                     {
-//                         item.m_loaIcon.visible = false;
-//                         item.m_txtIcon.visible = true;
-//                         item.m_txtIcon.text = "¥";
-//                     }
-//                     else
-//                     {
-//                         ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cfg.costId);
-//                         item.m_loaIcon.url = ResPathUtil.GetCommonGameResPath(itemCfg.res);
-//                         item.m_loaIcon.visible = true;
-//                         item.m_txtIcon.visible = false;
-//                     }
-//                 }
-//                 else
-//                 {
-//                     item.m_grpIcon.visible = false;
-//                     item.m_grpOriginalPrice.visible = false;
-//                     item.m_txtPrice.text = "免费";
-//                 }
-//             }
-
-//             if (item.target.data == null)
-//             {
-//                 item.target.onClick.Add(OnBtnBuyClick);
-//             }
-//             item.target.data = cfg.id;
-//             bool isRed = item.m_c1.selectedIndex == 0 && item.m_c2.selectedIndex == 0 && cfg.price == 0;
-
-//             RedDotController.Instance.SetComRedDot(item.target, isRed, "", -6, 100);
-//             UI_ListGiftItem.ProxyEnd();
-//         }
-//         private void OnBtnBuyClick(EventContext context)
-//         {
-//             GObject btn = context.sender as GObject;
-//             int giftId = (int)btn.data;
-//             GiftBagCfg cfg = GiftBagCfgArray.Instance.GetCfg(giftId);
-//             if (cfg.maxBuyNum != 0 && StoreDataManager.Instance.GetGiftBuyNumById(giftId) == cfg.maxBuyNum)
-//             {
-//                 PromptController.Instance.ShowFloatTextPrompt("已售罄");
-//                 return;
-//             }
-//             if (cfg.price == 0 || cfg.costType == CostType.FREE)
-//             {
-//                 RechargeSProxy.ReqBuyGiftBag((int)btn.data).Coroutine();
-//             }
-//             else
-//             {
-//                 ViewManager.Show<GiftBagBuyView>(btn.data);
-//             }
-//         }
-
-//         private void ListExchangeItemRenderer(int index, GObject obj)
-//         {
-//             ShopExchangeCfg cfg = _exchangeCfgs[index];
-//             UI_StoreListItem item = UI_StoreListItem.Proxy(obj);
-//             item.m_btnBuy.m_c1.selectedIndex = 0;
-//             item.m_btnBuy.m_txtTitle.text = cfg.costNum.ToString();
-//             item.m_txtExchangeCount.text = string.Format("x{0}", cfg.num);
-//             // item.m_txtExchangeCount.visible = cfg.num > 1;
-//             bool isSellOut = cfg.maxLimit > 0 && cfg.maxLimit - StoreDataManager.Instance.GetExchangeBuyNumById(cfg.id) <= 0;
-//             item.m_c1.selectedIndex = isSellOut ? 1 : 0;
-//             if (item.target.data == null)
-//             {
-//                 // item.target.onClick.Add(() =>
-//                 // {
-//                 //     bool isSellOut = cfg.maxLimit > 0 && cfg.maxLimit - RechargeDataManager.Instance.GetExchangeBuyNumById(cfg.id) <= 0;
-//                 //     if (isSellOut)
-//                 //     {
-//                 //         PromptController.Instance.ShowFloatTextPrompt("已售罄");
-//                 //         return;
-//                 //     }
-//                 //     ViewManager.Show<ItemExchangeView>(cfg.id);
-//                 // });
-//                 item.target.onClick.Add(OnBtnBugItem);
-//             }
-//             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(cfg.itemId);
-//             item.target.data = cfg;
-//             item.m_btnBuy.m_loaIcon.url = ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(cfg.costId).res);
-//             item.m_txtName.text = itemCfg.name;
-//             item.m_txtDesc.text = string.Format("剩余:{0}", cfg.maxLimit - StoreDataManager.Instance.GetExchangeBuyNumById(cfg.id));
-//             if (cfg.maxLimit == 0) item.m_txtDesc.text = "剩余:不限";
-//             item.m_imgDouble.visible = false;
-//             item.m_icon.url = ResPathUtil.GetIconPath(itemCfg);
-
-//             UI_StoreListItem.ProxyEnd();
-//         }
-//         private void OnBtnBugItem(EventContext context)
-//         {
-//             ShopExchangeCfg cfg = (context.sender as GObject).data as ShopExchangeCfg;
-//             bool isSellOut = cfg.maxLimit > 0 && cfg.maxLimit - StoreDataManager.Instance.GetExchangeBuyNumById(cfg.id) <= 0;
-//             if (isSellOut)
-//             {
-//                 PromptController.Instance.ShowFloatTextPrompt("已售罄");
-//                 return;
-//             }
-//             ViewManager.Show<ItemExchangeView>(cfg.id);
-//         }
-
-//         private void UpdateRedDot()
-//         {
-//             RedDotController.Instance.SetComRedDot(_ui.m_comTab.m_btn1.target, RedDotDataManager.Instance.GetRechargeGiftFreeRed());
-//         }
-//     }
-// }

BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2.png


+ 96 - 0
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: df7b435660347d340a4f2729e2c586cd
+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: 

BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_3.png


+ 96 - 0
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_3.png.meta

@@ -0,0 +1,96 @@
+fileFormatVersion: 2
+guid: e59e76af429a2e54489f17f26db2db9d
+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: 

BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_fui.bytes