From d36cdaca88811d97032a8d0f8504d081a2b36732 Mon Sep 17 00:00:00 2001 From: hezhaohui Date: Tue, 14 Jul 2026 15:39:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=20=E6=B7=BB=E5=8A=A0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 布局组件: - layouts/DefaultLayout.vue,默认布局组合 Layout 组件: - components/Layout/AppHeader.vue,顶部导航栏(品牌、环境标签、搜索、用户信息) - components/Layout/AppSidebar.vue,侧边菜单栏(导航菜单项) - components/Layout/AppMain.vue,主内容区容器 布局结构:顶栏 + 侧边栏 + 内容区(CSS Grid) --- frontend/src/components/Layout/AppHeader.vue | 140 ++++++++++++++++ frontend/src/components/Layout/AppMain.vue | 15 ++ frontend/src/components/Layout/AppSidebar.vue | 149 ++++++++++++++++++ frontend/src/layouts/DefaultLayout.vue | 22 +++ 4 files changed, 326 insertions(+) create mode 100644 frontend/src/components/Layout/AppHeader.vue create mode 100644 frontend/src/components/Layout/AppMain.vue create mode 100644 frontend/src/components/Layout/AppSidebar.vue create mode 100644 frontend/src/layouts/DefaultLayout.vue diff --git a/frontend/src/components/Layout/AppHeader.vue b/frontend/src/components/Layout/AppHeader.vue new file mode 100644 index 0000000..0b9b8df --- /dev/null +++ b/frontend/src/components/Layout/AppHeader.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/frontend/src/components/Layout/AppMain.vue b/frontend/src/components/Layout/AppMain.vue new file mode 100644 index 0000000..2627672 --- /dev/null +++ b/frontend/src/components/Layout/AppMain.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/frontend/src/components/Layout/AppSidebar.vue b/frontend/src/components/Layout/AppSidebar.vue new file mode 100644 index 0000000..298e2fd --- /dev/null +++ b/frontend/src/components/Layout/AppSidebar.vue @@ -0,0 +1,149 @@ + + + + + diff --git a/frontend/src/layouts/DefaultLayout.vue b/frontend/src/layouts/DefaultLayout.vue new file mode 100644 index 0000000..aba2fbf --- /dev/null +++ b/frontend/src/layouts/DefaultLayout.vue @@ -0,0 +1,22 @@ + + + + +