Explorar el Código

头像未获得

zhaoyang hace 2 años
padre
commit
3a71ea675e

BIN
FGUIProject/assets/CommonGame/imagesNew/bq_whd.png


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

@@ -329,6 +329,7 @@
     <image id="mbf1tn6" name="lm_biaotizi_14.png" path="/componentsBg/"/>
     <component id="mbf1tn7" name="BtnStyle003.xml" path="/components/" exported="true"/>
     <image id="mbf1tn8" name="lm_an__xuanzhong.png" path="/imagesNew/" exported="true"/>
+    <image id="idkdtn9" name="bq_whd.png" path="/imagesNew/" exported="true"/>
   </resources>
   <publish name="" path="../GameClient/Assets/ResIn/UI/CommonGame" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 2 - 2
FGUIProject/assets/RoleInfo/ChangeHead.xml

@@ -35,10 +35,10 @@
     </component>
     <group id="n10_r9ri" name="n10" xy="205,93" size="585,84"/>
     <image id="n11_r9ri" name="n11" src="r9rim" fileName="images/grxx_xtxtx.png" xy="381,330" size="520,6" group="n12_r9ri"/>
-    <component id="n4_r9ri" name="comHead" src="r9ri1h" fileName="components/ComHead.xml" pkg="eg2y0ldp" xy="105,187" size="236,238" group="n12_r9ri" scale="1.2,1.2"/>
+    <component id="n4_r9ri" name="comHead" src="r9ri1h" fileName="components/ComHead.xml" pkg="eg2y0ldp" xy="105,187" group="n12_r9ri" scale="1.2,1.2"/>
     <text id="n5_r9ri" name="txtName" xy="394,263" size="129,56" group="n12_r9ri" fontSize="42" color="#ab8759" text="头像名"/>
     <text id="n6_r9ri" name="txtDesc" xy="394,345" size="138,46" group="n12_r9ri" fontSize="34" color="#ceb599" text="头像描述"/>
-    <group id="n12_r9ri" name="n12" xy="105,187" size="796,238"/>
+    <group id="n12_r9ri" name="n12" xy="105,187" size="796,230"/>
     <image id="n13_r9ri" name="n13" src="r9rim" fileName="images/grxx_xtxtx.png" xy="88,957"/>
     <component id="n14_r9ri" name="btnSure" src="r9ritjq" fileName="components/Button15.xml" pkg="mk0fwx0x" xy="356,1003">
       <Button title="保存" titleColor="#ffffff" titleFontSize="42"/>

+ 3 - 1
FGUIProject/assets/RoleInfo/components/ListHeadBorderItem.xml

@@ -8,7 +8,9 @@
     </image>
     <loader id="n6_v95q" name="loaBorder" xy="0,13" pivot="0.5,0.5" size="230,203" aspect="true" touchable="false" url="ui://374k3dwvr9ri23" autoSize="true"/>
     <image id="n7_v95q" name="imgNew" src="r9ril" fileName="imagesExport/grxx_xinxin.png" pkg="eg2y0ldp" xy="154,45"/>
-    <image id="n8_mbf1" name="imgUnGet" src="cs8jthx" fileName="images/yx_whd.png" pkg="eg2y0ldp" xy="26,100"/>
+    <image id="n9_idkd" name="imgUnGet" src="idkdtn9" fileName="imagesNew/bq_whd.png" pkg="eg2y0ldp" xy="20,95" group="n11_idkd"/>
+    <text id="n10_idkd" name="n10" xy="62,104" size="88,39" group="n11_idkd" fontSize="28" color="#fff9f6" text="未获得"/>
+    <group id="n11_idkd" name="grpUnGet" xy="20,95" size="172,56" advanced="true"/>
   </displayList>
   <Button mode="Radio"/>
 </component>

+ 3 - 1
FGUIProject/assets/RoleInfo/components/ListHeadItem.xml

@@ -8,7 +8,9 @@
       <gearDisplay controller="button" pages="1"/>
     </image>
     <image id="n7_r9ri" name="imgNew" src="r9ril" fileName="imagesExport/grxx_xinxin.png" pkg="eg2y0ldp" xy="140,18"/>
