浏览代码

分解服装规则,显示的道具缩小

zhaoyang 3 年之前
父节点
当前提交
a324abc66c

+ 2 - 1
FGUIProject/assets/ClothingDecompose/ClothingDecomposeRuleUI.xml

@@ -5,7 +5,8 @@
     <image id="n3_qyr6" name="n3" src="ehs99" fileName="images/yx_xiant_1.png" pkg="eg2y0ldp" xy="44,120"/>
     <text id="n1_qyr6" name="txtTitle" xy="322,44" size="292,64" fontSize="48" color="#9b7853" text="服装分解规则"/>
     <text id="n2_qyr6" name="txtRule" xy="61,158" size="804,46" fontSize="34" color="#aa865f" autoSize="height" text="分解多余的衣服可获得金币和分解材料1.2."/>
-    <list id="n4_qyr6" name="listReward" xy="21,277" size="893,300" layout="row" colGap="40" defaultItem="ui://h9mv1l71wlc24" align="center">
+    <list id="n4_qyr6" name="listReward" xy="-106,315" pivot="0.5,0.5" size="1149,264" scale="0.78,0.78" layout="row" colGap="40" defaultItem="ui://h9mv1l71wlc24" align="center">
+      <item/>
       <item/>
       <item/>
       <item/>

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs

@@ -235,6 +235,7 @@ namespace GFGGame
             bgIndex++;
             if (bgIndex == resArr.Length) bgIndex = 0;
             item.m_loaBg.url = string.Format("ui://LuckyBox/{0}", resArr[bgIndex]);
+            // item.m_loaBg.url = ResPathUtil.GetBgImgPath(resArr[bgIndex]);
         }
         protected override void OnHide()
         {