zhaoyang 3 년 전
부모
커밋
5a54900318
3개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      FGUIProject/assets/Bag/BagUI.xml
  2. 2 1
      GameClient/Assets/Game/HotUpdate/Views/Bag/BagView.cs
  3. BIN
      GameClient/Assets/ResIn/UI/Bag/Bag_fui.bytes

+ 1 - 1
FGUIProject/assets/Bag/BagUI.xml

@@ -4,7 +4,7 @@
     <loader id="n13_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"/>
     </loader>
-    <list id="n0_lh8v" name="list" xy="56,266" size="978,1433" layout="flow_hz" overflow="scroll" lineGap="-30" colGap="20" defaultItem="ui://eg2y0ldpj48o98" align="center" autoClearItems="true">
+    <list id="n0_lh8v" name="list" xy="65,266" size="949,1433" layout="flow_hz" overflow="scroll" lineGap="-30" colGap="20" defaultItem="ui://eg2y0ldpj48o98" autoClearItems="true">
       <relation target="" sidePair="center-center,top-top,bottomext-bottom"/>
       <item/>
       <item/>

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/Bag/BagView.cs

@@ -121,7 +121,8 @@ namespace GFGGame
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(itemData.ItemData.id);
             if (itemCfg.useType == 0)
             {
-                GoodsItemTipsController.ShowItemTips(itemCfg.id);
+                object[] sourceDatas = new object[] { itemCfg.id, new object[] { typeof(BagView).FullName, this.viewData } };
+                GoodsItemTipsController.ShowItemTips(itemCfg.id, sourceDatas);
             }
             ChangeSelect(comItem);
         }

BIN
GameClient/Assets/ResIn/UI/Bag/Bag_fui.bytes