From e8bd65e49910eedc3d178567c5896e963a12bf9c Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Wed, 18 Mar 2026 20:02:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AE=BE=E7=BD=AE=E6=8C=81=E4=BB=93?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=BB=8A=E6=97=A5=E9=A6=96=E6=AC=A1=E4=B9=B0?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/HoldingActionModal.jsx | 17 +++++++++++++++- app/components/HoldingEditModal.jsx | 19 +++++++++++++++++- app/page.jsx | 28 ++++++++++++++++++++++++++- 3 files changed, 61 insertions(+), 3 deletions(-) diff --git a/app/components/HoldingActionModal.jsx b/app/components/HoldingActionModal.jsx index a5ebe22..9b1d083 100644 --- a/app/components/HoldingActionModal.jsx +++ b/app/components/HoldingActionModal.jsx @@ -7,7 +7,7 @@ import { DialogTitle, } from '@/components/ui/dialog'; -export default function HoldingActionModal({ fund, onClose, onAction, hasHistory }) { +export default function HoldingActionModal({ fund, onClose, onAction, hasHistory, pendingCount }) { const handleOpenChange = (open) => { if (!open) { onClose?.(); @@ -39,11 +39,26 @@ export default function HoldingActionModal({ fund, onClose, onAction, hasHistory display: 'flex', alignItems: 'center', gap: 4, + position: 'relative', }} title="查看交易记录" > 📜 交易记录 + {pendingCount > 0 && ( + + )} + )}