import type { ReactNode } from 'react'; type Stat = { label: string; value: string; }; type PagePlaceholderProps = { tag: string; title: string; subtitle: string; description: string; stats?: Stat[]; actions?: ReactNode; }; export default function PagePlaceholder({ tag, title, subtitle, description, stats = [], actions, }: PagePlaceholderProps) { return (
{tag}

{title}

{subtitle}

{actions ?
{actions}
: null}

{description}

{stats.map((stat) => (
{stat.label}
{stat.value}
))}
这里先保留 React 页面壳,后续会按原有 Vue 页面逐块迁移真实内容。
); }