-    <image id="n8_mbf1" name="imgUnGet" src="cs8jthx" fileName="images/yx_whd.png" pkg="eg2y0ldp" xy="11,89"/>
+    <image id="n8_mbf1" name="imgUnGet" src="idkdtn9" fileName="imagesNew/bq_whd.png" pkg="eg2y0ldp" xy="6,80" group="n11_idkd"/>
+    <text id="n10_idkd" name="n10" xy="48,89" size="88,39" group="n11_idkd" fontSize="28" color="#fff9f6" text="未获得"/>
+    <group id="n11_idkd" name="grpUnGet" xy="6,80" size="172,56" advanced="true"/>
   </displayList>
   <Button mode="Radio"/>
 </component>

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RoleInfo/UI_ListHeadBorderItem.cs

@@ -11,6 +11,7 @@ namespace UI.RoleInfo
         public GLoader m_loaBorder;
         public GImage m_imgNew;
         public GImage m_imgUnGet;
+        public GGroup m_grpUnGet;
         public const string URL = "ui://374k3dwvv95qg3";
         public const string PACKAGE_NAME = "RoleInfo";
         public const string RES_NAME = "ListHeadBorderItem";
@@ -62,6 +63,7 @@ namespace UI.RoleInfo
             m_loaBorder = (GLoader)comp.GetChild("loaBorder");
             m_imgNew = (GImage)comp.GetChild("imgNew");
             m_imgUnGet = (GImage)comp.GetChild("imgUnGet");
+            m_grpUnGet = (GGroup)comp.GetChild("grpUnGet");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -69,6 +71,7 @@ namespace UI.RoleInfo
             m_loaBorder = null;
             m_imgNew = null;
             m_imgUnGet = null;
+            m_grpUnGet = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RoleInfo/UI_ListHeadItem.cs

@@ -10,6 +10,7 @@ namespace UI.RoleInfo
         public GLoader m_loaIcon;
         public GImage m_imgNew;
         public GImage m_imgUnGet;
+        public GGroup m_grpUnGet;
         public const string URL = "ui://374k3dwvr9ri9";
         public const string PACKAGE_NAME = "RoleInfo";
         public const string RES_NAME = "ListHeadItem";
@@ -60,12 +61,14 @@ namespace UI.RoleInfo
             m_loaIcon = (GLoader)comp.GetChild("loaIcon");
             m_imgNew = (GImage)comp.GetChild("imgNew");
             m_imgUnGet = (GImage)comp.GetChild("imgUnGet");
+            m_grpUnGet = (GGroup)comp.GetChild("grpUnGet");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_loaIcon = null;
             m_imgNew = null;
             m_imgUnGet = null;
+            m_grpUnGet = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/RoleInfo/ChangeHeadView.cs

@@ -101,7 +101,7 @@ namespace GFGGame
             UI_ListHeadItem item = UI_ListHeadItem.Proxy(obj);
             item.m_loaIcon.url = ResPathUtil.GetHeadPath(_headCfgs[index].res);
             item.m_imgNew.visible = RoleInfoManager.Instance.isNewHead(headId);
-            item.m_imgUnGet.visible = ItemDataManager.GetItemNum(headId) <= 0;
+            item.m_grpUnGet.visible = ItemDataManager.GetItemNum(headId) <= 0;
             if (RoleInfoManager.Instance.isNewHead(headId))
             {
                 ItemProxy.ReqSetItemRead(headId).Coroutine();
@@ -122,7 +122,7 @@ namespace GFGGame
             item.m_loaIcon.url = ResPathUtil.GetHeadPath(headCfg.res);
             item.m_loaBorder.url = ResPathUtil.GetHeadBorderPath(borderCfg.res);
             item.m_imgNew.visible = RoleInfoManager.Instance.isNewHeadBorder(headBorderId);
-            item.m_imgUnGet.visible = ItemDataManager.GetItemNum(headBorderId) <= 0;
+            item.m_grpUnGet.visible = ItemDataManager.GetItemNum(headBorderId) <= 0;
             if (RoleInfoManager.Instance.isNewHeadBorder(headBorderId))
             {
                 ItemProxy.ReqSetItemRead(headBorderId).Coroutine();

BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes


BIN
GameClient/Assets/ResIn/UI/RoleInfo/RoleInfo_fui.bytes