feat(ui): [UI7-1] 构建通用原子UI组件与业务Hooks

这个提交包含在:
2026-03-06 09:48:11 +08:00
父节点 9c48c8d3bc
当前提交 61180e2b3b
共修改 12 个文件,包含 356 行新增和 2 行删除
+2 -2
查看文件
@@ -10,8 +10,8 @@ export function PageHeader({ title, subtitle, actions }: PageHeaderProps) {
return (
<div className="mb-6 flex flex-wrap items-start justify-between gap-4">
<div>
<h2 className="text-2xl font-bold text-slate-900">{title}</h2>
{subtitle ? <p className="mt-1 text-sm text-secondary">{subtitle}</p> : null}
<h2 className="text-2xl font-bold tracking-tight text-zinc-900">{title}</h2>
{subtitle ? <p className="mt-1 text-sm font-medium text-zinc-500">{subtitle}</p> : null}
</div>
{actions ? <div className="shrink-0">{actions}</div> : null}