From fae3728f5a14cef6dae4aad6368c06b32c99f81d Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:23:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor(payment):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2=E5=92=8C?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改支付页面中的价格显示,使用 leftCnyPrice 替代 leftPrice - 添加用户编号查询功能,在签名前检查用户是否已存在 - 优化直播室侧边按钮的支付逻辑,使用 leftCnyPrice 替代 leftPrice - 统一支付结果页面的展示逻辑,根据支付状态显示不同图片 - 修复艺术详情页面中的价格显示问题,使用 leftCnyPrice 替代 leftPrice - 优化个人资料页面中的支付逻辑,使用 leftCnyPrice 替代 leftPrice --- app/api-collect-code/auth/index.js | 7 +++++ app/pages/artDetail/index.vue | 3 +- .../collectCode/payment/result/index.vue | 3 +- .../signature/personal-Info/index.vue | 12 ++++++-- .../liveRoom/components/SideButton/index.vue | 2 +- .../components/SideButton/tangPopup.vue | 29 ++++++++++-------- app/pages/payment/result/index.vue | 3 +- app/pages/profile/index.vue | 4 +-- app/static/images/zu6021@2x.png | Bin 0 -> 11031 bytes 9 files changed, 42 insertions(+), 21 deletions(-) create mode 100644 app/static/images/zu6021@2x.png diff --git a/app/api-collect-code/auth/index.js b/app/api-collect-code/auth/index.js index 07177d0..ff4ebdf 100644 --- a/app/api-collect-code/auth/index.js +++ b/app/api-collect-code/auth/index.js @@ -20,4 +20,11 @@ export async function mobileLogin(data) { method: 'POST', data }) +} +export async function sessionUserNo(data) { + return await request( { + url:'/api/v1/auction/sessionUserNo/check', + method: 'POST', + data + }) } \ No newline at end of file diff --git a/app/pages/artDetail/index.vue b/app/pages/artDetail/index.vue index bb17799..6bd2dff 100644 --- a/app/pages/artDetail/index.vue +++ b/app/pages/artDetail/index.vue @@ -16,13 +16,12 @@ const initData = async () => { if (res.status === 0) { detail.value = res.data detail.value.auctionArtworkInfo.userId=detail.value.userID - console.log('detail.value',detail.value) } } const router = useRouter(); const goPay=()=>{ - payment.value.leftPrice=detail.value.leftPrice + payment.value.leftPrice=detail.value.leftCnyPrice payment.value.leftCurrency=detail.value.leftCurrency payment.value.buyUid=detail.value.uuid payment.value.auctionArtworkUuid=detail.value?.auctionArtworkUuid diff --git a/app/pages/collectCode/payment/result/index.vue b/app/pages/collectCode/payment/result/index.vue index 04cc33e..1703b20 100644 --- a/app/pages/collectCode/payment/result/index.vue +++ b/app/pages/collectCode/payment/result/index.vue @@ -27,7 +27,8 @@ const goHome=()=>{