瀏覽代碼

主界面按钮位置

zhaoyang 2 年之前
父節點
當前提交
4a19cd6d17

+ 6 - 8
FGUIProject/assets/Main/MainUI.xml

@@ -34,9 +34,6 @@
       <Button icon="ui://mfvz4q8kv482fq"/>
       <property target="loaLockIcon" propertyId="1" value="ui://mfvz4q8kv95qhw"/>
     </component>
-    <component id="n69_weok" name="loaRight" src="weokii" fileName="components/Component7.xml" xy="889,1185" group="n52_qqat">
-      <relation target="n57_oju1" sidePair="top-bottom"/>
-    </component>
     <component id="n79_g1yr" name="btnFirstRecharge" src="volso9" fileName="components/BtnModle.xml" xy="547,162" group="n88_ktf2">
       <Button title="首充"/>
     </component>
@@ -52,7 +49,7 @@
     <image id="n91_jt8d" name="n91" src="jt8doy" fileName="imagesNew/db_qipaokuang.png" xy="743,1101" size="218,44" group="n93_jt8d"/>
     <text id="n92_jt8d" name="n92" xy="748,1103" pivot="0.5,0" size="204,39" group="n93_jt8d" fontSize="28" color="#fef7f7" letterSpacing="-2" strokeColor="#836330" strokeSize="0.5" text="雅集夜宴进行中..."/>
     <group id="n93_jt8d" name="grpLeagueAnswer" xy="743,1101" size="218,44" group="n52_qqat" advanced="true"/>
-    <list id="n41_wg7t" name="list" xy="940,321" size="120,868" group="n57_oju1" overflow="hidden" scroll="horizontal" margin="20,0,0,0" lineGap="20" colGap="14" align="right" scrollItemToViewOnClick="false" foldInvisibleItems="true">
+    <list id="n41_wg7t" name="list" xy="915,321" size="120,868" group="n57_oju1" overflow="hidden" scroll="horizontal" margin="20,0,0,0" lineGap="20" colGap="14" align="right" scrollItemToViewOnClick="false" foldInvisibleItems="true">
       <relation target="" sidePair="right-right"/>
       <item url="ui://mfvz4q8kwg7t8y" icon="ui://mfvz4q8kq08x9" name="btnGongGao"/>
       <item url="ui://mfvz4q8kwg7t8y" icon="ui://mfvz4q8kq08xj" name="btnYouJian"/>
@@ -66,10 +63,11 @@
       <item url="ui://mfvz4q8kwg7t8y" icon="ui://mfvz4q8kq08xb" name="btnJInShu"/>
       <item url="ui://mfvz4q8kwg7t8y" icon="ui://mfvz4q8kq08xf" name="btnTianGong"/>
     </list>
-    <component id="n43_wg7t" name="btnChange" src="wg7t8z" fileName="components/ButtonChange.xml" xy="1002,1181" pivot="0.5,0" anchor="true" size="114,117" group="n57_oju1" visible="false">
+    <component id="n43_wg7t" name="btnChange" src="wg7t8z" fileName="components/ButtonChange.xml" xy="977,1189" pivot="0.5,0" anchor="true" size="114,117" group="n57_oju1" visible="false">
       <relation target="n41_wg7t" sidePair="center-center,bottom-bottom"/>
     </component>
-    <group id="n57_oju1" name="grpList" xy="940,321" size="120,977" group="n52_qqat" advanced="true">
+    <component id="n69_weok" name="loaRight" src="weokii" fileName="components/Component7.xml" xy="864,1189" group="n57_oju1"/>
+    <group id="n57_oju1" name="grpList" xy="864,321" size="200,1102" group="n52_qqat" advanced="true" layout="vt" excludeInvisibles="true">
       <relation target="" sidePair="right-right,top-top"/>
     </group>
     <component id="n90_vols" name="comListAd" src="volsos" fileName="components/ComAd.xml" xy="0,314" size="411,145" group="n89_vols"/>
@@ -86,7 +84,7 @@
     <group id="n89_vols" name="n89" xy="0,314" size="411,635" group="n52_qqat" advanced="true" layout="vt" lineGap="10" excludeInvisibles="true">
       <relation target="" sidePair="left-left,top-top"/>
     </group>
