From d6306fd4627073222f518c093f8e5dd7a705e839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E5=95=A6C=E6=A2=A6?= <15709267061@163.com> Date: Wed, 4 Jun 2025 08:55:14 +0800 Subject: [PATCH] update --- package.json | 1 + pnpm-lock.yaml | 12 ++++ src/api/merchant.js | 14 ++++ src/components/Pay/Alipay.vue | 7 +- src/components/Talk/index.vue | 41 +++++++++++ src/components/VerificationCode/index.vue | 2 +- src/pages/login/Forgot.vue | 72 +++++++++++++++---- src/pages/login/Login.vue | 24 ++++++- src/pages/login/Register.vue | 61 ++++++++++++---- .../LookWithdrawalInformationModal.vue | 51 +++++++++++-- .../pages/my-wallet/components/Recharge.vue | 3 +- .../pages/my-wallet/components/Reflect.vue | 17 ++--- .../personal-center/account-settings.vue | 39 +++++++++- .../components/PreviewTaskMaterialModal.vue | 14 ++-- 14 files changed, 300 insertions(+), 58 deletions(-) create mode 100644 src/components/Talk/index.vue diff --git a/package.json b/package.json index b9c556b..3152366 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "pinia": "^3.0.2", "pinia-plugin-persistedstate": "^4.2.0", "plyr": "^3.7.8", + "qrcode.vue": "^3.6.0", "tinymce": "^7.8.0", "uqrcodejs": "^4.0.7", "uuid": "^11.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fbfef05..5520840 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,6 +32,9 @@ importers: plyr: specifier: ^3.7.8 version: 3.7.8 + qrcode.vue: + specifier: ^3.6.0 + version: 3.6.0(vue@3.5.13) tinymce: specifier: ^7.8.0 version: 7.8.0 @@ -2202,6 +2205,11 @@ packages: proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + qrcode.vue@3.6.0: + resolution: {integrity: sha512-vQcl2fyHYHMjDO1GguCldJxepq2izQjBkDEEu9NENgfVKP6mv/e2SU62WbqYHGwTgWXLhxZ1NCD1dAZKHQq1fg==} + peerDependencies: + vue: ^3.0.0 + quansync@0.2.10: resolution: {integrity: sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==} @@ -4854,6 +4862,10 @@ snapshots: proxy-from-env@1.1.0: {} + qrcode.vue@3.6.0(vue@3.5.13): + dependencies: + vue: 3.5.13 + quansync@0.2.10: {} queue-microtask@1.2.3: {} diff --git a/src/api/merchant.js b/src/api/merchant.js index c160768..25f69b6 100644 --- a/src/api/merchant.js +++ b/src/api/merchant.js @@ -407,6 +407,20 @@ const merchant = { data: data }); }, + editPassword: async (data) => { + return request({ + url: '/index/index/editPassword', + method: Method.POST, + data: data + }); + }, + postWithdrawal: async (data) => { + return request({ + url: '/index/business/postWithdrawal', + method: Method.POST, + data: data + }); + }, } export default merchant; diff --git a/src/components/Pay/Alipay.vue b/src/components/Pay/Alipay.vue index ca905fb..160f27f 100644 --- a/src/components/Pay/Alipay.vue +++ b/src/components/Pay/Alipay.vue @@ -2,6 +2,7 @@ import {reactive, ref} from "vue"; import {Message} from "@arco-design/web-vue"; import Api from "../../api/index.ts"; +import {QrcodeCanvas} from "qrcode.vue"; const {money} = defineProps({ money: { @@ -21,7 +22,7 @@ const open = () => { } const initQR = async () => { - const {data} = await Api.merchant.rechargeOrderQR({ + const {data: {data}} = await Api.merchant.rechargeOrderQR({ money: money, }); Object.assign(qrInfo, data); @@ -46,10 +47,10 @@ const initQR = async () => {