From e4ebf55acd52c163b63be076b8072b4eee3aac7e Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Thu, 09 Oct 2025 10:45:51 +0800
Subject: [PATCH] 1

---
 src/views/register/index.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/views/register/index.vue b/src/views/register/index.vue
index 8443f23..0a6bca8 100644
--- a/src/views/register/index.vue
+++ b/src/views/register/index.vue
@@ -19,14 +19,15 @@
         <ExInput :label="getRegType(activeIndex, true)" :placeholderText="getRegType(activeIndex, false)"
             v-model="username" :area="isArea" :dialCode="dialCode" @selectArea="onSelectArea" :icon="icon" />
 
-        <ExInput :label="$t('setPassword')" :placeholderText="$t('passwordTips')" v-model="password"
+        <ExInput :label="$t('设置登录密码')" :placeholderText="$t('passwordTips')" v-model="password"
             typeText="password" />
-        <ExInput :label="$t('repassword')" :placeholderText="$t('surePassword')" v-model="repassword"
+        <ExInput :label="$t('确认登录密码')" :placeholderText="$t('surePassword')" v-model="repassword"
             typeText="password" />
-        <ExInput :label="$t('setSafeword')" :placeholderText="$t('safewordTips')" v-model="safeword" typeText="password"
+        <ExInput :label="$t('setSafeword')" :placeholderText="$t('设置6位数字资金密码')" v-model="safeword" typeText="password"
             v-if="activeIndex === 1 || activeIndex === 2" />
         <div class="inputCom" v-if="activeIndex === 1 || activeIndex === 2">
-            <p class="label  textColor">{{ $t('验证码') }}</p>
+            <p class="label  textColor" v-if="activeIndex == 1">{{ $t('邮箱验证码') }}</p>
+            <p class="label  textColor" v-else>{{ $t('验证码') }}</p>
             <div class="iptbox inputBackground">
                 <input class="inputBackground textColor" type="text" :placeholder="$t('entryVerifyCode')"
                     v-model="verifyCode">
@@ -41,9 +42,12 @@
                 <img v-show="agree" src="../../assets/image/login/prot2.png" alt="" />
                 <img v-show="!agree" src="../../assets/image/login/prot1.png" alt="" />
             </i>
-            {{ $t('readAgree') }}<span class="colorMain" @click="router.push('/TermsOfService')">{{
+            <!-- {{ $t('readAgree') }}<span class="colorMain" @click="router.push('/TermsOfService')">{{
                 $t('serviceConf')
-                }}</span>
+                }}</span> -->
+            {{ $t('readAgree') }}<span class="colorMain" @click="router.push('/aboutUs?serviceTerm=23')">{{
+                $t('serviceConf')
+            }}</span>
         </div>
         <van-button class="w-full" style="margin-top:10px;" type="primary" @click="register">{{ $t('register') }}
         </van-button>
@@ -150,7 +154,7 @@
         return false
     }
     _sendVerifyCode({
-        target: username.value,
+        target: activeIndex.value === 1 ? username.value : dialCode.value + username.value,
     }).then((res) => {
         time.value = 30;
         state.timer = setInterval(() => {
@@ -273,7 +277,7 @@
 
     if (activeIndex.value === 1 || activeIndex.value === 2) {
         _bindEmailRegister({
-            username: username.value,
+            username: activeIndex.value === 1 ? username.value : dialCode.value + username.value,
             password: password.value,
             type: activeIndex.value === 1 ? '2' : '1',   // 2邮箱,1手机
             verifcode: verifyCode.value,

--
Gitblit v1.9.3