From 14ee0cae9be4ab59e9ab9aa095a0641c6185a95e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 10 十一月 2025 18:56:33 +0800
Subject: [PATCH] 0312 代金券显示单位元,基金滚动动态调整

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

diff --git a/Main/System/ItemTip/OwnMoneyCell.cs b/Main/System/ItemTip/OwnMoneyCell.cs
index afd95cc..0369a9b 100644
--- a/Main/System/ItemTip/OwnMoneyCell.cs
+++ b/Main/System/ItemTip/OwnMoneyCell.cs
@@ -64,7 +64,14 @@
             // Debug.LogError("moneyType == 0");
             return;
         }
-        numText.text = UIHelper.ReplaceLargeNum(UIHelper.GetMoneyCnt(moneyType));
+        double count = UIHelper.GetMoneyCnt(moneyType);
+        int decimalPlaces = 1;
+        if (moneyType == 99)
+        {
+            count = count / 100.0;
+            decimalPlaces = 2;
+        }
+        numText.text = UIHelper.ReplaceLargeNum(count, decimalPlaces);
         if (resetIcon)
         { 
             moneyIcon.SetIconWithMoneyType(moneyType);

--
Gitblit v1.8.0