fix: 大厅余额K格式化 + 货币符号改为越南盾₫

- 左上角余额用 $fk() 包裹,≥1000显示为K格式
- 货币符号从 ¥ 改为 ₫(越南盾)
This commit is contained in:
li
2026-02-11 16:41:43 +08:00
parent 27cdc9a568
commit be597042c8
+7 -2
View File
@@ -13,8 +13,8 @@
</view> </view>
<text class="username">{{ userInfo.username || $lang.guest }}</text> <text class="username">{{ userInfo.username || $lang.guest }}</text>
<view class="balance-pill"> <view class="balance-pill">
<u-icon name="rmb-circle-fill" color="#f4c46f" size="16"></u-icon> <text class="currency-symbol"></text>
<text class="balance-text">{{ userInfo.money || '0.00' }}</text> <text class="balance-text">{{ $fk(userInfo.money) || '0.00' }}</text>
</view> </view>
</view> </view>
<view class="right-actions"> <view class="right-actions">
@@ -387,6 +387,11 @@ export default {
align-items: center; align-items: center;
gap: 5px; gap: 5px;
.currency-symbol {
color: #f4c46f;
font-size: 14px;
font-weight: bold;
}
.balance-text { .balance-text {
color: #f4c46f; color: #f4c46f;
font-size: 12px; font-size: 12px;