'use client'; import { CloseIcon } from './Icons'; import { Dialog, DialogContent, DialogTitle, } from '@/components/ui/dialog'; import { Button } from '@/components/ui/button'; export default function PendingTradesModal({ open, trades = [], onClose, onRevoke, }) { const handleOpenChange = (nextOpen) => { if (!nextOpen) { onClose?.(); } }; return ( 待交易队列
📥 待交易队列
{trades.map((trade, idx) => (
{trade.type === 'buy' ? '买入' : '卖出'} {trade.date} {trade.isAfter3pm ? '(15:00后)' : ''}
份额/金额 {trade.share ? `${trade.share} 份` : `¥${trade.amount}`}
状态
等待净值更新...
))}
); }