perf-新增组件BasicButton/其他部分配置

This commit is contained in:
Huang 2022-06-15 17:27:39 +08:00
parent 60d94aeca9
commit 0db33173c5
11 changed files with 193 additions and 236 deletions

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

295
pnpm-lock.yaml generated
View File

@ -3,21 +3,21 @@ lockfileVersion: 5.4
specifiers:
'@dcasia/mini-program-tailwind-webpack-plugin': ^1.4.1
'@dcloudio/types': ^2.6.11
'@dcloudio/uni-app': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-app-plus': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-automator': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-cli-shared': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-components': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-h5': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-alipay': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-baidu': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-kuaishou': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-lark': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-qq': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-toutiao': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-weixin': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-quickapp-webview': ^3.0.0-alpha-3041520220610001
'@dcloudio/vite-plugin-uni': ^3.0.0-alpha-3041520220610001
'@dcloudio/uni-app': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-app-plus': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-automator': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-cli-shared': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-components': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-h5': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-mp-alipay': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-mp-baidu': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-mp-kuaishou': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-mp-lark': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-mp-qq': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-mp-toutiao': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-mp-weixin': ^3.0.0-alpha-3041720220614001
'@dcloudio/uni-quickapp-webview': ^3.0.0-alpha-3041720220614001
'@dcloudio/vite-plugin-uni': ^3.0.0-alpha-3041720220614001
'@types/crypto-js': ^4.1.1
'@types/lodash-es': ^4.17.6
'@types/node': ^17.0.42
@ -52,7 +52,7 @@ dependencies:
'@dcloudio/uni-mp-baidu': registry.npmmirror.com/@dcloudio/uni-mp-baidu/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-kuaishou': registry.npmmirror.com/@dcloudio/uni-mp-kuaishou/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-lark': registry.npmmirror.com/@dcloudio/uni-mp-lark/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-qq': registry.npmmirror.com/@dcloudio/uni-mp-qq/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-qq': registry.npmmirror.com/@dcloudio/uni-mp-qq/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-toutiao': registry.npmmirror.com/@dcloudio/uni-mp-toutiao/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-weixin': registry.npmmirror.com/@dcloudio/uni-mp-weixin/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-quickapp-webview': registry.npmmirror.com/@dcloudio/uni-quickapp-webview/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
@ -560,58 +560,6 @@ packages:
- vue
dev: true
registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-YHjT1hBPBnvRkv1K9TICp/Zjtno/ar4Vr5f7WTQ7gD2k3jlVnQ07a6zKpfgKHMrOPTq1rzM0AEfQVmd7PNy5Iw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-cli-shared/-/uni-cli-shared-3.0.0-alpha-3041520220610001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041520220610001
name: '@dcloudio/uni-cli-shared'
version: 3.0.0-alpha-3041520220610001
dependencies:
'@ampproject/remapping': registry.npmmirror.com/@ampproject/remapping/2.2.0
'@babel/core': registry.npmmirror.com/@babel/core/7.18.2
'@babel/parser': registry.npmmirror.com/@babel/parser/7.18.4
'@babel/types': registry.npmmirror.com/@babel/types/7.18.4
'@dcloudio/uni-i18n': registry.npmmirror.com/@dcloudio/uni-i18n/3.0.0-alpha-3041520220610001
'@dcloudio/uni-shared': registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041520220610001
'@intlify/core-base': registry.npmmirror.com/@intlify/core-base/9.1.9
'@intlify/shared': registry.npmmirror.com/@intlify/shared/9.1.9
'@intlify/vue-devtools': registry.npmmirror.com/@intlify/vue-devtools/9.1.9
'@rollup/pluginutils': registry.npmmirror.com/@rollup/pluginutils/4.2.1
'@vue/compiler-core': registry.npmmirror.com/@vue/compiler-core/3.2.33
'@vue/compiler-dom': registry.npmmirror.com/@vue/compiler-dom/3.2.33
'@vue/compiler-sfc': registry.npmmirror.com/@vue/compiler-sfc/3.2.33
'@vue/server-renderer': registry.npmmirror.com/@vue/server-renderer/3.2.33_vue@3.2.37
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
autoprefixer: registry.npmmirror.com/autoprefixer/10.4.7_postcss@8.4.14
base64url: registry.npmmirror.com/base64url/3.0.1
chokidar: registry.npmmirror.com/chokidar/3.5.3
compare-versions: registry.npmmirror.com/compare-versions/3.6.0
debug: registry.npmmirror.com/debug/4.3.4
es-module-lexer: registry.npmmirror.com/es-module-lexer/0.9.3
esbuild: registry.npmmirror.com/esbuild/0.14.42
estree-walker: registry.npmmirror.com/estree-walker/2.0.2
fast-glob: registry.npmmirror.com/fast-glob/3.2.11
fs-extra: registry.npmmirror.com/fs-extra/10.1.0
hash-sum: registry.npmmirror.com/hash-sum/2.0.0
jsonc-parser: registry.npmmirror.com/jsonc-parser/3.0.0
magic-string: registry.npmmirror.com/magic-string/0.26.2
merge: registry.npmmirror.com/merge/2.1.1
mime: registry.npmmirror.com/mime/3.0.0
module-alias: registry.npmmirror.com/module-alias/2.2.2
picocolors: registry.npmmirror.com/picocolors/1.0.0
postcss-import: registry.npmmirror.com/postcss-import/14.1.0_postcss@8.4.14
postcss-load-config: registry.npmmirror.com/postcss-load-config/3.1.4_postcss@8.4.14
postcss-modules: registry.npmmirror.com/postcss-modules/4.3.1_postcss@8.4.14
postcss-selector-parser: registry.npmmirror.com/postcss-selector-parser/6.0.10
resolve: registry.npmmirror.com/resolve/1.22.0
tapable: registry.npmmirror.com/tapable/2.2.1
xregexp: registry.npmmirror.com/xregexp/3.1.0
transitivePeerDependencies:
- postcss
- supports-color
- ts-node
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-QxqVnpr/R1IfOks0TXoJa7ZRREJ4jnIl06t1UKMJJ4fMcD4WWtzS6gjWRpQ87NlLduLncELIZyhY8CaJ3Ex+YQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-cli-shared/-/uni-cli-shared-3.0.0-alpha-3041720220614001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041720220614001
@ -740,12 +688,6 @@ packages:
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-i18n/3.0.0-alpha-3041520220610001:
resolution: {integrity: sha512-fmLrm74yqforL6uYHyPHtsv76GUyR9SmynqvoUOq9atd4YUUE5QM8dmOg3cLwYynIEDa65QnSfanju7PXm0LCg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-i18n/-/uni-i18n-3.0.0-alpha-3041520220610001.tgz}
name: '@dcloudio/uni-i18n'
version: 3.0.0-alpha-3041520220610001
dev: false
registry.npmmirror.com/@dcloudio/uni-i18n/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-N1KQiOhudinR1slIJmVKKct0bS7Y3PdrrEnQ1sKlwL4JJdPXhEn0ItXAX9rCsRg42XHINlb/sPOAsIuJYYIBBQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-i18n/-/uni-i18n-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uni-i18n'
@ -791,28 +733,6 @@ packages:
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-mp-compiler/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-b+QiExTQzycUr+N4qJaGOGBbEUYgh26ETd+5nNze8ROeNACWWc0ADgjSC4LYej83oyW9kEtLO7OmpZMRDoBqYw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-compiler/-/uni-mp-compiler-3.0.0-alpha-3041520220610001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-mp-compiler/3.0.0-alpha-3041520220610001
name: '@dcloudio/uni-mp-compiler'
version: 3.0.0-alpha-3041520220610001
dependencies:
'@babel/generator': registry.npmmirror.com/@babel/generator/7.18.2
'@babel/parser': registry.npmmirror.com/@babel/parser/7.18.4
'@babel/types': registry.npmmirror.com/@babel/types/7.18.4
'@dcloudio/uni-cli-shared': registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-shared': registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041520220610001
'@vue/compiler-core': registry.npmmirror.com/@vue/compiler-core/3.2.33
'@vue/compiler-dom': registry.npmmirror.com/@vue/compiler-dom/3.2.33
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
estree-walker: registry.npmmirror.com/estree-walker/2.0.2
transitivePeerDependencies:
- postcss
- supports-color
- ts-node
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-mp-compiler/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-OK4K+Rrg6HVqJw6t9DkjsM43uJOEd3q8JxY2Ebui9u/SjzHrUG/2F2d3jEPxPML8Q3YnBlpQLqmBuVbsnyVphg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-compiler/-/uni-mp-compiler-3.0.0-alpha-3041720220614001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-mp-compiler/3.0.0-alpha-3041720220614001
@ -877,17 +797,17 @@ packages:
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-mp-qq/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-qoagM9N/K6BplQjndx0d72+FDAkmFQBvfha4f+S+iGhwuWxJH+jKqgS1ppN2bkflHbcJ2EUlu81RclJ7rNAnLg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-qq/-/uni-mp-qq-3.0.0-alpha-3041520220610001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-mp-qq/3.0.0-alpha-3041520220610001
registry.npmmirror.com/@dcloudio/uni-mp-qq/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-4ujv2BQ/OiACiHBfj4z9UXmG/2IeZI2lUJzqBrtUENaZhDc7QfLIAhJrm1TowG60K2nDRvxaXNbqvO6HQKXl1w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-qq/-/uni-mp-qq-3.0.0-alpha-3041720220614001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-mp-qq/3.0.0-alpha-3041720220614001
name: '@dcloudio/uni-mp-qq'
version: 3.0.0-alpha-3041520220610001
version: 3.0.0-alpha-3041720220614001
dependencies:
'@dcloudio/uni-cli-shared': registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-vite': registry.npmmirror.com/@dcloudio/uni-mp-vite/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-vue': registry.npmmirror.com/@dcloudio/uni-mp-vue/3.0.0-alpha-3041520220610001
'@dcloudio/uni-shared': registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041520220610001
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
'@dcloudio/uni-cli-shared': registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-vite': registry.npmmirror.com/@dcloudio/uni-mp-vite/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-vue': registry.npmmirror.com/@dcloudio/uni-mp-vue/3.0.0-alpha-3041720220614001
'@dcloudio/uni-shared': registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041720220614001
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.37
fs-extra: registry.npmmirror.com/fs-extra/10.1.0
transitivePeerDependencies:
- postcss
@ -916,28 +836,6 @@ packages:
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-mp-vite/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-0Mi4cGiydbLxyOpxl85CHwB1L+HAl8Dy1TOw/OPoo0sgwAwFCyfsExQkzM4SmBrnwZQ2xG+mc7cw66+ACkuCJg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-vite/-/uni-mp-vite-3.0.0-alpha-3041520220610001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-mp-vite/3.0.0-alpha-3041520220610001
name: '@dcloudio/uni-mp-vite'
version: 3.0.0-alpha-3041520220610001
dependencies:
'@dcloudio/uni-cli-shared': registry.npmmirror.com/@dcloudio/uni-cli-shared/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-i18n': registry.npmmirror.com/@dcloudio/uni-i18n/3.0.0-alpha-3041520220610001
'@dcloudio/uni-mp-compiler': registry.npmmirror.com/@dcloudio/uni-mp-compiler/3.0.0-alpha-3041520220610001_postcss@8.4.14+vue@3.2.37
'@dcloudio/uni-mp-vue': registry.npmmirror.com/@dcloudio/uni-mp-vue/3.0.0-alpha-3041520220610001
'@dcloudio/uni-shared': registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041520220610001
'@vue/compiler-sfc': registry.npmmirror.com/@vue/compiler-sfc/3.2.33
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
debug: registry.npmmirror.com/debug/4.3.4
magic-string: registry.npmmirror.com/magic-string/0.26.2
transitivePeerDependencies:
- postcss
- supports-color
- ts-node
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-mp-vite/3.0.0-alpha-3041720220614001_postcss@8.4.14+vue@3.2.37:
resolution: {integrity: sha512-aDI0KTycg9DfGfrbylHsDpWJbJiDhWzedzbTxvtvMsFOGbnMVIfHO2ONpnX58c1NhNCKO374Zx+SlUlN41R/NA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-vite/-/uni-mp-vite-3.0.0-alpha-3041720220614001.tgz}
id: registry.npmmirror.com/@dcloudio/uni-mp-vite/3.0.0-alpha-3041720220614001
@ -960,15 +858,6 @@ packages:
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-mp-vue/3.0.0-alpha-3041520220610001:
resolution: {integrity: sha512-AZ0L6FPaBSQ0LzA6d5e95w0G/ShY0YRxwxeNmq5gA+MxQZk0jl9e3X5sxdLeBdW6RbviD6+Uh2DYuPK+dahkpA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-vue/-/uni-mp-vue-3.0.0-alpha-3041520220610001.tgz}
name: '@dcloudio/uni-mp-vue'
version: 3.0.0-alpha-3041520220610001
dependencies:
'@dcloudio/uni-shared': registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041520220610001
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
dev: false
registry.npmmirror.com/@dcloudio/uni-mp-vue/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-sM/4RfTWXRMseYrlVbWYDtH4xVo7TLiMXu8ZdHYnAded5GeA9wy+y+OL020AdY5+bhxJ06NRGIssGcJmke+gzA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-mp-vue/-/uni-mp-vue-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uni-mp-vue'
@ -1038,14 +927,6 @@ packages:
- vue
dev: false
registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041520220610001:
resolution: {integrity: sha512-d4Pz5Z9IS0TR4UVawCrWv17DN9Z/sVOAYY55cFCqU+1SP4+mMnLgLEgOP+xd4xychMvZ3RbR7kZc8itITMAVYQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-shared/-/uni-shared-3.0.0-alpha-3041520220610001.tgz}
name: '@dcloudio/uni-shared'
version: 3.0.0-alpha-3041520220610001
dependencies:
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
dev: false
registry.npmmirror.com/@dcloudio/uni-shared/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-zWt3zrezfPqTYuAkpFsJHx0O1v+qGAu/Z58ZDgv+L7ytD/is/KgPoKDTS/D50vI3vnNtvNk7yY7CUj7RxWXbTA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uni-shared/-/uni-shared-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uni-shared'
@ -1069,6 +950,50 @@ packages:
- vue
dev: false
registry.npmmirror.com/@dcloudio/uts-darwin-arm64/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-q50tsYVU05ctBSMXvYr5A1/5erFJIymlw0T1d3chcvN8AalT2yeBmY1j4sfqENEbiAUr0GZyQ2wEPsFuymd53w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uts-darwin-arm64/-/uts-darwin-arm64-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uts-darwin-arm64'
version: 3.0.0-alpha-3041720220614001
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
registry.npmmirror.com/@dcloudio/uts-darwin-x64/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-azO2YC2p6yL28inVg8RtmsgpaGa0Xl/rtP2uqOWBOjelu8W2KDi5xR/LjSaeatR7eb/1EBvDwmfhcFn+DS2k1g==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uts-darwin-x64/-/uts-darwin-x64-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uts-darwin-x64'
version: 3.0.0-alpha-3041720220614001
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
requiresBuild: true
dev: false
optional: true
registry.npmmirror.com/@dcloudio/uts-win32-ia32-msvc/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-sTid/A39FujHIBo6IKYocRzgDlxQyLvIyh+v/LRnhpiHiAeGorTE9s47bi43XtL27ytS0RyhkRwnAjRDuZE6UQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uts-win32-ia32-msvc/-/uts-win32-ia32-msvc-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uts-win32-ia32-msvc'
version: 3.0.0-alpha-3041720220614001
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
requiresBuild: true
dev: false
optional: true
registry.npmmirror.com/@dcloudio/uts-win32-x64-msvc/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-didooSFzGJhlsPnFLBLP+JxC3p6u/5a/oR/dwovDnJ0FqOkw/6TVgEeGG2AOmm1nRISdj2sAYKvb+ffqhS+Xtw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uts-win32-x64-msvc/-/uts-win32-x64-msvc-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uts-win32-x64-msvc'
version: 3.0.0-alpha-3041720220614001
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
requiresBuild: true
dev: false
optional: true
registry.npmmirror.com/@dcloudio/uts/3.0.0-alpha-3041720220614001:
resolution: {integrity: sha512-6Y7W6E97XdnPfORhH+QLJY8DfsovWzp1n+hLTvJTF6C31YfBLGkyXMYVtdFatXBHaZwU7XDWsGBDC17/O7Wz7w==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@dcloudio/uts/-/uts-3.0.0-alpha-3041720220614001.tgz}
name: '@dcloudio/uts'
@ -1080,6 +1005,11 @@ packages:
fast-glob: registry.npmmirror.com/fast-glob/3.2.11
fs-extra: registry.npmmirror.com/fs-extra/10.1.0
picocolors: registry.npmmirror.com/picocolors/1.0.0
optionalDependencies:
'@dcloudio/uts-darwin-arm64': registry.npmmirror.com/@dcloudio/uts-darwin-arm64/3.0.0-alpha-3041720220614001
'@dcloudio/uts-darwin-x64': registry.npmmirror.com/@dcloudio/uts-darwin-x64/3.0.0-alpha-3041720220614001
'@dcloudio/uts-win32-ia32-msvc': registry.npmmirror.com/@dcloudio/uts-win32-ia32-msvc/3.0.0-alpha-3041720220614001
'@dcloudio/uts-win32-x64-msvc': registry.npmmirror.com/@dcloudio/uts-win32-x64-msvc/3.0.0-alpha-3041720220614001
dev: false
registry.npmmirror.com/@dcloudio/vite-plugin-uni/3.0.0-alpha-3041720220614001_o3er2qckezomnedcsybg5ezrsa:
@ -1673,17 +1603,6 @@ packages:
- supports-color
dev: true
registry.npmmirror.com/@vue/compiler-core/3.2.33:
resolution: {integrity: sha512-AAmr52ji3Zhk7IKIuigX2osWWsb2nQE5xsdFYjdnmtQ4gymmqXbjLvkSE174+fF3A3kstYrTgGkqgOEbsdLDpw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.2.33.tgz}
name: '@vue/compiler-core'
version: 3.2.33
dependencies:
'@babel/parser': registry.npmmirror.com/@babel/parser/7.18.4
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
estree-walker: registry.npmmirror.com/estree-walker/2.0.2
source-map: registry.npmmirror.com/source-map/0.6.1
dev: false
registry.npmmirror.com/@vue/compiler-core/3.2.37:
resolution: {integrity: sha512-81KhEjo7YAOh0vQJoSmAD68wLfYqJvoiD4ulyedzF+OEk/bk6/hx3fTNVfuzugIIaTrOx4PGx6pAiBRe5e9Zmg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.2.37.tgz}
name: '@vue/compiler-core'
@ -1694,15 +1613,6 @@ packages:
estree-walker: registry.npmmirror.com/estree-walker/2.0.2
source-map: registry.npmmirror.com/source-map/0.6.1
registry.npmmirror.com/@vue/compiler-dom/3.2.33:
resolution: {integrity: sha512-GhiG1C8X98Xz9QUX/RlA6/kgPBWJkjq0Rq6//5XTAGSYrTMBgcLpP9+CnlUg1TFxnnCVughAG+KZl28XJqw8uQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.2.33.tgz}
name: '@vue/compiler-dom'
version: 3.2.33
dependencies:
'@vue/compiler-core': registry.npmmirror.com/@vue/compiler-core/3.2.33
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
dev: false
registry.npmmirror.com/@vue/compiler-dom/3.2.37:
resolution: {integrity: sha512-yxJLH167fucHKxaqXpYk7x8z7mMEnXOw3G2q62FTkmsvNxu4FQSu5+3UMb+L7fjKa26DEzhrmCxAgFLLIzVfqQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.2.37.tgz}
name: '@vue/compiler-dom'
@ -1711,23 +1621,6 @@ packages:
'@vue/compiler-core': registry.npmmirror.com/@vue/compiler-core/3.2.37
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.37
registry.npmmirror.com/@vue/compiler-sfc/3.2.33:
resolution: {integrity: sha512-H8D0WqagCr295pQjUYyO8P3IejM3vEzeCO1apzByAEaAR/WimhMYczHfZVvlCE/9yBaEu/eu9RdiWr0kF8b71Q==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.2.33.tgz}
name: '@vue/compiler-sfc'
version: 3.2.33
dependencies:
'@babel/parser': registry.npmmirror.com/@babel/parser/7.18.4
'@vue/compiler-core': registry.npmmirror.com/@vue/compiler-core/3.2.33
'@vue/compiler-dom': registry.npmmirror.com/@vue/compiler-dom/3.2.33
'@vue/compiler-ssr': registry.npmmirror.com/@vue/compiler-ssr/3.2.33
'@vue/reactivity-transform': registry.npmmirror.com/@vue/reactivity-transform/3.2.33
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
estree-walker: registry.npmmirror.com/estree-walker/2.0.2
magic-string: registry.npmmirror.com/magic-string/0.25.9
postcss: registry.npmmirror.com/postcss/8.4.14
source-map: registry.npmmirror.com/source-map/0.6.1
dev: false
registry.npmmirror.com/@vue/compiler-sfc/3.2.37:
resolution: {integrity: sha512-+7i/2+9LYlpqDv+KTtWhOZH+pa8/HnX/905MdVmAcI/mPQOBwkHHIzrsEsucyOIZQYMkXUiTkmZq5am/NyXKkg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.2.37.tgz}
name: '@vue/compiler-sfc'
@ -1744,15 +1637,6 @@ packages:
postcss: registry.npmmirror.com/postcss/8.4.14
source-map: registry.npmmirror.com/source-map/0.6.1
registry.npmmirror.com/@vue/compiler-ssr/3.2.33:
resolution: {integrity: sha512-XQh1Xdk3VquDpXsnoCd7JnMoWec9CfAzQDQsaMcSU79OrrO2PNR0ErlIjm/mGq3GmBfkQjzZACV+7GhfRB8xMQ==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.2.33.tgz}
name: '@vue/compiler-ssr'
version: 3.2.33
dependencies:
'@vue/compiler-dom': registry.npmmirror.com/@vue/compiler-dom/3.2.33
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
dev: false
registry.npmmirror.com/@vue/compiler-ssr/3.2.37:
resolution: {integrity: sha512-7mQJD7HdXxQjktmsWp/J67lThEIcxLemz1Vb5I6rYJHR5vI+lON3nPGOH3ubmbvYGt8xEUaAr1j7/tIFWiEOqw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.2.37.tgz}
name: '@vue/compiler-ssr'
@ -1767,18 +1651,6 @@ packages:
version: 6.1.4
dev: false
registry.npmmirror.com/@vue/reactivity-transform/3.2.33:
resolution: {integrity: sha512-4UL5KOIvSQb254aqenW4q34qMXbfZcmEsV/yVidLUgvwYQQ/D21bGX3DlgPUGI3c4C+iOnNmDCkIxkILoX/Pyw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/reactivity-transform/-/reactivity-transform-3.2.33.tgz}
name: '@vue/reactivity-transform'
version: 3.2.33
dependencies:
'@babel/parser': registry.npmmirror.com/@babel/parser/7.18.4
'@vue/compiler-core': registry.npmmirror.com/@vue/compiler-core/3.2.33
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
estree-walker: registry.npmmirror.com/estree-walker/2.0.2
magic-string: registry.npmmirror.com/magic-string/0.25.9
dev: false
registry.npmmirror.com/@vue/reactivity-transform/3.2.37:
resolution: {integrity: sha512-IWopkKEb+8qpu/1eMKVeXrK0NLw9HicGviJzhJDEyfxTR9e1WtpnnbYkJWurX6WwoFP0sz10xQg8yL8lgskAZg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/reactivity-transform/-/reactivity-transform-3.2.37.tgz}
name: '@vue/reactivity-transform'
@ -1814,19 +1686,6 @@ packages:
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.37
csstype: registry.npmmirror.com/csstype/2.6.20
registry.npmmirror.com/@vue/server-renderer/3.2.33_vue@3.2.37:
resolution: {integrity: sha512-4jpJHRD4ORv8PlbYi+/MfP8ec1okz6rybe36MdpkDrGIdEItHEUyaHSKvz+ptNEyQpALmmVfRteHkU9F8vxOew==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.2.33.tgz}
id: registry.npmmirror.com/@vue/server-renderer/3.2.33
name: '@vue/server-renderer'
version: 3.2.33
peerDependencies:
vue: 3.2.33
dependencies:
'@vue/compiler-ssr': registry.npmmirror.com/@vue/compiler-ssr/3.2.33
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.33
vue: registry.npmmirror.com/vue/3.2.37
dev: false
registry.npmmirror.com/@vue/server-renderer/3.2.37_vue@3.2.37:
resolution: {integrity: sha512-kLITEJvaYgZQ2h47hIzPh2K3jG8c1zCVbp/o/bzQOyvzaKiCquKS7AaioPI28GNxIsE/zSx+EwWYsNxDCX95MA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.2.37.tgz}
id: registry.npmmirror.com/@vue/server-renderer/3.2.37
@ -1839,12 +1698,6 @@ packages:
'@vue/shared': registry.npmmirror.com/@vue/shared/3.2.37
vue: registry.npmmirror.com/vue/3.2.37
registry.npmmirror.com/@vue/shared/3.2.33:
resolution: {integrity: sha512-UBc1Pg1T3yZ97vsA2ueER0F6GbJebLHYlEi4ou1H5YL4KWvMOOWwpYo9/QpWq93wxKG6Wo13IY74Hcn/f7c7Bg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/shared/-/shared-3.2.33.tgz}
name: '@vue/shared'
version: 3.2.33
dev: false
registry.npmmirror.com/@vue/shared/3.2.37:
resolution: {integrity: sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@vue/shared/-/shared-3.2.37.tgz}
name: '@vue/shared'

View File

@ -1,9 +1,29 @@
:not(not),
::before,
::after {
view,
scroll-view,
swiper,
match-media,
movable-area,
movable-view,
cover-view,
cover-image,
icon,
text,
rich-text,
progress,
button,checkboxe,ditor,
form,input,label,picker,picker-view,radio,
slider,switch,textarea,navigator,
audio,
camera,
imagevideo,
live-player,
live-pusher,
map,canvas,web-view,:before,
:after{
box-sizing: border-box;
}
/* 隐藏scroll-view的滚动条 */
::-webkit-scrollbar {
display: none;

View File

@ -0,0 +1,31 @@
<script lang="ts" setup>
import { defineProps, defineEmits } from 'vue';
import { buttonProps } from '@/components/BasicButton/prpos';
const { disabled } = defineProps(buttonProps);
const emits = defineEmits(['click']);
const click = () => {
emits('click');
};
</script>
<template>
<view class="default-btn" @tap="click"><slot /></view>
</template>
<style lang="scss" scoped>
.default-btn {
color: $uni-text-color-inverse;
border-width: 4rpx;
border-color: $nui-button-border-color;
border-style: solid;
border-radius: $uni-border-radius-base;
background-color: $nui-button-bg-color;
padding: 12rpx 26rpx;
display: inline-block;
font-size: $uni-font-size-sm;
&:hover {
background-color: $nui-button-bg-hover-color;
}
}
</style>

View File

@ -0,0 +1,4 @@
export const buttonProps = {
disabled: { type: Boolean, default: false },
click: { type: Function },
};

View File

@ -0,0 +1,24 @@
<template>
<view>{{ name }}</view>
<view> 组件模板,新建components,将此页面内容复制粘贴到新建.vue文件 </view>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
name: 'Template',
props: {
name: {
type: String,
default: 'Template',
},
},
setup(props) {
const test = 'Test';
const name = props.name;
return { test, name };
},
});
</script>
<style lang="scss" scoped></style>

View File

@ -27,11 +27,7 @@
};
const jumLogin1 = () => {
router.push('/pages/login1/index', {
success: (res) => {
console.log('success===>', res);
},
});
router.push('/pages/login1/index');
};
const jumLogin = () => {
router.push('/pages/login/index');

View File

@ -1,7 +1,32 @@
<script lang="ts" setup>
import { onLoad } from '@dcloudio/uni-app';
import { ref } from 'vue';
import { router } from '@/utils/router';
import BasicButton from '@/components/BasicButton/index.vue';
const go = ref<string>('');
const redirect = ref<string>('');
onLoad((query) => {
go.value = query.go || '';
redirect.value = query.redirect || '';
});
/**
* 返回首页
*/
const backHome = () => {
router.pushTab(redirect.value);
};
</script>
<template>
<view>404</view>
<view class="w-screen flex flex-col items-center pt-320rpx">
<image class="w-360rpx" mode="widthFix" src="/static/svg/weep.svg" />
<view class="mb-40rpx">
<text>{{ go }} 页面找不到了~</text>
</view>
<BasicButton @click="backHome">返回首页</BasicButton>
</view>
</template>
<script lang="ts" setup></script>
<style lang="scss" scoped></style>

View File

@ -74,3 +74,8 @@ $uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle: 36rpx;
$uni-color-paragraph: #3f536e; // 文章段落颜色
$uni-font-size-paragraph: 30rpx;
/* 按钮相关 */
$nui-button-bg-color: #60a5fa;
$nui-button-bg-hover-color: #3b82f6;
$nui-button-border-color: #BFDBFE;

View File

@ -47,15 +47,14 @@ function addInterceptor(routerName: string) {
success: (res: any) => {},
// 失败回调拦截
fail: (err: any) => {
let reg: RegExp;
/* #ifdef MP-WEIXIN */
let reg = /(.*)?(fail page ")(.*)(" is not found$)/;
reg = /(.*)?(fail page ")(.*)(" is not found$)/;
/* #endif */
/* #ifndef MP-WEIXIN */
reg = /(.*)?(fail page `)(.*)(` is not found$)/;
/* #endif */
console.log(reg.test(err.errMsg));
if (reg.test(err.errMsg)) {
Toast('页面不存在');
const go = err.errMsg.replace(reg, '$3') || '';
uni.navigateTo({
url: `${NOT_FOUND_PAGE}?redirect=${HOME_PAGE}&go=${go}`,

View File

@ -22,7 +22,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
terserOptions: {
compress: {
// 发布时删除 console
drop_console: true,
// drop_console: true,
},
},
},