From 733f2e9fe53946f2d8247cc3a10ced4a7291b593 Mon Sep 17 00:00:00 2001 From: "mula.liu" Date: Sun, 1 Nov 2026 17:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E6=97=B6=E9=97=B4=E7=BA=BF?= =?UTF-8?q?=E5=90=88=E6=88=90=E9=A1=B5=E7=AD=BE=EF=BC=9A=E7=89=87=E6=AE=B5?= =?UTF-8?q?=E5=8D=A1/=E5=AD=97=E5=B9=95/=E6=B7=B7=E9=9F=B3=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE/=E9=9F=B3=E8=BD=A8/=E7=89=88=E6=9C=AC=E8=A1=A8?= =?UTF-8?q?=EF=BC=9BField=20=E6=94=AF=E6=8C=81=20title=E3=80=81=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20FilePick=20=E5=8E=9F=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ui/Controls.tsx | 31 +- frontend/src/pages/project/Timeline.tsx | 859 +++++++++++++++++++++++- 2 files changed, 884 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/ui/Controls.tsx b/frontend/src/components/ui/Controls.tsx index 39c9743..4eae9f6 100644 --- a/frontend/src/components/ui/Controls.tsx +++ b/frontend/src/components/ui/Controls.tsx @@ -55,12 +55,16 @@ const WIDTHS: Record = { full: 'basis-full grow shrink' } -/** 行内标签字段:`…`;stack 场景交给 统一翻向 */ -export function Field({ label, required, children, width = 'default', className, hint }: { +/** + * 行内标签字段:`…`;stack 场景交给 统一翻向。 + * title 挂在外层 label 上:整块(标签 + 控件)都是悬停热区,和旧站 .fld[title] 一致。 + */ +export function Field({ label, required, children, width = 'default', className, hint, title }: { label?: ReactNode; required?: boolean; children: ReactNode; width?: FieldWidth; className?: string; hint?: ReactNode + title?: string }) { return ( -