- 请填写个人相关信息
+ {{ $t('personal.title') }}
-
+
-
手机号
+
{{ $t('profile.phone') }}
+ {{ formData.countryCode }}
@@ -132,20 +130,20 @@ initData()
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
- 下一步
+ {{ $t('personal.next') }}
diff --git a/app/pages/collectCode/signature/protocol/index.vue b/app/pages/collectCode/signature/protocol/index.vue
index 157e93a..8f6b747 100644
--- a/app/pages/collectCode/signature/protocol/index.vue
+++ b/app/pages/collectCode/signature/protocol/index.vue
@@ -15,16 +15,16 @@ const pmblUrl = ref('') // 存储拍卖笔录的URL
// 协议列表数据
const protocolList = computed(() => {
if(number.value===1){
- return [ { id: '4', title: '《竞买协议》', pdfName: 'jmxy', type: 'local' },
- { id: '3', title: '《竞买须知》', pdfName: 'jmxz', type: 'local' },
- { id: '1', title: '《拍卖公告》', pdfName: 'pmgg', type: 'local' },
- { id: '2', title: '《拍卖规则》', pdfName: 'pmgz', type: 'local' },
+ return [
+ { id: '4', title: $t('signature.agreement.buyerAgreement'), pdfName: 'jmxy', type: 'local' },
+ { id: '3', title: $t('signature.agreement.buyerGuide'), pdfName: 'jmxz', type: 'local' },
+ { id: '1', title: $t('signature.agreement.notice'), pdfName: 'pmgg', type: 'local' },
+ { id: '2', title: $t('signature.agreement.rules'), pdfName: 'pmgz', type: 'local' },
]
}else if(number.value===2) {
return [
- { id: '6', title: '《拍卖移交确认书》', pdfName: 'pmyjqrs', type: 'local' },
-
- { id: '5', title: '《拍卖笔录成交确认书》', pdfName: pmblUrl.value, type: 'remote' }
+ { id: '6', title: $t('signature.agreement.transfer'), pdfName: 'pmyjqrs', type: 'local' },
+ { id: '5', title: $t('signature.agreement.record'), pdfName: pmblUrl.value, type: 'remote' }
]
}
})
@@ -77,9 +77,9 @@ const goSignature = () => {
- 支付前需同意以下内容并签字
+ {{ $t('signature.tips.prePayment') }}
-
+
{
/>
-
+
- 同意并签字
+ {{ $t('signature.action.agree') }}
diff --git a/app/pages/collectCode/signature/protocol/pdfView/index.vue b/app/pages/collectCode/signature/protocol/pdfView/index.vue
index fc4a87d..8d6cc4c 100644
--- a/app/pages/collectCode/signature/protocol/pdfView/index.vue
+++ b/app/pages/collectCode/signature/protocol/pdfView/index.vue
@@ -2,7 +2,7 @@
- 加载中...
+ {{ $t('common.loading') }}
import {sessionUserNoCreate} from "~/api-collect-code/goods/index.js";
import {codeAuthStore} from "~/stores-collect-code/auth/index.js";
+import { useI18n } from 'vue-i18n';
+const { t } = useI18n();
const {formData,number}=codeAuthStore()
const auctionUserNo=ref('')
definePageMeta({
- title:'领取号牌'
+ i18n: 'collectCode.signature.result.title'
})
const res=await sessionUserNoCreate({
phone:formData.value.phone
@@ -17,8 +19,8 @@ if (res.status===0){
-
签署成功
-
●   领取您的专属号牌   ●
+
{{ t('collectCode.signature.result.success') }}
+
●   {{ t('collectCode.signature.result.getNumber') }}   ●
{{auctionUserNo}}
diff --git a/app/pages/login/index.vue b/app/pages/login/index.vue
index 4e6ceb3..ea0fda8 100644
--- a/app/pages/login/index.vue
+++ b/app/pages/login/index.vue
@@ -187,10 +187,8 @@ onUnmounted(() => {
- {{ $t('login.getCode')
- }}
- {{ $t('login.getCode')
- }}
+ {{ $t('login.getCode') }}
+ {{ $t('login.getCode') }}
@@ -201,18 +199,16 @@ onUnmounted(() => {
+{{ selectedZone }} {{ phoneNum }}
-
-
- {{ $t('login.reSend') }}({{countdown}})
-
-
- {{ $t('login.back') }}
-
-
+
+
+ {{ $t('login.reSend') }}({{countdown}})
+
+
+ {{ $t('login.back') }}
+
+
- {{
- $t('login.login')
- }}
+ {{ $t('login.login') }}
{{ $t('login.login') }}
@@ -220,7 +216,7 @@ onUnmounted(() => {
- 登录即同意《隐私政策》
+ {{ $t('login.agreement') }}{{ $t('login.privacyPolicy') }}
diff --git a/app/pages/payment/index.vue b/app/pages/payment/index.vue
index 3515583..9e816ee 100644
--- a/app/pages/payment/index.vue
+++ b/app/pages/payment/index.vue
@@ -8,7 +8,7 @@ import {message} from "~/components/x-message/useMessage.js";
const {checkoutSessionUrl,payment}= authStore()
const payStatus=ref(0)
definePageMeta({
- title: '支付'
+ i18n: 'payment.title'
})
const changePayStatus=()=>{
payStatus.value=payStatus.value===0?1:0
@@ -17,15 +17,15 @@ const { auctionData} = liveStore()
const amount=ref('')
const confirmPay=async ()=>{
if (payStatus.value===1&&!amount.value){
- message.warning('请输入金额')
+ message.warning(t('payment.amountRequired'))
return
}
if (Number(payment.value.leftPrice) {
- {{payStatus===0?'支付全部':'支付部分'}}
+ {{payStatus===0 ? t('payment.payAll') : t('payment.payPartial')}}
{{payment.leftCurrency}} {{payment?.leftPrice}}
- {{payStatus===1?'支付全部':'支付部分'}}
+ {{payStatus===1 ? t('payment.payAll') : t('payment.payPartial')}}
- 确认支付
+ {{ t('payment.confirm') }}
diff --git a/app/pages/payment/result/index.vue b/app/pages/payment/result/index.vue
index 0a5fafc..bc02e5f 100644
--- a/app/pages/payment/result/index.vue
+++ b/app/pages/payment/result/index.vue
@@ -33,7 +33,7 @@ const goHome=()=>{
- 回到首页
+ {{ t('payment.backToHome') }}
diff --git a/app/pages/privacyPolicy/index.vue b/app/pages/privacyPolicy/index.vue
index 81ed33f..338e896 100644
--- a/app/pages/privacyPolicy/index.vue
+++ b/app/pages/privacyPolicy/index.vue
@@ -1,7 +1,7 @@
diff --git a/app/pages/realAuth/components/detail.vue b/app/pages/realAuth/components/detail.vue
index 39d4a26..c03addf 100644
--- a/app/pages/realAuth/components/detail.vue
+++ b/app/pages/realAuth/components/detail.vue
@@ -20,7 +20,7 @@ const {userInfo}= authStore()
{{$t('realAuth.gender')}}:
-
{{userInfo.sex===1?'男':'女'}}
+
{{userInfo.sex===1?$t('realAuth.male'):$t('realAuth.female')}}
{{$t('realAuth.birthday')}}:
@@ -38,7 +38,7 @@ const {userInfo}= authStore()
{{$t('realAuth.gender')}}:
-
{{userInfo.sex===1?'男':'女'}}
+
{{userInfo.sex===1?$t('realAuth.male'):$t('realAuth.female')}}
{{$t('realAuth.birthday')}}:
diff --git a/app/pages/signature/panel/index.vue b/app/pages/signature/panel/index.vue
index 7e7332e..1a2cc61 100644
--- a/app/pages/signature/panel/index.vue
+++ b/app/pages/signature/panel/index.vue
@@ -20,7 +20,7 @@ const checkScreenOrientation = () => {
isLandscapeMode.value = true;
} else {
isLandscapeMode.value = false;
- showToast('请将手机横屏使用');
+ showToast($t('common.landscape'));
}
};
@@ -43,7 +43,7 @@ const clearSignature = () => {
};
const submitSignature = () => {
if (signaturePad.value?.isEmpty()) {
- showToast('请先签名');
+ showToast($t('signature.pleaseSign'));
return;
}
const { data } = signaturePad.value?.saveSignature(); // 返回 base64 格式的图片数据
@@ -88,7 +88,7 @@ router.back()
type="primary"
@click="goBack"
>
- 返回
+ {{ $t('signature.back') }}
- 清空
+ {{ $t('signature.clear') }}
- 确认
+ {{ $t('signature.confirm') }}
-
请将手机横屏使用
+
{{$t('common.landscape')}}
diff --git a/app/pages/signature/protocol/index.vue b/app/pages/signature/protocol/index.vue
index dbef00e..a47184c 100644
--- a/app/pages/signature/protocol/index.vue
+++ b/app/pages/signature/protocol/index.vue
@@ -5,7 +5,7 @@ import { authStore } from "~/stores/auth/index.js"
definePageMeta({
layout: 'default',
- title: '签署内容'
+ i18n: 'signature.title'
})
const { userInfo, payment } = authStore()
@@ -15,12 +15,12 @@ const pmblUrl = ref('') // 存储拍卖笔录的URL
// 协议列表数据
const protocolList = computed(() => [
- { id: '1', title: '《拍卖公告》', pdfName: 'pmgg', type: 'local' },
- { id: '2', title: '《拍卖规则》', pdfName: 'pmgz', type: 'local' },
- { id: '3', title: '《竞买须知》', pdfName: 'jmxz', type: 'local' },
- { id: '4', title: '《竞买协议》', pdfName: 'jmxy', type: 'local' },
- { id: '5', title: '《拍卖笔录成交确认书》', pdfName: pmblUrl.value, type: 'remote' },
- { id: '6', title: '《拍卖移交确认书》', pdfName: 'pmyjqrs', type: 'local' }
+ { id: '1', title: $t('signature.agreement.notice'), pdfName: 'pmgg', type: 'local' },
+ { id: '2', title: $t('signature.agreement.rules'), pdfName: 'pmgz', type: 'local' },
+ { id: '3', title: $t('signature.agreement.buyerGuide'), pdfName: 'jmxz', type: 'local' },
+ { id: '4', title: $t('signature.agreement.buyerAgreement'), pdfName: 'jmxy', type: 'local' },
+ { id: '5', title: $t('signature.agreement.record'), pdfName: pmblUrl.value, type: 'remote' },
+ { id: '6', title: $t('signature.agreement.transfer'), pdfName: 'pmyjqrs', type: 'local' }
])
// 获取拍卖笔录PDF
@@ -54,7 +54,7 @@ const goSignature = () => {
- 支付前需同意以下内容并签字
+ {{ $t('signature.tips.prePayment') }}
{
class="w-213px van-btn-h-38px"
@click="goSignature"
>
- 同意并签字
+ {{ $t('signature.button.agreeAndSign') }}
diff --git a/app/pages/signature/protocol/pdfView/index.vue b/app/pages/signature/protocol/pdfView/index.vue
index fc4a87d..8d6cc4c 100644
--- a/app/pages/signature/protocol/pdfView/index.vue
+++ b/app/pages/signature/protocol/pdfView/index.vue
@@ -2,7 +2,7 @@
- 加载中...
+ {{ $t('common.loading') }}