From 4212b63df2613abc02ebe5a495a6e7e8f4ce3e90 Mon Sep 17 00:00:00 2001 From: empty Date: Mon, 12 Jan 2026 03:56:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=B9=B6=E8=AE=BE=E4=B8=BA=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 HomePage.vue 主页组件 (玻璃态设计风格) - GlobalSidebar logo 改为可点击跳转主页 - 默认页面从 writer 改为 home - 新增玻璃态 CSS 变量支持 Co-Authored-By: Claude Opus 4.5 --- src/App.vue | 8 +- src/components/GlobalSidebar.vue | 17 +- src/components/HomePage.vue | 541 +++++++++++++++++++++++++++++++ src/stores/app.js | 2 +- src/styles/design-tokens.css | 80 +++-- 5 files changed, 621 insertions(+), 27 deletions(-) create mode 100644 src/components/HomePage.vue diff --git a/src/App.vue b/src/App.vue index fb047bf..6cabaf4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,7 +5,11 @@
+ + + +
@@ -41,6 +46,7 @@ import { ref, computed } from 'vue' import { useAppStore } from './stores/app' import GlobalSidebar from './components/GlobalSidebar.vue' +import HomePage from './components/HomePage.vue' import WriterPanel from './components/WriterPanel.vue' import AnalysisPanel from './components/AnalysisPanel.vue' import DocumentsPanel from './components/DocumentsPanel.vue' diff --git a/src/components/GlobalSidebar.vue b/src/components/GlobalSidebar.vue index 9547f9d..e42bc0a 100644 --- a/src/components/GlobalSidebar.vue +++ b/src/components/GlobalSidebar.vue @@ -1,13 +1,18 @@