瀏覽代碼

修改活动摘星界面UI

leiyasi 1 年之前
父節點
當前提交
f2cff75bf6

+ 3 - 6
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/LuckyBox/UI_ComBox.cs

@@ -23,9 +23,8 @@ namespace UI.LuckyBox
         public GGraph m_Special_eff;
         public GImage m_imgSpecial;
         public GGroup m_grpSpecial;
-        public GTextField m_txtCount;
         public GTextField m_txtOpenServerCount;
-        public GTextField m_txtSYJHCount;
+        public GTextField m_txtCount;
         public const string URL = "ui://drx9d1usnjmn2p";
         public const string PACKAGE_NAME = "LuckyBox";
         public const string RES_NAME = "ComBox";
@@ -89,9 +88,8 @@ namespace UI.LuckyBox
             m_Special_eff = (GGraph)comp.GetChild("Special_eff");
             m_imgSpecial = (GImage)comp.GetChild("imgSpecial");
             m_grpSpecial = (GGroup)comp.GetChild("grpSpecial");
-            m_txtCount = (GTextField)comp.GetChild("txtCount");
             m_txtOpenServerCount = (GTextField)comp.GetChild("txtOpenServerCount");
-            m_txtSYJHCount = (GTextField)comp.GetChild("txtSYJHCount");
+            m_txtCount = (GTextField)comp.GetChild("txtCount");
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -115,9 +113,8 @@ namespace UI.LuckyBox
             m_Special_eff = null;
             m_imgSpecial = null;
             m_grpSpecial = null;
-            m_txtCount = null;
             m_txtOpenServerCount = null;
-            m_txtSYJHCount = null;
+            m_txtCount = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/CommonGame/BuyTipsView.cs

@@ -62,7 +62,7 @@ namespace GFGGame
             ItemExchangeCfgArray.Instance.GetMoneyIdAndNum(_itemId, ItemDataManager.GetItemExchangeTimes(_itemId), (int)_count, out _costId, out _costCount, out int buyNum);
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(_itemId);
             _ui.m_txtNeed.text = string.Format("还需要购买{0}个", _count);
-            _ui.m_loaNeed.url = ResPathUtil.GetCommonGameResPath(itemCfg.res);
+            _ui.m_loaNeed.url = ResPathUtil.GetIconPath(itemCfg.res, "png");
             ItemCfg costCfg = ItemCfgArray.Instance.GetCfg(_costId);
             _ui.m_txtCost.text = string.Format("是否花费{0}{1}购买?", _costCount, costCfg.name);
 

二進制
GameClient/Assets/ResIn/UI/LuckyBox/LuckyBox_fui.bytes