From 0eb83fc930d9402450ba07ab76d1e382c5d0f2b9 Mon Sep 17 00:00:00 2001
From: Gsh <15170702455@163.com>
Date: Thu, 26 Jun 2025 00:35:13 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BA=A7=E5=93=81=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E5=AE=8C=E5=96=84=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=A9=BA=E7=99=BD?=
=?UTF-8?q?=E5=B8=83=E5=B1=80=E4=B8=8E=E5=B8=83=E5=B1=80=E5=88=87=E6=8D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Yi.Ai.Vue3/src/config/design.ts | 12 ++++++------
Yi.Ai.Vue3/src/layouts/LayoutBlankPage/index.vue | 9 +++++++++
Yi.Ai.Vue3/src/layouts/index.vue | 2 ++
Yi.Ai.Vue3/src/main.ts | 2 +-
Yi.Ai.Vue3/src/pages/products/index.vue | 8 ++++++++
Yi.Ai.Vue3/src/routers/index.ts | 4 +++-
Yi.Ai.Vue3/src/routers/modules/staticRouter.ts | 1 +
Yi.Ai.Vue3/src/stores/modules/design.ts | 8 +++++---
Yi.Ai.Vue3/types/import_meta.d.ts | 2 --
9 files changed, 35 insertions(+), 13 deletions(-)
create mode 100644 Yi.Ai.Vue3/src/layouts/LayoutBlankPage/index.vue
diff --git a/Yi.Ai.Vue3/src/config/design.ts b/Yi.Ai.Vue3/src/config/design.ts
index d7af973e..44995efd 100644
--- a/Yi.Ai.Vue3/src/config/design.ts
+++ b/Yi.Ai.Vue3/src/config/design.ts
@@ -1,11 +1,11 @@
-export type LayoutType = 'vertical';
+export type LayoutType = | 'vertical' | 'blankPage';
// 仿豆包折叠逻辑
-export type CollapseType =
- | 'alwaysCollapsed' // 始终折叠
- | 'followSystem' // 跟随系统视口宽度
- | 'alwaysExpanded' // 始终打开
- | 'narrowExpandWideCollapse'; // 系统视口 宽小则张,宽大则收
+export type CollapseType
+ = | 'alwaysCollapsed' // 始终折叠
+ | 'followSystem' // 跟随系统视口宽度
+ | 'alwaysExpanded' // 始终打开
+ | 'narrowExpandWideCollapse'; // 系统视口 宽小则张,宽大则收
export interface DesignConfigState {
// 系统主题
diff --git a/Yi.Ai.Vue3/src/layouts/LayoutBlankPage/index.vue b/Yi.Ai.Vue3/src/layouts/LayoutBlankPage/index.vue
new file mode 100644
index 00000000..be2aa541
--- /dev/null
+++ b/Yi.Ai.Vue3/src/layouts/LayoutBlankPage/index.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
diff --git a/Yi.Ai.Vue3/src/layouts/index.vue b/Yi.Ai.Vue3/src/layouts/index.vue
index a818e995..f3894097 100644
--- a/Yi.Ai.Vue3/src/layouts/index.vue
+++ b/Yi.Ai.Vue3/src/layouts/index.vue
@@ -1,6 +1,7 @@