From 5387155e0638a326b26838db63512503390a9c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Wed, 19 Mar 2025 14:45:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor(layout):=20=E4=BC=98=E5=8C=96=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B8=83=E5=B1=80=E5=92=8C=E6=BB=9A=E5=8A=A8=E4=BD=93?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 index.vue 和 redirect.vue 中添加 layout-body 类,用于控制内容区域高度和滚动 - 调整 Publish 和 Survey 组件中的样式,以适应新的布局结构 - 优化部分组件的代码格式和逻辑 --- src/layouts/index.vue | 14 +- src/layouts/redirect.vue | 20 +- src/router/index.ts | 41 ++-- .../ActionCompoents/QuestionAction.vue | 16 +- src/views/Home/Index.vue | 4 +- .../Home/components/CreateSurvey/Index.vue | 2 +- .../Home/components/LastSurvey/Index.vue | 2 +- .../Market/components/MarketItem.vue | 4 +- src/views/Survey/Index.vue | 10 +- src/views/Survey/views/Create/Index.vue | 16 +- src/views/Survey/views/Preview/Index.vue | 189 +++++++++--------- src/views/Survey/views/Publish/Index.vue | 41 ++-- 12 files changed, 187 insertions(+), 172 deletions(-) diff --git a/src/layouts/index.vue b/src/layouts/index.vue index 3f142ed..929e85d 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -16,7 +16,9 @@ - +
+ +
@@ -35,7 +37,12 @@ function goBack() { }