refactor(i18n):调整收集码签署结果页面文案并修复支付页面跳转逻辑
- 修改收集码签署结果页面的标题和提示文案 -修复支付页面的成功跳转逻辑- 新增国际化文案
This commit is contained in:
parent
24d9673b14
commit
ffd4f50920
@ -6,7 +6,7 @@ const { t } = useI18n();
|
||||
const {formData,number}=codeAuthStore()
|
||||
const auctionUserNo=ref('')
|
||||
definePageMeta({
|
||||
i18n: 'collectCode.signature.result.title'
|
||||
i18n: 'collectCode.signature.title'
|
||||
})
|
||||
const res=await sessionUserNoCreate({
|
||||
phone:formData.value.phone
|
||||
@ -19,8 +19,8 @@ if (res.status===0){
|
||||
<template>
|
||||
<div class="w-[100vw] h-screen-nav bg-[url('@/static/images/3532@2x.png')] bg-cover flex-grow-1 flex flex-col items-center pt-183px px-30px">
|
||||
<div class="flex flex-col items-center pt-18px px-31px">
|
||||
<div class="text-#000 text-16px mb-4px">{{ t('collectCode.signature.result.success') }}</div>
|
||||
<div class="text-#939393 text-12px mb-31px">●   {{ t('collectCode.signature.result.getNumber') }}   ●</div>
|
||||
<div class="text-#000 text-16px mb-4px">{{ t('signature.protocol.success') }}</div>
|
||||
<div class="text-#939393 text-12px mb-31px">●   {{ t('collectCode.signature.resultText') }}   ●</div>
|
||||
<div class="relative">
|
||||
<img class="w-258px h-144px" src="@/static/images/zu6020@2x.png" alt="">
|
||||
<div class="absolute text-#FDD68D text-68px bottom-1px left-1/2 transform translate-x--1/2">{{auctionUserNo}}</div>
|
||||
|
@ -37,13 +37,13 @@ const confirmPay=async ()=>{
|
||||
testReturnEndPoint:'/payment/result'
|
||||
})
|
||||
if (res.status===0){
|
||||
router.push({
|
||||
/* router.push({
|
||||
path:'/externallinks',
|
||||
query:{
|
||||
url:res.data.checkoutSessionUrl
|
||||
}
|
||||
})
|
||||
/* window.location.href=res.data.checkoutSessionUrl*/
|
||||
})*/
|
||||
window.location.href=res.data.checkoutSessionUrl
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -416,6 +416,7 @@
|
||||
"exceedTotal": "不得高于全部金额"
|
||||
},
|
||||
"signature": {
|
||||
"resultText": "领取您的专属号牌",
|
||||
"title": "签署",
|
||||
"back": "返回",
|
||||
"clear": "清空",
|
||||
|
Loading…
Reference in New Issue
Block a user