| | |
| | | |
| | | <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> |
| | | |
| | |
| | | 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> |
| | |
| | | import store from '@/store/store' |
| | | import { LOGO, customerServiceUrl } from "@/config"; |
| | | const { t } = useI18n() |
| | | const customer_service_url = ref(customerServiceUrl) // 客服链接,有值的话就会跳转到客服外链 |
| | | |
| | | const router = useRouter() |
| | | const onRoute = (path) => { |
| | |
| | | router.go(-1) |
| | | } else { |
| | | if (path == '/customerService') { |
| | | if (customer_service_url.value) { |
| | | window.location.href = customer_service_url.value; |
| | | if (customerServiceUrl()) { |
| | | window.location.href = customerServiceUrl(); |
| | | } else { |
| | | router.push(path) |
| | | } |
| | |
| | | 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) |