From 69b7429909a40a43d5691a2eeb3893919074510f Mon Sep 17 00:00:00 2001
From: feige996 <1020102647@qq.com>
Date: Sun, 22 Jun 2025 10:04:44 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=92=8C=E4=BB=A3=E7=A0=81=E7=89=87=E6=AE=B5?=
=?UTF-8?q?=E6=A0=BC=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 将首页图标类型从 'wot' 改为 'uiLib'
- 调整 Vue3 代码片段中 template 和 script 的顺序
- 格式化代码片段的缩进和换行
---
.vscode/vue3.code-snippets | 26 +++++++++++++++++++-------
src/pages.json | 2 +-
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/.vscode/vue3.code-snippets b/.vscode/vue3.code-snippets
index 621b9e2..51bab9f 100644
--- a/.vscode/vue3.code-snippets
+++ b/.vscode/vue3.code-snippets
@@ -27,12 +27,12 @@
" },",
"}",
"\n",
- "",
- " $2",
- "\n",
"\n",
+ "",
+ " $2",
+ "\n",
"\n",
@@ -41,16 +41,28 @@
"Print unibest style": {
"scope": "vue",
"prefix": "st",
- "body": ["\n"],
+ "body": [
+ "\n"
+ ],
},
"Print unibest script": {
"scope": "vue",
"prefix": "sc",
- "body": ["\n"],
+ "body": [
+ "\n"
+ ],
},
"Print unibest template": {
"scope": "vue",
"prefix": "te",
- "body": ["", " $1", "\n"],
+ "body": [
+ "",
+ " $1",
+ "\n"
+ ],
},
-}
+}
\ No newline at end of file
diff --git a/src/pages.json b/src/pages.json
index 9b32bb1..1fe326b 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -30,7 +30,7 @@
"pagePath": "pages/index/index",
"text": "首页",
"icon": "home",
- "iconType": "wot"
+ "iconType": "uiLib"
},
{
"iconPath": "static/tabbar/example.png",