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

+ 3 - 3
FGUIProject/assets/Studio/StudioUI.xml

@@ -2,13 +2,13 @@
 <component size="1080,1920" designImage="ui://xz8kxrecf2bf2v" designImageOffsetY="-240">
 <component size="1080,1920" designImage="ui://xz8kxrecf2bf2v" designImageOffsetY="-240">
   <displayList>
   <displayList>
     <loader id="n8_gbqo" name="loaBg" xy="540,960" pivot="0.5,0.5" anchor="true" size="1080,2400" fill="scaleMatchWidth">
     <loader id="n8_gbqo" 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"/>
+      <relation target="" sidePair="width-width,center-center,middle-middle"/>
     </loader>
     </loader>
     <component id="n1_rbxq" name="btnBack" src="uyuxtj5" fileName="components/BtnBack0.xml" pkg="eg2y0ldp" xy="35,80">
     <component id="n1_rbxq" name="btnBack" src="uyuxtj5" fileName="components/BtnBack0.xml" pkg="eg2y0ldp" xy="35,80">
       <Button icon="ui://xz8kxrecysx92u"/>
       <Button icon="ui://xz8kxrecysx92u"/>
     </component>
     </component>
     <component id="n10_t6j1" name="btnHome" src="qp4l60" fileName="components/ButtonHome.xml" pkg="eg2y0ldp" xy="35,220"/>
     <component id="n10_t6j1" name="btnHome" src="qp4l60" fileName="components/ButtonHome.xml" pkg="eg2y0ldp" xy="35,220"/>
-    <component id="n2_rbxq" name="comMetal" src="rbxq5" fileName="components/ComEctype.xml" xy="297,1003">
+    <component id="n2_rbxq" name="comMetal" src="rbxq5" fileName="components/ComEctype.xml" xy="128,1003">
       <relation target="" sidePair="left-left,bottom-middle"/>
       <relation target="" sidePair="left-left,bottom-middle"/>
       <property target="icon" propertyId="1" value="ui://xz8kxreces2q1e"/>
       <property target="icon" propertyId="1" value="ui://xz8kxreces2q1e"/>
     </component>
     </component>
@@ -24,7 +24,7 @@
       <relation target="" sidePair="right-right,bottom-middle"/>
       <relation target="" sidePair="right-right,bottom-middle"/>
       <property target="icon" propertyId="1" value="ui://xz8kxreces2q1d"/>
       <property target="icon" propertyId="1" value="ui://xz8kxreces2q1d"/>
     </component>
     </component>
-    <component id="n9_f2bf" name="comPorcelain" src="rbxq5" fileName="components/ComEctype.xml" xy="534,1328">
+    <component id="n9_f2bf" name="comPorcelain" src="rbxq5" fileName="components/ComEctype.xml" xy="425,903">
       <relation target="" sidePair="right-right,bottom-middle"/>
       <relation target="" sidePair="right-right,bottom-middle"/>
       <property target="icon" propertyId="1" value="ui://xz8kxrecpsph3d"/>
       <property target="icon" propertyId="1" value="ui://xz8kxrecpsph3d"/>
     </component>
     </component>

+ 3 - 2
FGUIProject/assets/Studio/components/ListPorcelainItem.xml

@@ -1,11 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
 <component size="912,189" restrictSize="850,0,0,0">
 <component size="912,189" restrictSize="850,0,0,0">
-  <controller name="star" pages="0,,1,,2,,3," selected="3"/>
+  <controller name="star" pages="0,,1,,2,,3," selected="0"/>
   <displayList>
   <displayList>
     <text id="n10_rbxq" name="txtTitle" xy="18,17" size="10,62" visible="false" fontSize="46" color="#877d53" align="center" vAlign="middle" text=""/>
     <text id="n10_rbxq" name="txtTitle" xy="18,17" size="10,62" visible="false" fontSize="46" color="#877d53" align="center" vAlign="middle" text=""/>
     <image id="n22_f2bf" name="n22" src="psph34" fileName="images/cqxf_di_2.png" xy="0,0" pivot="0.5,0.5"/>
     <image id="n22_f2bf" name="n22" src="psph34" fileName="images/cqxf_di_2.png" xy="0,0" pivot="0.5,0.5"/>
     <loader id="n19_wono" name="loaBg" xy="0,0" size="912,189" url="ui://xz8kxrecpsph34" align="right" vAlign="middle" autoSize="true" fillMethod="hz"/>
     <loader id="n19_wono" name="loaBg" xy="0,0" size="912,189" url="ui://xz8kxrecpsph34" align="right" vAlign="middle" autoSize="true" fillMethod="hz"/>
