Browse Source

千山万水替换

zhaoyang 2 years ago
parent
commit
b5c780fa20

+ 18 - 18
FGUIProject/assets/Travel/TravelUI.xml

@@ -7,47 +7,47 @@
   </controller>
   </controller>
   <controller name="c2" pages="0,,1," selected="0"/>
   <controller name="c2" pages="0,,1," selected="0"/>
   <displayList>
   <displayList>
-    <graph id="n9_wono" name="n9" xy="0,0" size="1080,1920" alpha="0.4" type="rect" lineSize="0" fillColor="#ff000000">
-      <relation target="" sidePair="width-width,height-height"/>
-    </graph>
+    <loader id="n18_v95q" name="loaBg" xy="540,960" pivot="0.5,0.5" anchor="true" size="1080,2400" fill="scaleMatchWidth">
+      <relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
+    </loader>
     <component id="n15_wono" name="comValueBar" src="v3541v" fileName="components/ComponentValueBar.xml" pkg="eg2y0ldp" xy="0,95" controller="c1,8"/>
     <component id="n15_wono" name="comValueBar" src="v3541v" fileName="components/ComponentValueBar.xml" pkg="eg2y0ldp" xy="0,95" controller="c1,8"/>
     <component id="n7_wono" name="btnback" src="uyuxtj5" fileName="components/ButtonBack.xml" pkg="eg2y0ldp" xy="35,80">
     <component id="n7_wono" name="btnback" src="uyuxtj5" fileName="components/ButtonBack.xml" pkg="eg2y0ldp" xy="35,80">
       <relation target="" sidePair="left-left,top-top"/>
       <relation target="" sidePair="left-left,top-top"/>
       <Button icon="ui://eg2y0ldpuyuxtj4"/>
       <Button icon="ui://eg2y0ldpuyuxtj4"/>
       <property target="loaTitle" propertyId="1" value="ui://jitclg1gwono1a"/>
       <property target="loaTitle" propertyId="1" value="ui://jitclg1gwono1a"/>
     </component>
     </component>
-    <image id="n8_wono" name="n8" src="wonoo" fileName="images/xqfs_yldik_1.png" xy="2,254" group="n16_wono"/>
-    <loader id="n17_r9ri" name="n17" xy="250,413" size="495,749" group="n16_wono" url="ui://jitclg1gwono9" autoSize="true">
+    <image id="n8_wono" name="n8" src="wonoo" fileName="images/xqfs_yldik_1.png" xy="2,280" group="n16_wono"/>
+    <loader id="n17_r9ri" name="n17" xy="250,439" size="495,749" group="n16_wono" url="ui://jitclg1gwono9" autoSize="true">
       <gearIcon controller="c1" pages="0,1" values="ui://jitclg1gwono9|ui://jitclg1gwonob" default="ui://jitclg1gwonoa"/>
       <gearIcon controller="c1" pages="0,1" values="ui://jitclg1gwono9|ui://jitclg1gwonob" default="ui://jitclg1gwonoa"/>
     </loader>
     </loader>
-    <component id="n1_wono" name="btnTips" src="wono3" fileName="components/Button1.xml" xy="926,346" group="n16_wono">
+    <component id="n1_wono" name="btnTips" src="wono3" fileName="components/Button1.xml" xy="926,372" group="n16_wono">
       <Button title="tips" controller="c2" page="1"/>
       <Button title="tips" controller="c2" page="1"/>
     </component>
     </component>
-    <image id="n10_wono" name="n10" src="wonoq" fileName="images/xqfs_yltsts.png" xy="342,194" group="n12_wono"/>
-    <text id="n11_wono" name="txtTips" xy="363,210" size="589,104" group="n12_wono" fontSize="36" color="#b28e4f" autoSize="none" text="收拾行囊出发游历,可获得随机地点 的明信片,并有概率获得特殊奖励。"/>
-    <group id="n12_wono" name="grpTips" xy="342,194" size="625,161" group="n16_wono" advanced="true">
+    <image id="n10_wono" name="n10" src="wonoq" fileName="images/xqfs_yltsts.png" xy="342,220" group="n12_wono"/>
+    <text id="n11_wono" name="txtTips" xy="363,236" size="589,104" group="n12_wono" fontSize="36" color="#b28e4f" autoSize="none" text="收拾行囊出发游历,可获得随机地点 的明信片,并有概率获得特殊奖励。"/>
+    <group id="n12_wono" name="grpTips" xy="342,220" size="625,161" group="n16_wono" advanced="true">
       <gearDisplay controller="c2" pages="1"/>
       <gearDisplay controller="c2" pages="1"/>
     </group>
     </group>
