Browse Source

商店显示优化

zhaoyang 3 years ago
parent
commit
3be437e0ff

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

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
 <component size="1080,1920">
 <component size="1080,1920">
-  <controller name="c1" pages="2,,3,,4,,5," selected="3">
+  <controller name="c1" pages="2,,3,,4,,5," selected="2">
     <remark page="1" value="服装店"/>
     <remark page="1" value="服装店"/>
     <remark page="2" value="落星商店"/>
     <remark page="2" value="落星商店"/>
     <remark page="3" value="活动商店"/>
     <remark page="3" value="活动商店"/>
@@ -81,14 +81,14 @@
     </component>
     </component>
     <component id="n47_ugdz" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,80"/>
     <component id="n47_ugdz" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,80"/>
     <image id="n49_f5bl" name="n49" src="lwri5x" fileName="images/hc_btkuang_1.png" pkg="eg2y0ldp" xy="282,103" group="n51_f5bl"/>
     <image id="n49_f5bl" name="n49" src="lwri5x" fileName="images/hc_btkuang_1.png" pkg="eg2y0ldp" xy="282,103" group="n51_f5bl"/>
-    <text id="n50_f5bl" name="txtTitle" xy="540,98" pivot="0.5,0" anchor="true" size="154,51" group="n51_f5bl" fontSize="38" color="#fdf4e3" text="活动商店">
+    <text id="n50_f5bl" name="txtTitle" xy="540,98" pivot="0.5,0" anchor="true" size="154,51" group="n51_f5bl" fontSize="38" color="#fdf4e3" text="落星商店">
       <gearText controller="c1" pages="4" values="落星商店" default="活动商店"/>
       <gearText controller="c1" pages="4" values="落星商店" default="活动商店"/>
     </text>
     </text>
     <group id="n51_f5bl" name="grpTop" xy="282,98" size="516,60" advanced="true">
     <group id="n51_f5bl" name="grpTop" xy="282,98" size="516,60" advanced="true">
       <gearDisplay controller="c1" pages="4,5"/>
       <gearDisplay controller="c1" pages="4,5"/>
     </group>
     </group>
     <image id="n52_iakb" name="n52" src="iakb5z" fileName="images/fzd_lxsdt.png" xy="431,1140" group="n53_iakb"/>
     <image id="n52_iakb" name="n52" src="iakb5z" fileName="images/fzd_lxsdt.png" xy="431,1140" group="n53_iakb"/>
-    <text id="n54_iakb" name="txtTips" xy="476,1162" size="325,39" group="n59_iakb" fontSize="28" color="#fffbf0" text="100星屑自动合成1落星石"/>
+    <text id="n54_iakb" name="txtTips" xy="476,1162" size="308,39" group="n59_iakb" fontSize="28" color="#fffbf0" text="50星屑自动合成1落星石"/>
     <loader id="n55_iakb" name="loaIcon0" xy="821,1162" size="42,42" group="n60_iakb" url="ui://eg2y0ldply9g8m" autoSize="true"/>
     <loader id="n55_iakb" name="loaIcon0" xy="821,1162" size="42,42" group="n60_iakb" url="ui://eg2y0ldply9g8m" autoSize="true"/>
     <text id="n56_iakb" name="txtCount0" xy="865,1162" size="56,39" group="n60_iakb" fontSize="28" color="#fffbf0" text="100"/>
     <text id="n56_iakb" name="txtCount0" xy="865,1162" size="56,39" group="n60_iakb" fontSize="28" color="#fffbf0" text="100"/>
     <group id="n60_iakb" name="n60" xy="821,1162" size="100,42" group="n59_iakb"/>
     <group id="n60_iakb" name="n60" xy="821,1162" size="100,42" group="n59_iakb"/>

+ 1 - 2
GameClient/Assets/Game/HotUpdate/Views/ClothingShop/ClothingShopView.cs

@@ -106,7 +106,7 @@ namespace GFGGame
                 //this.viewData[0]=storeId(商店Id)
                 //this.viewData[0]=storeId(商店Id)
                 //this.viewData[1]=_scoreType(服装属性:风花雪月)
                 //this.viewData[1]=_scoreType(服装属性:风花雪月)
                 //this.viewData[2]=_selectedItemId
                 //this.viewData[2]=_selectedItemId
-                //this.viewData[2]=_selectedItemCount
+                //this.viewData[3]=_selectedItemCount
                 object[] objs = this.viewData as object[];
                 object[] objs = this.viewData as object[];
                 if (objs.Length > 0 && objs[0] != null)
                 if (objs.Length > 0 && objs[0] != null)
                 {
                 {
@@ -161,7 +161,6 @@ namespace GFGGame
             }
             }
             if (_selectedItemId > 0)
             if (_selectedItemId > 0)
             {
             {
-
                 ShopDataManager.Instance.BuyItem(_cfgSelected.id, _selectedItemCount, _storeId, _cfgSelected);
                 ShopDataManager.Instance.BuyItem(_cfgSelected.id, _selectedItemCount, _storeId, _cfgSelected);
             }
             }
 
 

BIN
GameClient/Assets/ResIn/UI/ClothingShop/ClothingShop_fui.bytes