From abad67d5d0cb7d021f0bcba0331ef1fdd366f30a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 9 Dec 2025 18:45:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=A2=9E=E5=8A=A0=20wot=20?= =?UTF-8?q?=E9=9B=86=E6=88=90=EF=BC=8C=E5=8F=82=E8=80=83=20https://unibest?= =?UTF-8?q?.tech/base/7-ui#%E5%8D%B8%E8%BD%BD-wot-ui-%E5%BA%93=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pages.config.ts | 1 + pnpm-lock.yaml | 13 +++++++++++++ tsconfig.json | 1 + 4 files changed, 16 insertions(+) diff --git a/package.json b/package.json index 04e74fd..a4609e6 100644 --- a/package.json +++ b/package.json @@ -123,6 +123,7 @@ "vue": "^3.4.21", "vue-i18n": "9.1.9", "vue-router": "4.5.1", + "wot-design-uni": "^1.13.0", "z-paging": "2.8.7" }, "devDependencies": { diff --git a/pages.config.ts b/pages.config.ts index 59d98c3..7a9edb3 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -15,6 +15,7 @@ export default defineUniPages({ '^fg-(.*)': '@/components/fg-$1/fg-$1.vue', '^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)': 'z-paging/components/z-paging$1/z-paging$1.vue', + '^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue', }, }, // tabbar 的配置统一在 “./src/tabbar/config.ts” 文件中 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c5e12d..ad402c7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -90,6 +90,9 @@ importers: vue-router: specifier: 4.5.1 version: 4.5.1(vue@3.4.21(typescript@5.8.3)) + wot-design-uni: + specifier: ^1.13.0 + version: 1.13.0(vue@3.4.21(typescript@5.8.3)) z-paging: specifier: 2.8.7 version: 2.8.7 @@ -6142,6 +6145,12 @@ packages: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} + wot-design-uni@1.13.0: + resolution: {integrity: sha512-U4ezX7n1DfSuecTvHap06UqkN7dGhSLyC5n7OfmddajYSiV6t39bPLtRIds6uTarmRZCEWERrLN8cGSdZJIHWg==} + engines: {HBuilderX: ^3.8.7} + peerDependencies: + vue: '>=3.2.47' + wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} @@ -13873,6 +13882,10 @@ snapshots: word-wrap@1.2.5: {} + wot-design-uni@1.13.0(vue@3.4.21(typescript@5.8.3)): + dependencies: + vue: 3.4.21(typescript@5.8.3) + wrap-ansi@7.0.0: dependencies: ansi-styles: 4.3.0 diff --git a/tsconfig.json b/tsconfig.json index 6a3ec97..5085ff8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,7 @@ "@uni-helper/uni-types", "@uni-helper/vite-plugin-uni-pages", "miniprogram-api-typings", + "wot-design-uni/global.d.ts", "z-paging/types", "./src/types/async-component.d.ts", "./src/types/async-import.d.ts",