zhaoyang 2 жил өмнө
parent
commit
4457347129

+ 3 - 1
FGUIProject/assets/League/LeagueUI.xml

@@ -16,7 +16,9 @@
     <component id="n19_u2u3" name="btnConstruct" src="u2u31b" fileName="components/Button3.xml" xy="346,81" controller="c1,0">
       <Button title="雅集建设"/>
     </component>
-    <text id="n30_gfx4" name="txtLowKeep" xy="771,32" pivot="1,0" size="255,41" font="ui://eg2y0ldpa0cftks" fontSize="30" color="#ff0000" align="right" text="已连续低维护:1天"/>
+    <image id="n32_duuf" name="n32" src="duuf82" fileName="images/lm_zjm_lxdwh_db.png" xy="125,219" group="n33_duuf"/>
+    <text id="n30_gfx4" name="txtLowKeep" xy="171,215" pivot="0.5,0" size="242,39" group="n33_duuf" font="ui://eg2y0ldpa0cftks" fontSize="28" color="#68430f" align="right" text="已连续低维护:1天"/>
+    <group id="n33_duuf" name="grpLowKeep" xy="125,215" size="345,39" advanced="true"/>
     <image id="n23_o9gh" name="n23" src="o9gh45" fileName="images/lm_zjm_lmmzkuang.png" xy="139,261" group="n31_fqor"/>
     <text id="n10_u2u3" name="txtUnionName" xy="185,263" pivot="0.5,0" size="212,44" group="n31_fqor" font="ui://eg2y0ldpa0cftks" fontSize="32" color="#fff6dc" align="center" autoClearText="true" text="雅集名字7个字"/>
     <component id="n20_a0cf" name="comLeagueHead" src="a0cf30" fileName="components/ComLeagueHead.xml" xy="44,213" group="n31_fqor"/>

BIN
FGUIProject/assets/League/images/lm_zjm_lxdwh_db.png


+ 1 - 0
FGUIProject/assets/League/package.xml

@@ -201,6 +201,7 @@
     <image id="l5007z" name="yj_zz.png" path="/images/"/>
     <component id="idkd80" name="ComSkillUp.xml" path="/"/>
     <component id="vols81" name="ComLine.xml" path="/components/"/>
+    <image id="duuf82" name="lm_zjm_lxdwh_db.png" path="/images/"/>
   </resources>
   <publish name="" path="../GameClient/Assets/ResIn/UI/League" packageCount="2" genCode="true" maxAtlasSize="2048" extractAlpha="true"/>
 </packageDescription>

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/League/UI_LeagueUI.cs

@@ -13,6 +13,7 @@ namespace UI.League
         public UI_Button3 m_btnMember;
         public UI_Button3 m_btnConstruct;
         public GTextField m_txtLowKeep;
+        public GGroup m_grpLowKeep;
         public GTextField m_txtUnionName;
         public UI_ComLeagueHead m_comLeagueHead;
         public GComponent m_comHead;
@@ -78,6 +79,7 @@ namespace UI.League
             m_btnMember = (UI_Button3)UI_Button3.Create(comp.GetChild("btnMember"));
             m_btnConstruct = (UI_Button3)UI_Button3.Create(comp.GetChild("btnConstruct"));
             m_txtLowKeep = (GTextField)comp.GetChild("txtLowKeep");
+            m_grpLowKeep = (GGroup)comp.GetChild("grpLowKeep");
             m_txtUnionName = (GTextField)comp.GetChild("txtUnionName");
             m_comLeagueHead = (UI_ComLeagueHead)UI_ComLeagueHead.Create(comp.GetChild("comLeagueHead"));
             m_comHead = (GComponent)comp.GetChild("comHead");
@@ -101,6 +103,7 @@ namespace UI.League
             m_btnConstruct.Dispose();
             m_btnConstruct = null;
             m_txtLowKeep = null;
+            m_grpLowKeep = null;
             m_txtUnionName = null;
             m_comLeagueHead.Dispose();
             m_comLeagueHead = null;

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/League/LeagueView.cs

@@ -124,8 +124,8 @@ namespace GFGGame
         private void UpdateInfo()
         {
             LeagueData leagueData = LeagueDataManager.Instance.LeagueData;
-            int lowKeepDay = (int)LeagueDataManager.Instance.GetNumeriValue(LeagueNumericType.LowKeepDay);
-            _ui.m_txtLowKeep.visible = lowKeepDay > 0;
+            long lowKeepDay = LeagueDataManager.Instance.GetNumeriValue(LeagueNumericType.LowKeepDay);
+            _ui.m_grpLowKeep.visible = lowKeepDay > 0;
             _ui.m_txtLowKeep.text = string.Format("已连续低维护:{0}天", lowKeepDay);
             _ui.m_txtUnionName.text = leagueData.Name;
             _ui.m_comLeagueHead.m_loaUnionIcon.url = ResPathUtil.GetLeagueIconPath(leagueData.Icon);

BIN
GameClient/Assets/ResIn/UI/League/League_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_1!a.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_2!a.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_2.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_3!a.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_3.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_4!a.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_4.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_5!a.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_5.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_6!a.png


BIN
GameClient/Assets/ResIn/UI/League/League_atlas0_6.png


BIN
GameClient/Assets/ResIn/UI/League/League_fui.bytes