-    <image id="n13_wono" name="n13" src="wonos" fileName="xqfs_ylglsj.png" xy="93,1283" group="n14_wono"/>
-    <text id="n4_wono" name="txtTime" xy="365,1273" pivot="0.5,0" size="370,64" group="n14_wono" fontSize="48" color="#ad8a4e" autoClearText="true" text="大约5小时后归来"/>
-    <group id="n14_wono" name="grpTime" xy="93,1273" size="894,64" group="n16_wono" advanced="true">
+    <image id="n13_wono" name="n13" src="wonos" fileName="xqfs_ylglsj.png" xy="93,1309" group="n14_wono"/>
+    <text id="n4_wono" name="txtTime" xy="365,1299" pivot="0.5,0" size="370,64" group="n14_wono" fontSize="48" color="#ad8a4e" autoClearText="true" text="大约5小时后归来"/>
+    <group id="n14_wono" name="grpTime" xy="93,1299" size="894,64" group="n16_wono" advanced="true">
       <gearDisplay controller="c1" pages="1"/>
       <gearDisplay controller="c1" pages="1"/>
     </group>
     </group>
-    <component id="n2_wono" name="btnGo" src="wono4" fileName="components/Button2.xml" xy="428,1206" group="n16_wono">
+    <component id="n2_wono" name="btnGo" src="wono4" fileName="components/Button2.xml" xy="428,1232" group="n16_wono">
       <gearDisplay controller="c1" pages="0"/>
       <gearDisplay controller="c1" pages="0"/>
       <Button title="游历"/>
       <Button title="游历"/>
     </component>
     </component>
-    <component id="n3_wono" name="btnGet" src="wono1c" fileName="components/Button6.xml" xy="428,1206" group="n16_wono">
+    <component id="n3_wono" name="btnGet" src="wono1c" fileName="components/Button6.xml" xy="428,1232" group="n16_wono">
       <gearDisplay controller="c1" pages="2"/>
       <gearDisplay controller="c1" pages="2"/>
       <Button title="游历结束"/>
       <Button title="游历结束"/>
     </component>
     </component>
-    <component id="n5_wono" name="btnPhoto" src="wono5" fileName="components/Button3.xml" xy="190,1470" group="n16_wono">
+    <component id="n5_wono" name="btnPhoto" src="r9ritjg" fileName="components/Button17.xml" pkg="eg2y0ldp" xy="190,1496" group="n16_wono">
       <Button title="相册"/>
       <Button title="相册"/>
     </component>
     </component>
-    <component id="n6_wono" name="btnFieldGuide" src="wono5" fileName="components/Button3.xml" xy="608,1470" group="n16_wono">
-      <Button title="图鉴" icon="ui://jitclg1gwonom"/>
+    <component id="n19_v95q" name="btnFieldGuide" src="oqa1tjt" fileName="components/Button21.xml" pkg="eg2y0ldp" xy="583,1496" group="n16_wono">
+      <Button title="图鉴"/>
     </component>
     </component>
-    <group id="n16_wono" name="n16" xy="2,194" size="1076,1471" advanced="true">
+    <group id="n16_wono" name="n16" xy="2,220" size="1076,1471" advanced="true">
       <relation target="" sidePair="center-center,middle-middle"/>
       <relation target="" sidePair="center-center,middle-middle"/>
     </group>
     </group>
   </displayList>
   </displayList>

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Travel/UI_TravelUI.cs

@@ -9,6 +9,7 @@ namespace UI.Travel
         public GComponent target;
         public GComponent target;
         public Controller m_c1;
         public Controller m_c1;
         public Controller m_c2;
         public Controller m_c2;
+        public GLoader m_loaBg;
         public GComponent m_comValueBar;
         public GComponent m_comValueBar;
         public GButton m_btnback;
         public GButton m_btnback;
         public GButton m_btnTips;
         public GButton m_btnTips;
@@ -69,6 +70,7 @@ namespace UI.Travel
         {
         {
             m_c1 = comp.GetController("c1");
             m_c1 = comp.GetController("c1");
             m_c2 = comp.GetController("c2");
             m_c2 = comp.GetController("c2");
+            m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_btnback = (GButton)comp.GetChild("btnback");
             m_btnback = (GButton)comp.GetChild("btnback");
             m_btnTips = (GButton)comp.GetChild("btnTips");
             m_btnTips = (GButton)comp.GetChild("btnTips");
@@ -85,6 +87,7 @@ namespace UI.Travel
         {
         {
             m_c1 = null;
             m_c1 = null;
             m_c2 = null;
             m_c2 = null;
+            m_loaBg = null;
             m_comValueBar = null;
             m_comValueBar = null;
             m_btnback = null;
             m_btnback = null;
             m_btnTips = null;
             m_btnTips = null;

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/Travel/TravelView.cs

@@ -42,6 +42,7 @@ namespace GFGGame
             _ui.m_btnPhoto.onClick.Add(OnBtnPhotoClick);
             _ui.m_btnPhoto.onClick.Add(OnBtnPhotoClick);
             _ui.m_btnFieldGuide.onClick.Add(OnBtnFieldGuideClick);
             _ui.m_btnFieldGuide.onClick.Add(OnBtnFieldGuideClick);
 
 
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("xc_bjbj");
 
 
         }
         }
         protected override void AddEventListener()
         protected override void AddEventListener()

BIN
GameClient/Assets/ResIn/UI/Travel/Travel_fui.bytes