From f3adc1c7aa387c42e4ba66e06f82f6a632bfd139 Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Thu, 26 Feb 2026 11:06:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=E6=A0=B7=E5=BC=8F=E5=92=8C=E4=BC=98=E5=8C=96=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/DcaModal.jsx | 1 + app/globals.css | 72 +++++++++++++++++++++++++++++++++---- app/page.jsx | 30 +++++++++------- 3 files changed, 85 insertions(+), 18 deletions(-) diff --git a/app/components/DcaModal.jsx b/app/components/DcaModal.jsx index 55c7093..79432a8 100644 --- a/app/components/DcaModal.jsx +++ b/app/components/DcaModal.jsx @@ -345,6 +345,7 @@ export default function DcaModal({ fund, plan, onClose, onConfirm }) { 扣款日 *
基金名称
净值/估值
-
涨跌幅
+
昨日涨跌幅
估值涨跌幅
-
估值时间
持仓金额
当日收益
持有收益
@@ -3695,17 +3694,24 @@ export default function HomePage() { ); })()}
- 0 ? 'up' : f.zzl < 0 ? 'down' : ''} style={{ fontWeight: 700 }}> - {f.zzl != null && f.zzl !== '' ? `${f.zzl > 0 ? '+' : ''}${Number(f.zzl).toFixed(2)}%` : '—'} - +
+ 0 ? 'up' : f.zzl < 0 ? 'down' : ''} style={{ fontWeight: 700 }}> + {f.zzl != null && f.zzl !== '' ? `${f.zzl > 0 ? '+' : ''}${Number(f.zzl).toFixed(2)}%` : '—'} + + + {f.jzrq || '-'} + +
- 0.05 ? (f.estGszzl > 0 ? 'up' : f.estGszzl < 0 ? 'down' : '') : (Number(f.gszzl) > 0 ? 'up' : Number(f.gszzl) < 0 ? 'down' : ''))} style={{ fontWeight: 700 }}> - {f.noValuation ? '—' : (f.estPricedCoverage > 0.05 ? (f.estGszzl != null ? `${f.estGszzl > 0 ? '+' : ''}${Number(f.estGszzl).toFixed(2)}%` : '—') : (isNumber(f.gszzl) ? `${f.gszzl > 0 ? '+' : ''}${Number(f.gszzl).toFixed(2)}%` : (f.gszzl ?? '—')))} - -
-
- {f.noValuation ? (f.jzrq || '-') : (f.gztime || f.time || '-')} +
+ 0.05 ? (f.estGszzl > 0 ? 'up' : f.estGszzl < 0 ? 'down' : '') : (Number(f.gszzl) > 0 ? 'up' : Number(f.gszzl) < 0 ? 'down' : ''))} style={{ fontWeight: 700 }}> + {f.noValuation ? '—' : (f.estPricedCoverage > 0.05 ? (f.estGszzl != null ? `${f.estGszzl > 0 ? '+' : ''}${Number(f.estGszzl).toFixed(2)}%` : '—') : (isNumber(f.gszzl) ? `${f.gszzl > 0 ? '+' : ''}${Number(f.gszzl).toFixed(2)}%` : (f.gszzl ?? '—')))} + + + {f.noValuation ? (f.jzrq || '-') : (f.gztime || f.time || '-')} + +
{(() => { const holding = holdings[f.code]; @@ -3721,7 +3727,7 @@ export default function HomePage() { return (
{ e.stopPropagation(); setActionModal({ open: true, fund: f }); }}> ¥{amount.toFixed(2)} -