From 5bc05923f2ff2be3633040019be3fe2fc427b278 Mon Sep 17 00:00:00 2001 From: ZhangAo Date: Fri, 10 Oct 2025 16:46:03 +0800 Subject: [PATCH] u --- .../.vscode/vue3.code-snippets | 17 + .../base-uniapp-main/eslint.config.js | 1 + code/base-project/base-uniapp-main/index.html | 2 +- .../base-uniapp-main/package.json | 2 +- .../base-uniapp-main/pnpm-lock.yaml | 10 +- .../base-uniapp-main/public/logo.png | Bin 0 -> 1922 bytes .../base-project/base-uniapp-main/src/App.vue | 2 +- .../base-project/base-uniapp-main/src/main.ts | 2 +- .../base-uniapp-main/src/manifest.json | 2 +- .../src/pages-sub/file/index.vue | 4 +- .../src/pages-sub/login/index.vue | 90 ++-- .../src/pages-sub/{xcjin => yx}/index.vue | 263 +++++++++- .../base-uniapp-main/src/pages.json | 10 +- .../base-uniapp-main/src/pages/home/index.vue | 126 ++++- .../base-uniapp-main/src/request/api.ts | 17 +- .../router.ts => router/interceptor.ts} | 2 +- .../base-uniapp-main/src/static/images/bg.jpg | Bin 0 -> 36991 bytes .../src/static/images/bg1.jpg | Bin 0 -> 30094 bytes .../src/static/images/bg2.jpg | Bin 0 -> 36856 bytes .../src/static/tabbar/account.png | Bin 5843 -> 8346 bytes .../src/static/tabbar/accountHL.png | Bin 4803 -> 8320 bytes .../src/static/tabbar/home.png | Bin 2036 -> 4369 bytes .../src/static/tabbar/homeHL.png | Bin 1878 -> 4391 bytes .../base-uniapp-main/src/store/counts.ts | 24 + .../base-uniapp-main/src/style/iconfont.css | 14 +- .../base-uniapp-main/src/style/index.scss | 8 +- .../base-uniapp-main/src/utils/file.ts | 3 + code/base-project/base-uniapp-main/test.html | 472 +++++++++++++----- 28 files changed, 834 insertions(+), 237 deletions(-) create mode 100644 code/base-project/base-uniapp-main/.vscode/vue3.code-snippets create mode 100644 code/base-project/base-uniapp-main/public/logo.png rename code/base-project/base-uniapp-main/src/pages-sub/{xcjin => yx}/index.vue (50%) rename code/base-project/base-uniapp-main/src/{interceptor/router.ts => router/interceptor.ts} (97%) create mode 100644 code/base-project/base-uniapp-main/src/static/images/bg.jpg create mode 100644 code/base-project/base-uniapp-main/src/static/images/bg1.jpg create mode 100644 code/base-project/base-uniapp-main/src/static/images/bg2.jpg create mode 100644 code/base-project/base-uniapp-main/src/store/counts.ts diff --git a/code/base-project/base-uniapp-main/.vscode/vue3.code-snippets b/code/base-project/base-uniapp-main/.vscode/vue3.code-snippets new file mode 100644 index 00000000..53f75b0a --- /dev/null +++ b/code/base-project/base-uniapp-main/.vscode/vue3.code-snippets @@ -0,0 +1,17 @@ +{ + "Print Vue3 SFC": { + "scope": "vue", + "prefix": "v3", + "body": [ + "\n", + "\n", + "\n" + ] + } +} diff --git a/code/base-project/base-uniapp-main/eslint.config.js b/code/base-project/base-uniapp-main/eslint.config.js index ec219288..6517d221 100644 --- a/code/base-project/base-uniapp-main/eslint.config.js +++ b/code/base-project/base-uniapp-main/eslint.config.js @@ -17,5 +17,6 @@ export default antfu({ rules: { 'no-console': 'off', // 允许 console.log 不报错 + "prefer-promise-reject-errors": "off" }, }) diff --git a/code/base-project/base-uniapp-main/index.html b/code/base-project/base-uniapp-main/index.html index c1c9e29c..bd1020b2 100644 --- a/code/base-project/base-uniapp-main/index.html +++ b/code/base-project/base-uniapp-main/index.html @@ -2,7 +2,7 @@ - +