From 9cbb7fabd695576050c4e5c56cd57f8be6560273 Mon Sep 17 00:00:00 2001 From: claw_bot Date: Tue, 10 Mar 2026 09:43:36 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BD=93=E6=97=A5=E7=9B=88?= =?UTF-8?q?=E4=BA=8F=E6=98=BE=E7=A4=BA=EF=BC=8C=E5=AE=8C=E5=85=A8=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=E9=95=BF=E6=A1=A5=E6=8C=81=E4=BB=93=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/detail/detail.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index 9f90c18..ae5b094 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -93,11 +93,18 @@ 比例 {{ (item.ratio || 0).toFixed(1) }}% {{ getCurrencySymbol(portfolioData.currency) }}{{ (item.averagePrice || 0).toLocaleString('zh-CN', { minimumFractionDigits: 3, maximumFractionDigits: 3 }) }} - + + + + + 当日 {{ (item.changeAmount || 0) >= 0 ? '+' : '' }}{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.changeAmount || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }} + + + - {{ (item.profit || 0) >= 0 ? '+' : '' }}{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.profit || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }} + 持仓 {{ (item.profit || 0) >= 0 ? '+' : '' }}{{ getCurrencySymbol(portfolioData.currency) }}{{ (item.profit || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }} ({{ (item.profitRate || 0) >= 0 ? '+' : '' }}{{ (item.profitRate || 0).toFixed(2) }}%)