zhaoyang 3 жил өмнө
parent
commit
0495b424ea

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs

@@ -109,7 +109,7 @@ namespace GFGGame
         {
             base.OnShown();
             // _comLvConsumeGold = UI_ComCostCurrency.Proxy(_comFosterBottom.m_ComLvConsumeGold);
-            _comStarCousumeGold = UI_ComCostCurrencyWithHas.Proxy(_comFosterBottom.m_comStarCousumeGold);
+            //_comStarCousumeGold = UI_ComCostCurrencyWithHas.Proxy(_comFosterBottom.m_comStarCousumeGold);
 
             _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("hc_bj_1");
             _cardData = CardDataManager.GetCardDataById((this.viewData as CardData).id);
@@ -510,9 +510,9 @@ namespace GFGGame
                 // int costNeed = cardStarCfg.costNum;
                 // _comStarCousumeGold.m_txtHas.text = costHas.ToString();
                 // _comStarCousumeGold.m_txtNeed.text = costNeed.ToString();
-
+                _comStarCousumeGold = UI_ComCostCurrencyWithHas.Proxy(_comFosterBottom.m_comStarCousumeGold);
                 ItemUtil.SetItemNumAndNeedNum(_comStarCousumeGold.target, cardStarCfg.costID, cardStarCfg.costNum);
-
+                UI_ComCostCurrencyWithHas.ProxyEnd();
                 _comFosterBottom.m_listStarConsume.data = cardStarCfg;
                 _comFosterBottom.m_listStarConsume.numItems = cardStarCfg.materiarsArr.Length;