Эх сурвалжийг харах

雅集主界面增加 玩法描述

hexiaojie 2 жил өмнө
parent
commit
70f656d6d6

+ 2 - 2
FGUIProject/assets/League/LeagueUI.xml

@@ -7,7 +7,7 @@
     <component id="n1_u2u3" name="btnBack" src="9xlo8" fileName="components/BtnBack.xml" pkg="eg2y0ldp" xy="35,80">
       <relation target="" sidePair="left-left,top-top"/>
     </component>
-    <component id="n22_a0cf" name="btnRule" src="psphtkg" fileName="components/BtnRule.xml" pkg="eg2y0ldp" xy="296,88" size="36,37" visible="false">
+    <component id="n22_a0cf" name="btnRule" src="psphtkg" fileName="components/BtnRule.xml" pkg="eg2y0ldp" xy="460,91" size="36,37" visible="false">
       <Button icon="ui://eg2y0ldpo9gh4b"/>
     </component>
     <component id="n18_u2u3" name="btnMember" src="u2u31b" fileName="components/Button3.xml" xy="811,67" size="94,91" controller="c1,1">
@@ -35,7 +35,7 @@
     </component>
     <text id="n14_u2u3" name="txtLeaderName" xy="789,235" size="187,39" group="n26_o9gh" font="ui://eg2y0ldpa0cftkx" fontSize="28" color="#923c1a" autoClearText="true" text="会长名字7个字"/>
     <text id="n15_u2u3" name="txtNotice" xy="612,287" size="396,69" group="n26_o9gh" font="ui://eg2y0ldpa0cftky" fontSize="28" color="#915e15" leading="-4" autoSize="height" autoClearText="true" text="联盟公告联盟公告联盟公盟公联盟联盟公告联盟公告联盟"/>
-    <text id="n29_o9gh" name="n29" xy="793,208" size="39,26" group="n26_o9gh" font="ui://eg2y0ldpa0cftkz" fontSize="18" color="#fffbed" text="社长"/>
+    <text id="n29_o9gh" name="n29" xy="793,208" size="40,26" group="n26_o9gh" font="ui://eg2y0ldpa0cftkz" fontSize="18" color="#fffbed" text="社长"/>
     <component id="n34_ofwu" name="btnChat" src="rv091l" fileName="components/Button10.xml" xy="961,378" size="66,66" group="n26_o9gh">
       <relation target="n25_o9gh" sidePair="right-right,top-bottom"/>
       <Button icon="ui://tw70qm9dofwu8g"/>

+ 1 - 1
GameClient/Assets/Game/HotUpdate/GameConfig.cs

@@ -21,7 +21,7 @@ namespace GFGGame
             var result = JsonMapper.ToObject<Result>(json);
             LoginAddress = result.loginApiUrl;
             // LoginAddress = "http://login.gfg.com:10005";
-            //LoginAddress = "127.0.0.1:10005";//测试地址
+            LoginAddress = "127.0.0.1:10005";//测试地址
             PlatformName = result.platformName;
             showGM = int.Parse(result.showGM);
             if(!string.IsNullOrEmpty(result.openTime))

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

@@ -42,6 +42,8 @@ namespace GFGGame
             _ui.m_btnParty.target.onClick.Add(OnBtnPartyClick);
             _ui.m_btnChat.onClick.Add(OnBtnChatClick);
             _ui.m_comHead.onClick.Add(OnShowOhterInfo);
+            _ui.m_btnRule.onClick.Add(RuleController.ShowRuleView);
+            _ui.m_btnRule.data = 300015;
         }
         protected override void AddEventListener()
         {