1
李凌
2025-10-11 4931fb42270d5fd00a0a22270d684476ffa53917
src/views/login/index.vue
@@ -15,10 +15,10 @@
        <div class="flex re-tab">
            <div class="textColor1" :class="activeIndex == 1 ? 'active' : ''" @click="changeIndex(1)">
                {{ $t('email') }}
                {{ $t('电子邮箱') }}
            </div>
            <div class="textColor1" :class="activeIndex == 2 ? 'active' : ''" @click="changeIndex(2)">
                {{ $t('phoneNum') }}
                {{ $t('手机号码') }}
            </div>
        </div>
@@ -26,7 +26,7 @@
            v-model="username" :dialCode="dialCode" @selectArea="onSelectArea" :area="isArea" :icon="icon"
            @pressEnter="verifyLogin" />
        <ExInput style="padding-bottom:0 !important;" :placeholderText="$t('entryPassword')" v-model="password"
        <ExInput style="padding-bottom:0 !important;" :placeholderText="$t('请输入登录密码')" v-model="password"
            typeText="password" @pressEnter="verifyLogin" />
        <div class="forget colorMain" @click="$router.push('/forget')">{{ $t('forgetPassword') }}</div>
@@ -87,9 +87,9 @@
        case 0:
            return bFlag ? t('account') : t('entryAccount');
        case 1:
            return bFlag ? t('email') : t('entryEmail');
            return bFlag ? t('电子邮箱') : t('entryEmail');
        case 2:
            return bFlag ? t('phoneNum') : t('entryPhone');
            return bFlag ? t('手机号码') : t('请输入手机号码');
    }
}
const controlChildRef = ref(null)