From e69911e6e01e46a9c6e9cd25f4df298337b47e76 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 4 Aug 2026 14:41:40 +0800 Subject: [PATCH] feat(title): AI auto-select shows read-only title + swap button + style panel --- .../components/Step4TitleSettings.tsx | 111 +++++++++++++----- 1 file changed, 84 insertions(+), 27 deletions(-) diff --git a/apps/web/src/pages/generate/components/Step4TitleSettings.tsx b/apps/web/src/pages/generate/components/Step4TitleSettings.tsx index 1ceb6fc95..5f078d1f0 100644 --- a/apps/web/src/pages/generate/components/Step4TitleSettings.tsx +++ b/apps/web/src/pages/generate/components/Step4TitleSettings.tsx @@ -21,34 +21,91 @@ const Step4TitleSettings: React.FC = (props) => {

📝 选择标题

- - -
- 或手动选择 -
- -
- AI 自动选择标题 -
-
-
-
- - {!t.titleSettings.aiAutoSelect && ( + {/* AI 自动选择模式 */} + {t.titleSettings.aiAutoSelect ? ( <> +
+ AI 自动选择标题 +
+
+
+
+ + {/* 显示当前 AI 选中的标题(只读)+ 换一个按钮 */} +
+ +
+ {t.titleSettings.title || "AI 将自动为你选择标题"} + +
+
+ + {/* 样式面板始终可见 */} + + + ) : ( + <> + + +
+ 或手动选择 +
+ +
+ AI 自动选择标题 +
+
+
+
+