From 4b1247636bb04a0f0491537cb9853cd0b2101367 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 05 三月 2026 15:26:53 +0800
Subject: [PATCH] 348 功能预告-客户端 适配坊市表新增CostItemID

---
 Main/System/Store/StoreCell.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Main/System/Store/StoreCell.cs b/Main/System/Store/StoreCell.cs
index aa9e3f1..7b00991 100644
--- a/Main/System/Store/StoreCell.cs
+++ b/Main/System/Store/StoreCell.cs
@@ -86,7 +86,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)

--
Gitblit v1.8.0