From 7e111a1c07a50b611edb0dfbdf187f33e97d9bb7 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 04 六月 2025 13:13:40 +0800 Subject: [PATCH] feat: UI --- apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.config.ts | 3 + apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.vue | 25 ++++++++++++ apps/taro/src/app.config.ts | 1 apps/taro/src/pages/mine/index.vue | 16 +++++-- apps/taro/src/constants/router.ts | 1 pnpm-lock.yaml | 48 ++++++++--------------- 6 files changed, 58 insertions(+), 36 deletions(-) diff --git a/apps/taro/src/app.config.ts b/apps/taro/src/app.config.ts index 1e5d61c..83268bf 100644 --- a/apps/taro/src/app.config.ts +++ b/apps/taro/src/app.config.ts @@ -116,6 +116,7 @@ 'dashboard/dashboard', 'applyAgent/applyAgent', 'applyResult/applyResult', + 'AgentRecruitment/AgentRecruitment', 'promotionQrcode/promotionQrcode', ], }, diff --git a/apps/taro/src/constants/router.ts b/apps/taro/src/constants/router.ts index 5ab7836..72ae156 100644 --- a/apps/taro/src/constants/router.ts +++ b/apps/taro/src/constants/router.ts @@ -27,5 +27,6 @@ promotionQrcode = '/subpackages/my/promotionQrcode/promotionQrcode', dashboard = '/subpackages/my/dashboard/dashboard', applyAgent = '/subpackages/my/applyAgent/applyAgent', + AgentRecruitment = '/subpackages/my/AgentRecruitment/AgentRecruitment', applyResult = '/subpackages/my/applyResult/applyResult', } diff --git a/apps/taro/src/pages/mine/index.vue b/apps/taro/src/pages/mine/index.vue index e379d80..dbd871b 100644 --- a/apps/taro/src/pages/mine/index.vue +++ b/apps/taro/src/pages/mine/index.vue @@ -27,12 +27,17 @@ title="娓犻亾浜岀淮鐮�" @click="goShareQrcode" ></ListItemV2> - <ListItemV2 - :icon="IconMinePromotion" - title="鎺ㄥ箍浜岀淮鐮�" - @click="goPromotionQrcode" - ></ListItemV2> </template> + <ListItemV2 + :icon="IconMinePromotion" + title="鎺ㄥ箍浜岀淮鐮�" + @click="goPromotionQrcode" + ></ListItemV2> + <ListItemV2 + :icon="IconMinePromotion" + title="浠g悊鎷涘嫙" + @click="goAgentRecruitment" + ></ListItemV2> <ListItemV2 :icon="IconMineCustomerService" v-if="isWeb && !isInAlipay" @@ -107,6 +112,7 @@ const goShareQrcode = useAccessLogin(() => goPage(RouterPath.shareQrcode)); const goPromotionQrcode = useAccessLogin(() => goPage(RouterPath.promotionQrcode)); const goDashboard = useAccessLogin(() => goPage(RouterPath.dashboard)); +const goAgentRecruitment = useAccessLogin(() => goPage(RouterPath.AgentRecruitment)); async function goLogout() { try { diff --git a/apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.config.ts b/apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.config.ts new file mode 100644 index 0000000..305fdb1 --- /dev/null +++ b/apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.config.ts @@ -0,0 +1,3 @@ +export default definePageConfig({ + disableScroll: true, +}); diff --git a/apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.vue b/apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.vue new file mode 100644 index 0000000..b24bfe9 --- /dev/null +++ b/apps/taro/src/subpackages/my/AgentRecruitment/AgentRecruitment.vue @@ -0,0 +1,25 @@ +<template> + <PageLayout title="浠g悊鎷涘嫙" class="applyAgent-page-wrapper" hasBgColor :needAuth="false"> + <ContentScrollView hasPaddingTop style="background-color: transparent"> + <div>AgentRecruitment</div> + </ContentScrollView> + <PageFooter> + <PageFooterBtn type="primary" @click="submit">绔嬪嵆鐢宠</PageFooterBtn> + </PageFooter> + </PageLayout> +</template> + +<script setup lang="ts"> +import { PageLayout } from '@/components'; +import { RouterPath } from '@/constants'; + +defineOptions({ + name: 'AgentRecruitment', +}); + +function submit() { + RouteHelper.navigateTo({ + url: RouterPath.applyAgent, + }); +} +</script> diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index da54bef..b9b1708 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -124,19 +124,19 @@ dependencies: '@bole-12333/chat-kit': specifier: latest - version: 1.0.1(@tencentcloud/chat-uikit-engine@2.4.2)(lodash@4.17.21)(vue@3.5.12) + version: 1.0.1(@tencentcloud/chat-uikit-engine@2.4.4)(lodash@4.17.21)(vue@3.5.12) '@bole-12333/customer-chat': specifier: latest version: 1.0.3(@bole-12333/chat-kit@1.0.1)(@tiptap/core@2.11.5)(@tiptap/extension-document@2.11.5)(@tiptap/extension-image@2.11.5)(@tiptap/extension-mention@2.11.5)(@tiptap/extension-paragraph@2.11.5)(@tiptap/extension-placeholder@2.11.5)(@tiptap/extension-text@2.11.5)(@tiptap/pm@2.11.5)(@tiptap/suggestion@2.11.5)(dayjs@1.11.13)(vue@3.5.12) '@bole-core/components': specifier: latest - version: 1.3.2(@bole-core/core@1.0.2)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@12.8.2)(dayjs@1.11.13)(element-plus@2.9.5)(lodash@4.17.21)(mitt@3.0.1)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.21.6)(vue-component-type-helpers@2.2.8)(vue@3.5.12) + version: 1.3.10(@bole-core/core@1.0.6)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@12.8.2)(dayjs@1.11.13)(element-plus@2.9.5)(lodash@4.17.21)(mitt@3.0.1)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.21.6)(vue-component-type-helpers@2.2.8)(vue@3.5.12) '@bole-core/core': specifier: latest - version: 1.0.2(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5) + version: 1.0.6(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5) '@bole-core/pretty-layout': specifier: latest - version: 1.2.0(@bole-core/core@1.0.2)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.9.5)(fuse.js@6.6.2)(lottie-web@5.12.2)(path-browserify@1.0.1)(path-to-regexp@6.3.0)(pinia@2.3.1)(vue-router@4.5.0)(vue@3.5.12) + version: 1.2.0(@bole-core/core@1.0.6)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.9.5)(fuse.js@6.6.2)(lottie-web@5.12.2)(path-browserify@1.0.1)(path-to-regexp@6.3.0)(pinia@2.3.1)(vue-router@4.5.0)(vue@3.5.12) '@bole-core/sass-utils': specifier: latest version: 0.0.1(element-plus@2.9.5) @@ -743,13 +743,7 @@ specifier: ^4.7.0 version: 4.10.2 - packages/assets: {} - packages/components: - dependencies: - '@life-payment/assets': - specifier: workspace:^ - version: link:../assets devDependencies: '@life-payment/core-vue': specifier: workspace:^ @@ -4212,14 +4206,14 @@ '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - /@bole-12333/chat-kit@1.0.1(@tencentcloud/chat-uikit-engine@2.4.2)(lodash@4.17.21)(vue@3.5.12): + /@bole-12333/chat-kit@1.0.1(@tencentcloud/chat-uikit-engine@2.4.4)(lodash@4.17.21)(vue@3.5.12): resolution: {integrity: sha512-yeSh4XLagaM+uNZRdcG49mhDJO3UbYEpIYZS4Lk303ROnTwxuZyuh5jkoflnCFwWN3Ib3AolfQy999oOqF012A==} peerDependencies: '@tencentcloud/chat-uikit-engine': '*' lodash: '*' vue: 3.5.12 dependencies: - '@tencentcloud/chat-uikit-engine': 2.4.2 + '@tencentcloud/chat-uikit-engine': 2.4.4 lodash: 4.17.21 vue: 3.5.12(typescript@4.9.5) dev: false @@ -4240,7 +4234,7 @@ dayjs: '*' vue: 3.5.12 dependencies: - '@bole-12333/chat-kit': 1.0.1(@tencentcloud/chat-uikit-engine@2.4.2)(lodash@4.17.21)(vue@3.5.12) + '@bole-12333/chat-kit': 1.0.1(@tencentcloud/chat-uikit-engine@2.4.4)(lodash@4.17.21)(vue@3.5.12) '@tiptap/core': 2.11.5(@tiptap/pm@2.11.5) '@tiptap/extension-document': 2.11.5(@tiptap/core@2.11.5) '@tiptap/extension-image': 2.11.5(@tiptap/core@2.11.5) @@ -4254,8 +4248,8 @@ vue: 3.5.12(typescript@4.9.5) dev: false - /@bole-core/components@1.3.2(@bole-core/core@1.0.2)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@12.8.2)(dayjs@1.11.13)(element-plus@2.9.5)(lodash@4.17.21)(mitt@3.0.1)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.21.6)(vue-component-type-helpers@2.2.8)(vue@3.5.12): - resolution: {integrity: sha512-sMCgoaKtJi3nPP3MrMx5cs0IjI0Tbes3YJF1AHN3TItR549aYc+vb+mkU34MjWh7EzqTE40htPxJueAGT6tMWg==} + /@bole-core/components@1.3.10(@bole-core/core@1.0.6)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@tanstack/vue-query@4.37.1)(@videojs-player/vue@1.0.0)(@vueuse/core@11.1.0)(@vueuse/shared@12.8.2)(dayjs@1.11.13)(element-plus@2.9.5)(lodash@4.17.21)(mitt@3.0.1)(senin-help@1.0.5)(senin-vue@1.0.4)(video.js@7.21.6)(vue-component-type-helpers@2.2.8)(vue@3.5.12): + resolution: {integrity: sha512-SRE33nhD4i8MQVvBGbCGH++RfozRM74ctmkhCOCeCoZnlKSqI/i9UlYVrg1Yre5P9TLjh7vEXmSI4TlALrTNXQ==} peerDependencies: '@bole-core/core': '*' '@bole-core/sass-utils': '*' @@ -4274,7 +4268,7 @@ vue: 3.5.12 vue-component-type-helpers: ^2.1.6 dependencies: - '@bole-core/core': 1.0.2(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5) + '@bole-core/core': 1.0.6(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5) '@bole-core/sass-utils': 0.0.1(element-plus@2.9.5) '@element-plus/icons-vue': 2.3.1(vue@3.5.12) '@tanstack/vue-query': 4.37.1(vue@3.5.12) @@ -4292,8 +4286,8 @@ vue-component-type-helpers: 2.2.8 dev: false - /@bole-core/core@1.0.2(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5): - resolution: {integrity: sha512-v5XqgmuaFe1l5tBe9CHytW8UhqI8rh2m8R2J7F2F46XZy5wh7vGfiHshuaooTbfK6ex9A06jcepIWwDOklLs+A==} + /@bole-core/core@1.0.6(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5): + resolution: {integrity: sha512-0q0E0ebl6+Arqgg2+OxewmeyizwlxGQdHLLivA9WaFxAY6a5rskVYyEgCwf7hCr4C3saXpNVTzhmmvjVxrr6Lw==} peerDependencies: '@ywwlmm/openapi': '*' ali-oss: '*' @@ -4324,7 +4318,7 @@ xlsx-style: 0.8.13 dev: false - /@bole-core/pretty-layout@1.2.0(@bole-core/core@1.0.2)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.9.5)(fuse.js@6.6.2)(lottie-web@5.12.2)(path-browserify@1.0.1)(path-to-regexp@6.3.0)(pinia@2.3.1)(vue-router@4.5.0)(vue@3.5.12): + /@bole-core/pretty-layout@1.2.0(@bole-core/core@1.0.6)(@bole-core/sass-utils@0.0.1)(@element-plus/icons-vue@2.3.1)(@vueuse/core@11.1.0)(element-plus@2.9.5)(fuse.js@6.6.2)(lottie-web@5.12.2)(path-browserify@1.0.1)(path-to-regexp@6.3.0)(pinia@2.3.1)(vue-router@4.5.0)(vue@3.5.12): resolution: {integrity: sha512-LvneMdMfGj6dpFR7voQd2F+v02P4zYHGP3BAWKcrTj8BMeWXRt08Sz7qBrhq1F8lidjqi7TCttQbx2cEV1qBEA==} peerDependencies: '@bole-core/core': '*' @@ -4340,7 +4334,7 @@ vue: 3.5.12 vue-router: '*' dependencies: - '@bole-core/core': 1.0.2(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5) + '@bole-core/core': 1.0.6(@ywwlmm/openapi@0.0.4)(ali-oss@6.22.0)(axios@1.7.7)(dayjs@1.11.13)(element-plus@2.9.5)(file-saver@2.0.5)(jszip@3.10.1)(lodash@4.17.21)(senior-request@1.0.4)(vue-router@4.5.0)(vue@3.5.12)(xlsx-style@0.8.13)(xlsx@0.18.5) '@bole-core/sass-utils': 0.0.1(element-plus@2.9.5) '@element-plus/icons-vue': 2.3.1(vue@3.5.12) '@vueuse/core': 11.1.0(vue@3.5.12) @@ -8577,7 +8571,7 @@ '@tanstack/match-sorter-utils': 8.19.4 '@tanstack/query-core': 4.36.1 '@vue/devtools-api': 6.6.4 - vue: 3.5.12(typescript@4.9.5) + vue: 3.5.12(typescript@5.8.2) vue-demi: 0.13.11(vue@3.5.12) dev: false @@ -9593,14 +9587,6 @@ /@tencentcloud/chat-uikit-engine@2.3.3: resolution: {integrity: sha512-DHORxHgcyLstIYqMt09RzPjxAZ5N5p4fK7BYBDMEWsIQSXpcQJQKeGEu4eOZIaHtc9ih28EcPAdoZuvJoQiWlA==} - dependencies: - '@tencentcloud/chat': 3.5.5 - tim-profanity-filter-plugin: 1.1.0 - tim-upload-plugin: 1.4.2 - dev: false - - /@tencentcloud/chat-uikit-engine@2.4.2: - resolution: {integrity: sha512-L5rr1mO98S1Uz5IndJ2QdGv++5zbSUTnGSz4x3rKx5lWXlcJzSo1RY9DxYcWTKQKos9bG2d4JIIeg4DlfGb+Pg==} dependencies: '@tencentcloud/chat': 3.5.5 tim-profanity-filter-plugin: 1.1.0 @@ -30167,7 +30153,7 @@ minimatch: 9.0.5 mlly: 1.7.4 unplugin: 1.16.1 - vue: 3.5.12(typescript@4.9.5) + vue: 3.5.12(typescript@5.8.2) transitivePeerDependencies: - rollup - supports-color @@ -30899,7 +30885,7 @@ '@vue/composition-api': optional: true dependencies: - vue: 3.5.12(typescript@4.9.5) + vue: 3.5.12(typescript@5.8.2) /vue-eslint-parser@10.1.1(eslint@8.57.1): resolution: {integrity: sha512-bh2Z/Au5slro9QJ3neFYLanZtb1jH+W2bKqGHXAoYD4vZgNG3KeotL7JpPv5xzY4UXUXJl7TrIsnzECH63kd3Q==} -- Gitblit v1.9.1