yyl
2026-05-11 51b0f6ed9f4e1d3bb6f8144470b46908c7699a96
Main/System/Store/StoreCell.cs
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Cysharp.Threading.Tasks;
public class StoreCell : MonoBehaviour
@@ -86,7 +87,14 @@
            freeButton.SetActive(false);
            lockTip.text = "";
            priceIcon.SetIconWithMoneyType(storeData.storeConfig.MoneyType);
            if (storeData.storeConfig.MoneyType <= 0)
            {
                priceIcon.SetItemSprite(storeData.storeConfig.CostItemID);
            }
            else
            {
                priceIcon.SetIconWithMoneyType(storeData.storeConfig.MoneyType);
            }
            priceText.text = storeData.storeConfig.MoneyNum.ToString();
            if (storeData.storeConfig.MoneyOriginal == 0)
@@ -137,7 +145,7 @@
        else
        {
            StoreModel.Instance.buyShopID = shopID;
            UIManager.Instance.OpenWindow<BuyItemWin>();
            UIManager.Instance.OpenWindowAsync<BuyItemWin>().Forget();
        }
    }
}