From ee2c01fece01b59b7a7ae1a98ec846d7a4813998 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Thu, 27 Feb 2025 09:46:51 +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=BB=93=E6=9E=9C=E9=A1=B5=E9=9D=A2=E5=B9=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=9E=E5=88=B0=E9=A6=96=E9=A1=B5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在支付结果页面添加回到首页按钮 - 更新国际化文件,增加回到首页翻译 - 优化签名功能相关页面代码 --- app/pages/collectCode/signature/panel/index.vue | 2 +- app/pages/collectCode/signature/personal-Info/index.vue | 3 ++- app/pages/payment/result/index.vue | 2 +- i18n/locales/zh-CN.json | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/pages/collectCode/signature/panel/index.vue b/app/pages/collectCode/signature/panel/index.vue index 5795741..dabedac 100644 --- a/app/pages/collectCode/signature/panel/index.vue +++ b/app/pages/collectCode/signature/panel/index.vue @@ -34,7 +34,7 @@ const confirm=async ()=>{ const res=await signOffline({ userInfo:formData.value, signOrder:Number(number.value), - signImgFileData:imgUrl.value + signImgFileData:imgUrl.value, }) if (res.status===0){ router.push('/collectCode/signature/result') diff --git a/app/pages/collectCode/signature/personal-Info/index.vue b/app/pages/collectCode/signature/personal-Info/index.vue index 7134b87..a0ce4fd 100644 --- a/app/pages/collectCode/signature/personal-Info/index.vue +++ b/app/pages/collectCode/signature/personal-Info/index.vue @@ -72,7 +72,6 @@ const initData= async ()=>{ } } const nextClick=async ()=>{ - console.log('number.value',number.value) //扫号牌 if (number.value==1){ if (!isFormComplete(formData.value)){ @@ -91,6 +90,8 @@ const nextClick=async ()=>{ const res1=await signOffline({ userInfo:formData.value, signOrder:Number(number.value), + testReturnHost:window.location.origin, + testReturnEndPoint:'/collectCode/signature/protocol', }) if (res1.status===0){ window.location.href=res1.data.fddVerifyUrl diff --git a/app/pages/payment/result/index.vue b/app/pages/payment/result/index.vue index bc02e5f..c665ed1 100644 --- a/app/pages/payment/result/index.vue +++ b/app/pages/payment/result/index.vue @@ -33,7 +33,7 @@ const goHome=()=>{