From 1c2195dd645ff9c210abe28661c7d3521d597855 Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Fri, 27 Feb 2026 22:30:49 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=9B=B4=E6=96=B0=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/PcFundTable.jsx | 7 +++++-- app/globals.css | 3 +-- app/page.jsx | 16 +++++++++++----- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/app/components/PcFundTable.jsx b/app/components/PcFundTable.jsx index a573bab..2ce4d51 100644 --- a/app/components/PcFundTable.jsx +++ b/app/components/PcFundTable.jsx @@ -249,12 +249,15 @@ export default function PcFundTable({ )}
{info.getValue() ?? '—'} - {code ? #{code} : null} + {code ? + #{code} + {isUpdated && } + : null}
); diff --git a/app/globals.css b/app/globals.css index e598067..a6bfecf 100644 --- a/app/globals.css +++ b/app/globals.css @@ -958,8 +958,7 @@ input[type="number"] { line-height: 1.4; } -.name-text.updated::after { - content: "✓"; +.updated-indicator { display: inline-flex; align-items: center; justify-content: center; diff --git a/app/page.jsx b/app/page.jsx index 059dc02..044043a 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -3944,17 +3944,20 @@ export default function HomePage() { )}
{f.name} - + {(() => { const holding = holdings[f.code]; const profit = getHoldingProfit(f, holding); return profit ? `¥${profit.amount.toFixed(2)}` : `#${f.code}`; })()} + {f.jzrq === todayStr && }
@@ -4134,12 +4137,15 @@ export default function HomePage() { )}
{f.name} - #{f.code} + + #{f.code} + {f.jzrq === todayStr && } +