From 4e16fa93e824156f08e2f13815e7400fb91cbafa Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Mon, 24 Mar 2025 14:20:03 +0800 Subject: [PATCH] =?UTF-8?q?feat[home]:=20=E4=B8=BB=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 减少内容嵌套 - 样式内容使用 grid 约束新建问卷图标 - 最新问卷内容格式略微调整 - 清除无用的主页代码 --- src/views/Home/Index.vue | 9 --- .../Home/components/CreateSurvey/Index.vue | 66 +++++++++---------- .../Home/components/LastSurvey/Index.vue | 6 +- 3 files changed, 36 insertions(+), 45 deletions(-) diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index fe10f20..e5f4ca4 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -48,17 +48,8 @@ onMounted(async () => { - - - - - - - - - diff --git a/src/views/Home/components/LastSurvey/Index.vue b/src/views/Home/components/LastSurvey/Index.vue index 29bd081..30645fa 100644 --- a/src/views/Home/components/LastSurvey/Index.vue +++ b/src/views/Home/components/LastSurvey/Index.vue @@ -29,7 +29,7 @@ alt="Content Icon" style="width: 15px; height: 15px" /> - {{ survey.scene_name }} | + {{ survey.scene_name }}  | 
- {{ survey.source === 1 ? '移动端' : 'PC端' }} | + {{ survey.source === 1 ? '移动端' : 'PC端' }}  |  
@@ -128,7 +128,7 @@ const setImg = (code) => { color: #fff; .survey_header { - padding: 0 15px; + padding: 0 10px; font-size: 15px; & .survey-all {