From 4a2920e637eb42ddecfb0a31a794b1283c9cbd17 Mon Sep 17 00:00:00 2001 From: QihuAI Design Date: Sun, 23 Aug 2026 11:36:02 +0800 Subject: [PATCH] =?UTF-8?q?#985=20=E9=98=B6=E6=AE=B53:=209=E4=B8=AA?= =?UTF-8?q?=E5=8D=A0=E4=BD=8D=E8=B7=AF=E7=94=B1=E5=8D=87=E7=BA=A7=E4=B8=BA?= =?UTF-8?q?=20amber=20=E9=87=91=E6=9A=96=E7=99=BD=20ComingSoon=20=E9=A1=B5?= =?UTF-8?q?=20(=E7=BB=9F=E4=B8=80=E5=93=81=E7=89=8C=E6=84=9F+=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=A2=84=E5=91=8A)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend-v2/src/App.tsx | 186 +++++++++++++++--- .../src/components/common/ComingSoon.tsx | 62 ++++++ 2 files changed, 226 insertions(+), 22 deletions(-) create mode 100644 frontend-v2/src/components/common/ComingSoon.tsx diff --git a/frontend-v2/src/App.tsx b/frontend-v2/src/App.tsx index d5e4eae..0061f4b 100644 --- a/frontend-v2/src/App.tsx +++ b/frontend-v2/src/App.tsx @@ -8,6 +8,19 @@ import { ChatPage } from '@/pages/front/ChatPage'; import { KnowledgePage } from '@/pages/front/KnowledgePage'; import { ImBotHub } from '@/pages/front/ImBotHub'; import { AppServices } from '@/pages/front/AppServices'; +import { ComingSoon } from '@/components/common/ComingSoon'; +import { + Zap, + Bot, + Puzzle, + Workflow, + Shield, + Radio, + LayoutDashboard, + User, + Bell, + Sparkles, +} from 'lucide-react'; function App() { return ( @@ -21,17 +34,157 @@ function App() { } /> } /> } /> - {/* Placeholder routes */} - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> - } /> + {/* 占位页:真实功能开发中,统一 amber 金暖白「敬请期待」态 */} + + } + /> + + } + /> + + } + /> + + } + /> + + } + /> + + } + /> + + } + /> + + } + /> + + } + /> + + } + /> } /> @@ -40,15 +193,4 @@ function App() { ); } -function PlaceholderPage({ title }: { title: string }) { - return ( -
-
-

{title}

-

页面开发中...

-
-
- ); -} - export default App; diff --git a/frontend-v2/src/components/common/ComingSoon.tsx b/frontend-v2/src/components/common/ComingSoon.tsx new file mode 100644 index 0000000..59022ec --- /dev/null +++ b/frontend-v2/src/components/common/ComingSoon.tsx @@ -0,0 +1,62 @@ +import type { LucideIcon } from 'lucide-react'; +import { Sparkles, Construction } from 'lucide-react'; +import { Card, CardContent } from '@/components/ui/card'; +import { Badge } from '@/components/ui/badge'; + +interface ComingSoonProps { + title: string; + icon: LucideIcon; + description?: string; + features?: string[]; +} + +/** + * 统一「页面开发中」占位页(amber 金暖白设计语言)。 + * 用于前台尚未实现真实功能的路由,提供有品牌感的「敬请期待」状态, + * 而非空白或纯文字提示,保证导航点击不出现断崖式空页面。 + */ +export function ComingSoon({ title, icon: Icon, description, features }: ComingSoonProps) { + return ( +
+ + + {/* 图标芯片 */} +
+ +
+ +
+

{title}

+ + + 开发中 + +
+ +

+ {description ?? `${title} 正在紧张开发中,敬请期待。上线后这里将提供完整的功能体验。`} +

+ + {features && features.length > 0 && ( +
+ {features.map((f, i) => ( +
+ + {f} +
+ ))} +
+ )} + +
+ + 我们将尽快为您带来 {title} +
+
+
+
+ ); +}