From 63deaf3392ec1eb4b7143745699df510b1899866 Mon Sep 17 00:00:00 2001 From: expressgy Date: Tue, 2 Jul 2024 18:30:27 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E5=AE=8C=E6=88=90=E6=9C=8D=E5=8A=A1=201.?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=BB=93=E6=9E=84=202.=20=E4=BF=AE=E6=94=B9naiveui=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=B1=9E=E6=80=A7=EF=BC=8C=E5=87=86=E5=A4=87=E6=94=BE?= =?UTF-8?q?=E5=BC=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierrc.json | 2 +- package.json | 1 + pnpm-lock.yaml | 17 ++-- src/App.vue | 17 +++- src/api/http.js | 6 +- src/components/AntDesignVue/index.js | 28 ++++++ .../Framework}/ModalTemplate/index.vue | 0 .../{ => Custom/Framework}/Pacman/index.vue | 0 .../Framework/WorkContainer}/example.vue | 10 +- .../Framework/WorkContainer}/index.vue | 0 .../{icons => Custom/Icons}/IconCommunity.vue | 0 .../Icons}/IconDocumentation.vue | 0 .../{icons => Custom/Icons}/IconEcosystem.vue | 0 .../{icons => Custom/Icons}/IconSupport.vue | 0 .../{icons => Custom/Icons}/IconTooling.vue | 0 .../{icons => Custom/Icons}/key.vue | 0 .../{icons => Custom/Icons}/user.vue | 0 src/components/Custom/index.js | 23 +++++ src/components/HelloWorld.vue | 43 -------- src/components/NaiveUI/index.js | 69 +++++++++++++ src/components/TheWelcome.vue | 78 --------------- src/components/WelcomeItem.vue | 86 ---------------- src/components/index.js | 23 +++++ src/main.js | 62 ++---------- src/router/authorization.js | 4 +- src/router/index.js | 2 +- src/stores/system.js | 63 ++++++------ src/views/Auth/Service/index.vue | 99 +++++++++++++++---- src/views/Home/index.vue | 2 +- src/views/SignIn/index.vue | 16 +-- vite.config.js | 3 +- 31 files changed, 308 insertions(+), 346 deletions(-) create mode 100644 src/components/AntDesignVue/index.js rename src/components/{ => Custom/Framework}/ModalTemplate/index.vue (100%) rename src/components/{ => Custom/Framework}/Pacman/index.vue (100%) rename src/components/{WorkConatiner => Custom/Framework/WorkContainer}/example.vue (76%) rename src/components/{WorkConatiner => Custom/Framework/WorkContainer}/index.vue (100%) rename src/components/{icons => Custom/Icons}/IconCommunity.vue (100%) rename src/components/{icons => Custom/Icons}/IconDocumentation.vue (100%) rename src/components/{icons => Custom/Icons}/IconEcosystem.vue (100%) rename src/components/{icons => Custom/Icons}/IconSupport.vue (100%) rename src/components/{icons => Custom/Icons}/IconTooling.vue (100%) rename src/components/{icons => Custom/Icons}/key.vue (100%) rename src/components/{icons => Custom/Icons}/user.vue (100%) create mode 100644 src/components/Custom/index.js delete mode 100644 src/components/HelloWorld.vue create mode 100644 src/components/NaiveUI/index.js delete mode 100644 src/components/TheWelcome.vue delete mode 100644 src/components/WelcomeItem.vue create mode 100644 src/components/index.js diff --git a/.prettierrc.json b/.prettierrc.json index 17899ec..f53571b 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/prettierrc", - "printWidth": 160, + "printWidth": 180, "tabWidth": 4, "useTabs": false, "semi": true, diff --git a/package.json b/package.json index 08ef670..0da22fa 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "format": "prettier --write src/" }, "dependencies": { + "@vicons/antd": "^0.12.0", "ant-design-vue": "4.x", "axios": "^1.7.2", "dayjs": "^1.11.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4808f64..55e18c0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: dependencies: + '@vicons/antd': + specifier: ^0.12.0 + version: 0.12.0 ant-design-vue: specifier: 4.x version: 4.2.3(vue@3.4.31) @@ -523,55 +526,46 @@ packages: resolution: {integrity: sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==} cpu: [arm] os: [linux] - libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.18.0': resolution: {integrity: sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==} cpu: [arm] os: [linux] - libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.18.0': resolution: {integrity: sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==} cpu: [arm64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.18.0': resolution: {integrity: sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==} cpu: [arm64] os: [linux] - libc: [musl] '@rollup/rollup-linux-powerpc64le-gnu@4.18.0': resolution: {integrity: sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==} cpu: [ppc64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.18.0': resolution: {integrity: sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==} cpu: [riscv64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.18.0': resolution: {integrity: sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==} cpu: [s390x] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.18.0': resolution: {integrity: sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==} cpu: [x64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-musl@4.18.0': resolution: {integrity: sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==} cpu: [x64] os: [linux] - libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.18.0': resolution: {integrity: sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==} @@ -609,6 +603,9 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + '@vicons/antd@0.12.0': + resolution: {integrity: sha512-C0p6aO1EmGG1QHrqgUWQS1No20934OdWSRQshM5NIDK5H1On6tC26U0hT6Rmp40KfUsvhvX5YW8BoWJdNFifPg==} + '@vicons/ionicons5@0.12.0': resolution: {integrity: sha512-Iy1EUVRpX0WWxeu1VIReR1zsZLMc4fqpt223czR+Rpnrwu7pt46nbnC2ycO7ItI/uqDLJxnbcMC7FujKs9IfFA==} @@ -2263,6 +2260,8 @@ snapshots: '@ungap/structured-clone@1.2.0': {} + '@vicons/antd@0.12.0': {} + '@vicons/ionicons5@0.12.0': {} '@vitejs/plugin-vue-jsx@4.0.0(vite@5.3.2(sass@1.77.6))(vue@3.4.31)': diff --git a/src/App.vue b/src/App.vue index 959f0df..9c6e240 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,15 +1,26 @@