浏览代码

图鉴替换资源

zhaoyang 3 年之前
父节点
当前提交
1d956cab69

+ 1 - 1
FGUIProject/assets/FieldGuide/FieldGuideUI.xml

@@ -6,7 +6,7 @@
     </loader>
     <component id="n2_pjip" name="compBanner" src="pjipg" fileName="components/CompBanner.xml" xy="0,0"/>
     <component id="n1_pjip" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,80"/>
-    <list id="n13_pjip" name="listGuide" xy="58,407" size="964,1513" overflow="scroll" defaultItem="ui://vqq9h9h4pjipe" autoClearItems="true">
+    <list id="n13_pjip" name="listGuide" xy="43,407" size="994,1513" overflow="scroll" lineGap="50" defaultItem="ui://vqq9h9h4pjipe" autoClearItems="true">
       <relation target="" sidePair="bottomext-bottom"/>
       <item/>
       <item/>

+ 4 - 4
FGUIProject/assets/FieldGuide/components/ButtonBannerPage.xml

@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="47,15" extention="Button">
-  <controller name="button" pages="0,up,1,down,2,over,3,selectedOver" selected="0"/>
+<component size="136,32" extention="Button">
+  <controller name="button" pages="0,up,1,down" selected="1"/>
   <displayList>
-    <image id="n0_pjip" name="img1" src="pjipb" fileName="images/tujian_qiehuan_1.png" xy="0,0">
+    <image id="n0_pjip" name="img1" src="pjipb" fileName="images/tujian_qiehuan_1.png" xy="5,0">
       <gearDisplay controller="button" pages="1,3"/>
     </image>
-    <image id="n1_pjip" name="img2" src="pjip2" fileName="images/tujian_qiehuan_2.png" xy="0,0">
+    <image id="n1_pjip" name="img2" src="pjip2" fileName="images/tujian_qiehuan_2.png" xy="61,11">
       <gearDisplay controller="button" pages="0,2"/>
     </image>
   </displayList>

+ 2 - 1
FGUIProject/assets/FieldGuide/components/CompBanner.xml

@@ -2,7 +2,8 @@
 <component size="1080,354">
   <displayList>
     <loader id="n2_pjip" name="loaderPic" xy="0,0" size="1080,354" url="ui://vqq9h9h4pjipa"/>
-    <list id="n7_pjip" name="listTab" xy="466,295" size="148,15" layout="flow_hz" colGap="19" defaultItem="ui://vqq9h9h4pjipd" autoClearItems="true">
+    <image id="n8_r0yx" name="n8" src="r0yx1p" fileName="images/tujian_qiehuan_3.png" xy="100,336"/>
+    <list id="n7_pjip" name="listTab" xy="216,316" size="648,41" layout="flow_hz" colGap="50" defaultItem="ui://vqq9h9h4pjipd" align="center" vAlign="middle" autoClearItems="true">
       <item/>
       <item/>
       <item/>

+ 3 - 3
FGUIProject/assets/FieldGuide/components/CompGuideItem.xml

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
-<component size="964,295">
+<component size="994,236">
   <displayList>
     <image id="n8_pjip" name="bg" src="pjip9" fileName="images/tujian_dikuang_1.png" xy="0,0"/>
-    <loader id="n15_pjip" name="loaderPic" xy="21,17" size="922,202" url="ui://vqq9h9h4u6p31m"/>
-    <loader id="n11_pjip" name="loaderTitle" xy="15,-5" size="215,101" url="ui://vqq9h9h4pjip4"/>
+    <loader id="n15_pjip" name="loaderPic" xy="21,17" size="922,202" url="ui://vqq9h9h4u6p31m" autoSize="true"/>
+    <loader id="n11_pjip" name="loaderTitle" xy="40,0" size="58,198" url="ui://vqq9h9h4pjip4" autoSize="true"/>
     <image id="n12_pjip" name="n12" src="pjip3" fileName="images/tujian_sjdu.png" xy="814,90"/>
     <text id="n13_pjip" name="n13" xy="834,129" size="76,34" fontSize="24" color="#fff9f0" text="收集度">
       <relation target="n12_pjip" sidePair="center-center"/>

二进制
FGUIProject/assets/FieldGuide/images/tujian_dikuang_1.png


二进制
FGUIProject/assets/FieldGuide/images/tujian_qiehuan_1.png


二进制
FGUIProject/assets/FieldGuide/images/tujian_qiehuan_2.png


二进制
FGUIProject/assets/FieldGuide/imagesExport/tujian_taoz_1.png


二进制
FGUIProject/assets/FieldGuide/imagesExport/tujian_taoz_2.png


二进制
FGUIProject/assets/FieldGuide/imagesExport/tujian_taoz_3.png


二进制
FGUIProject/assets/FieldGuide/imagesExport/tujian_taoz_4.png


二进制
FGUIProject/assets/FieldGuide/imagesExport/tujian_taoz_5.png


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

@@ -53,6 +53,7 @@
     <image id="qr4e1n" name="tujian_tztub_4.png" path="/images/"/>
     <component id="z3os0" name="SuitGuideUI.xml" path="/" exported="true"/>
     <component id="jj4d1o" name="Button4.xml" path="/components/"/>
+    <image id="r0yx1p" name="tujian_qiehuan_3.png" path="/images/"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\FieldGuide" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 14 - 14
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/FieldGuideView.cs

@@ -47,7 +47,7 @@ namespace GFGGame
         protected override void OnShown()
         {
             base.OnShown();
-            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("gxhd_bjbj");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("fuben_bjbj");
             _ui.m_listGuide.numItems = _listGuideDatas.Length;
             UpdatePrgress();
             _ui.m_compBanner.m_listTab.selectedIndex = 0;
@@ -159,19 +159,19 @@ namespace GFGGame
         private void UpdateListBannerItems()
         {
             int num = _ui.m_compBanner.m_listTab.numChildren;
-            for (int i = 0; i < num; i++)
-            {
-                UI_ButtonBannerPage listItem = UI_ButtonBannerPage.Proxy(_ui.m_compBanner.m_listTab.GetChildAt(i));
-                if (listItem.target.selected)
-                {
-                    listItem.target.width = 47;
-                }
-                else
-                {
-                    listItem.target.width = 15;
-                }
-            }
-            _ui.m_compBanner.m_listTab.ResizeToFit();
+            // for (int i = 0; i < num; i++)
+            // {
+            //     UI_ButtonBannerPage listItem = UI_ButtonBannerPage.Proxy(_ui.m_compBanner.m_listTab.GetChildAt(i));
+            //     if (listItem.target.selected)
+            //     {
+            //         listItem.target.width = 47;
+            //     }
+            //     else
+            //     {
+            //         listItem.target.width = 15;
+            //     }
+            // }
+            // _ui.m_compBanner.m_listTab.ResizeToFit();
         }
 
         private void SwitchBannerPic(object param)

二进制
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_atlas0!a.png


二进制
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_atlas0.png


二进制
GameClient/Assets/ResIn/UI/FieldGuide/FieldGuide_fui.bytes