From d885680be19bbe737e7246e616e9025d6a9c58d9 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Wed, 26 Feb 2025 19:57:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor(signature):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=AD=BE=E5=90=8D=E9=9D=A2=E6=9D=BF=E5=8A=9F=E8=83=BD=E5=92=8C?= =?UTF-8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了不必要的弹窗和屏幕方向检测功能 - 调整了签名面板的布局和样式 -优化了签名提交流程,直接跳转到支付页面 - 修复了外部链接页面的标题和安全问题 - 改进了支付页面的加载提示 --- .../collectCode/signature/panel/index.vue | 10 +- app/pages/externallinks/index.vue | 8 +- app/pages/payment/index.vue | 7 +- app/pages/signature/panel/index.vue | 93 +++++-------------- 4 files changed, 34 insertions(+), 84 deletions(-) diff --git a/app/pages/collectCode/signature/panel/index.vue b/app/pages/collectCode/signature/panel/index.vue index 35f174d..5795741 100644 --- a/app/pages/collectCode/signature/panel/index.vue +++ b/app/pages/collectCode/signature/panel/index.vue @@ -1,11 +1,9 @@ diff --git a/app/pages/payment/index.vue b/app/pages/payment/index.vue index 0ecb3d4..51553ff 100644 --- a/app/pages/payment/index.vue +++ b/app/pages/payment/index.vue @@ -30,6 +30,7 @@ const confirmPay=async ()=>{ message: t('payment.loading'), forbidClick: true, }); + const res=await createBuyOrder({ buyUid:payment.value.buyUid, price:payStatus.value===0?payment.value.leftPrice:amount.value, @@ -38,12 +39,6 @@ const confirmPay=async ()=>{ testReturnEndPoint:'/payment/result' }) if (res.status===0){ -/* router.push({ - path:'/externallinks', - query:{ - url:res.data.checkoutSessionUrl - } - })*/ window.location.href=res.data.checkoutSessionUrl } } diff --git a/app/pages/signature/panel/index.vue b/app/pages/signature/panel/index.vue index bab8907..3e05c75 100644 --- a/app/pages/signature/panel/index.vue +++ b/app/pages/signature/panel/index.vue @@ -1,5 +1,5 @@