diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index c500f52..b35b0f7 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -92,7 +92,7 @@ - 持仓成本 + 成本价 {{ getCurrencySymbol(portfolioData.currency) }}{{ (item.averagePrice || 0).toLocaleString('zh-CN', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) }} @@ -101,6 +101,7 @@ 持仓盈亏 {{ (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) }}%)