From 8f7b64fa7f80127b3774a6205740fbb770af321c Mon Sep 17 00:00:00 2001 From: claw_bot Date: Sun, 15 Mar 2026 23:51:48 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=84=E5=90=88=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BB=8A=E6=97=A5=E6=B6=A8=E8=B7=8C=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 当前估值使用组合原始币种 - 新增今日变动行(如有数据) --- pages/index/index.vue | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 37a4bd6..8b2a84c 100755 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -113,13 +113,20 @@ 当前估值 - ¥ {{ (holding.value || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }} + {{ getCurrencySymbol(holding.currency) }}{{ (holding.value || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }} 历史总变动 {{ (holding.returnRate || 0) >= 0 ? '+' : '' }}{{ holding.returnRate || 0 }}% + + + 今日变动 + + {{ (holding.todayProfit || 0) >= 0 ? '+' : '' }}{{ getCurrencySymbol(holding.todayProfitCurrency || holding.currency) }}{{ Math.abs(holding.todayProfit || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }} + + @@ -659,4 +666,24 @@ onShow(async () => { font-family: 'DIN Alternate', sans-serif; color: #1F2937; } + +.card-extra { + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 16rpx; + padding-top: 16rpx; + border-top: 1rpx solid #F3F4F6; +} + +.extra-label { + font-size: 22rpx; + color: #9CA3AF; +} + +.extra-val { + font-size: 28rpx; + font-weight: 600; + font-family: 'DIN Alternate', sans-serif; +} \ No newline at end of file