-    <loader id="n27_psph" name="loaName" xy="411,63" size="197,62" touchable="false" url="ui://xz8kxrecpsph3a" autoSize="true"/>
+    <loader id="n27_psph" name="loaName" xy="411,63" size="197,62" visible="false" touchable="false" url="ui://xz8kxrecpsph3a" autoSize="true"/>
+    <text id="n30_o4m7" name="txtName" xy="490,73" pivot="0.5,0" size="40,42" fontSize="30" align="center" text=""/>
     <image id="n23_f2bf" name="n23" src="j48o95" fileName="imagesExport/zx_jq_djtubiao_1.png" pkg="mfvz4q8k" xy="197,123" group="n26_f2bf">
     <image id="n23_f2bf" name="n23" src="j48o95" fileName="imagesExport/zx_jq_djtubiao_1.png" pkg="mfvz4q8k" xy="197,123" group="n26_f2bf">
       <gearDisplay controller="star" pages="1,2,3"/>
       <gearDisplay controller="star" pages="1,2,3"/>
     </image>
     </image>

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Studio/UI_ListPorcelainItem.cs

@@ -11,6 +11,7 @@ namespace UI.Studio
         public GTextField m_txtTitle;
         public GTextField m_txtTitle;
         public GLoader m_loaBg;
         public GLoader m_loaBg;
         public GLoader m_loaName;
         public GLoader m_loaName;
+        public GTextField m_txtName;
         public GLoader m_loaIcon;
         public GLoader m_loaIcon;
         public GImage m_imgLock;
         public GImage m_imgLock;
         public const string URL = "ui://xz8kxrecf2bf2x";
         public const string URL = "ui://xz8kxrecf2bf2x";
@@ -64,6 +65,7 @@ namespace UI.Studio
             m_txtTitle = (GTextField)comp.GetChild("txtTitle");
             m_txtTitle = (GTextField)comp.GetChild("txtTitle");
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_loaName = (GLoader)comp.GetChild("loaName");
             m_loaName = (GLoader)comp.GetChild("loaName");
+            m_txtName = (GTextField)comp.GetChild("txtName");
             m_loaIcon = (GLoader)comp.GetChild("loaIcon");
             m_loaIcon = (GLoader)comp.GetChild("loaIcon");
             m_imgLock = (GImage)comp.GetChild("imgLock");
             m_imgLock = (GImage)comp.GetChild("imgLock");
         }
         }
@@ -73,6 +75,7 @@ namespace UI.Studio
             m_txtTitle = null;
             m_txtTitle = null;
             m_loaBg = null;
             m_loaBg = null;
             m_loaName = null;
             m_loaName = null;
+            m_txtName = null;
             m_loaIcon = null;
             m_loaIcon = null;
             m_imgLock = null;
             m_imgLock = null;
             if(disposeTarget && target != null)
             if(disposeTarget && target != null)

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/Studio/StudioPorcelainView.cs

@@ -55,7 +55,8 @@ namespace GFGGame
         {
         {
             base.ListItemRender(index, obj);
             base.ListItemRender(index, obj);
             UI_ListPorcelainItem item = UI_ListPorcelainItem.Proxy(obj);
             UI_ListPorcelainItem item = UI_ListPorcelainItem.Proxy(obj);
-            item.m_loaName.url = string.Format("ui://Studio/cwxf_zidi_{0}", index + 1);
+            // item.m_loaName.url = string.Format("ui://Studio/cwxf_zidi_{0}", index + 1);
+            item.m_txtName.text = string.Format("书简修复-{0}", index + 1);
             UI_ListPorcelainItem.ProxyEnd();
             UI_ListPorcelainItem.ProxyEnd();
         }
         }
         private void OnClickBtnBack()
         private void OnClickBtnBack()

BIN
GameClient/Assets/ResIn/UI/Studio/Studio_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/Studio/Studio_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Studio/Studio_fui.bytes