From 51b0f6ed9f4e1d3bb6f8144470b46908c7699a96 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 11 五月 2026 16:20:37 +0800
Subject: [PATCH] Merge branch 'master' into h5version

---
 Main/System/Store/StoreCell.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Main/System/Store/StoreCell.cs b/Main/System/Store/StoreCell.cs
index aa9e3f1..3e16457 100644
--- a/Main/System/Store/StoreCell.cs
+++ b/Main/System/Store/StoreCell.cs
@@ -1,6 +1,7 @@
 锘縰sing 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();
         }
     }
 }

--
Gitblit v1.8.0