-    <group id="n52_qqat" name="grpLeft" xy="0,160" size="1089,1760" group="n59_oju1" advanced="true"/>
+    <group id="n52_qqat" name="grpLeft" xy="0,160" size="1080,1760" group="n59_oju1" advanced="true"/>
     <component id="n70_weok" name="loaLeft" src="9xlo8" fileName="components/BtnBack.xml" pkg="eg2y0ldp" xy="38,164" group="n58_oju1"/>
     <component id="n72_mzf8" name="btn1" src="mzf8iu" fileName="components/ButtonModle7.xml" xy="580,1199" group="n58_oju1" visible="false">
       <Button icon="ui://mfvz4q8kmzf8ik"/>
@@ -119,7 +117,7 @@
       <property target="icon1" propertyId="1" value="ui://mfvz4q8kjx6zp9"/>
     </component>
     <group id="n58_oju1" name="grpRight" xy="38,164" size="892,1402" group="n59_oju1" advanced="true"/>
-    <group id="n59_oju1" name="grpMove" xy="0,85" size="1089,1835" advanced="true"/>
+    <group id="n59_oju1" name="grpMove" xy="0,85" size="1080,1835" advanced="true"/>
     <loader id="n66_v95q" name="loaGuidestudio" xy="0,0" size="1080,1920" visible="false"/>
     <graph id="n71_mzf8" name="n71" xy="0,0" size="1080,1920" alpha="0" touchable="false" type="rect" lineSize="0">
       <relation target="" sidePair="width-width,height-height"/>

+ 4 - 4
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_MainUI.cs

@@ -14,13 +14,13 @@ namespace UI.Main
         public UI_ButtonModle1 m_btnXiuFang;
         public UI_ButtonModle1 m_btnCiPai;
         public UI_ButtonModle1 m_btnZhaiXing;
-        public UI_Component7 m_loaRight;
         public UI_BtnModle m_btnFirstRecharge;
         public UI_BtnModle m_btnGiftBag1;
         public UI_BtnModle m_btnGiftBag2;
         public GGroup m_grpLeagueAnswer;
         public GList m_list;
         public UI_ButtonChange m_btnChange;
+        public UI_Component7 m_loaRight;
         public GGroup m_grpList;
         public UI_ComAd m_comListAd;
         public UI_BtnModle1 m_btnDailyWelfare;
@@ -95,13 +95,13 @@ namespace UI.Main
             m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
             m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
             m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
-            m_loaRight = (UI_Component7)UI_Component7.Create(comp.GetChild("loaRight"));
             m_btnFirstRecharge = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnFirstRecharge"));
             m_btnGiftBag1 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag1"));
             m_btnGiftBag2 = (UI_BtnModle)UI_BtnModle.Create(comp.GetChild("btnGiftBag2"));
             m_grpLeagueAnswer = (GGroup)comp.GetChild("grpLeagueAnswer");
             m_list = (GList)comp.GetChild("list");
             m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
+            m_loaRight = (UI_Component7)UI_Component7.Create(comp.GetChild("loaRight"));
             m_grpList = (GGroup)comp.GetChild("grpList");
             m_comListAd = (UI_ComAd)UI_ComAd.Create(comp.GetChild("comListAd"));
             m_btnDailyWelfare = (UI_BtnModle1)UI_BtnModle1.Create(comp.GetChild("btnDailyWelfare"));
@@ -138,8 +138,6 @@ namespace UI.Main
             m_btnCiPai = null;
             m_btnZhaiXing.Dispose();
             m_btnZhaiXing = null;
-            m_loaRight.Dispose();
-            m_loaRight = null;
             m_btnFirstRecharge.Dispose();
             m_btnFirstRecharge = null;
             m_btnGiftBag1.Dispose();
@@ -150,6 +148,8 @@ namespace UI.Main
             m_list = null;
             m_btnChange.Dispose();
             m_btnChange = null;
+            m_loaRight.Dispose();
+            m_loaRight = null;
             m_grpList = null;
             m_comListAd.Dispose();
             m_comListAd = null;

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -1004,6 +1004,7 @@ namespace GFGGame
                 FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(FieldGuideView).Name, false);
 
             _btnActivityDay7.visible = ActivityDay7DataManager.Instance.CheckOpen();
+            _ui.m_list.ResizeToFit();
         }
 
         private void UpdateRedDot()

二進制
GameClient/Assets/ResIn/UI/Main/Main_atlas0!a.png


二進制
GameClient/Assets/ResIn/UI/Main/Main_atlas0.png


二進制
GameClient/Assets/ResIn/UI/Main/Main_atlas0_1.png


二進制
GameClient/Assets/ResIn/UI/Main/Main_atlas0_3.png


二進制
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes