From bc6bd0200f4737eb765b028eb0f69c097b1b86d2 Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Wed, 14 May 2025 23:23:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E9=97=AE=E5=8D=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=8F=8A=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=92=8C=E6=A0=B7=E5=BC=8F=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- .windsurf/rules/yl.md | 3 +- components.d.ts | 15 ---- src/assets/css/main.scss | 15 ++-- src/assets/css/theme.scss | 3 +- src/components/Search/Index.vue | 11 ++- src/layouts/redirect.vue | 2 +- src/views/Survey/Index.vue | 29 +++++--- src/views/Survey/components/SurveyItem.vue | 87 +++++++--------------- 9 files changed, 66 insertions(+), 101 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index c4bc1c7..a4f3d56 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,7 +32,7 @@ "editor.formatOnSave": true }, "[vue]": { - "editor.defaultFormatter": "Vue.volar", + "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true }, "css.validate": false, //用来校验CSS文件中的语法错误和潜在的问题 diff --git a/.windsurf/rules/yl.md b/.windsurf/rules/yl.md index edb9865..9eea3ec 100644 --- a/.windsurf/rules/yl.md +++ b/.windsurf/rules/yl.md @@ -5,4 +5,5 @@ trigger: always_on 1. always use chinese to response 2. 尽量使用 element-plus 的组件内容 3. 开发的时候尽量少使用 css 内容,能不用尽量不用 -4. 使用 vue3 的