瀏覽代碼

商店排序

zhaoyang 3 年之前
父節點
當前提交
5bd9c683d7

+ 1 - 1
FGUIProject/assets/ClothingShop/ClothingShopUI.xml

@@ -21,7 +21,7 @@
     <image id="n21_hinb" name="n21" src="hinb5" fileName="images/fzd_diban_3.png" xy="0,1294" size="1080,5">
       <relation target="" sidePair="center-center,middle-middle"/>
     </image>
-    <list id="n43_hinb" name="listShop" xy="22,1398" size="1036,522" layout="flow_hz" overflow="scroll" colGap="10" defaultItem="ui://e5hnfx8ahinb1c" align="center" autoClearItems="true">
+    <list id="n43_hinb" name="listShop" xy="30,1398" size="1032,522" layout="flow_hz" overflow="scroll" colGap="10" defaultItem="ui://e5hnfx8ahinb1c" autoClearItems="true">
       <relation target="n44_hinb" sidePair="top-top"/>
       <item/>
       <item/>

+ 2 - 1
GameClient/Assets/Game/HotUpdate/ExcelConfig/Manager/ClothingShopCfgManager.cs

@@ -82,7 +82,8 @@ namespace GFGGame
                         return -1;
                     }
                 }
-                return 0;
+
+                return a.itemID.CompareTo(b.itemID);
             });
             return arrayList;
         }

二進制
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes


二進制
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_fui.bytes