修复:内测问题修改 v0.1.1
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view class="login-page">
|
||||
<!-- Logo 背景区域 -->
|
||||
<view class="logo-bg">
|
||||
<text class="welcome-text">Hello! Welcome to<br>太湖国际</text>
|
||||
<text class="welcome-text">Hello! Welcome to<br>WU'S INTERNATIONAL</text>
|
||||
<image src="@/static/icon/login_icon.png" mode="aspectFit" class="icon-hua-1"></image>
|
||||
<image src="@/static/icon/login_icon.png" mode="aspectFit" class="icon-hua-2"></image>
|
||||
</view>
|
||||
@@ -37,8 +37,8 @@
|
||||
maxlength="6"
|
||||
@confirm="onSubmit"
|
||||
/>
|
||||
<wd-button type="info" :class="['code-btn', { active: !readonly }]" @click="onSetCode">
|
||||
{{ t('login.getCode') }}
|
||||
<wd-button type="info" :class="['code-btn', { 'active': !readonly }]" @click="onSetCode">
|
||||
{{ codeText }}
|
||||
</wd-button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
<!-- 协议同意 -->
|
||||
<view class="protocol-box">
|
||||
<view class="select" :class="{ active: agree }" @click="agreeAgreements"></view>
|
||||
<view class="select" :class="{ 'active': agree }" @click="agreeAgreements"></view>
|
||||
<view class="protocol-text">
|
||||
{{ $t('login.agree') }}
|
||||
<text class="highlight" @click="yhxy">《{{ $t('login.userAgreement') }}》</text>
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
<!-- 登录按钮 -->
|
||||
<view class="btn-box">
|
||||
<button @click="onSubmit" class="login-btn" :class="{ active: btnShow }">
|
||||
<button @click="onSubmit" class="login-btn" :class="{ 'active': btnShow }">
|
||||
{{ $t('login.goLogin') }}
|
||||
</button>
|
||||
</view>
|
||||
@@ -148,8 +148,7 @@ import { commonApi } from '@/api/modules/common'
|
||||
import { validateEmail } from '@/utils/validator'
|
||||
import { onPageJump } from '@/utils'
|
||||
|
||||
import { useI18n } from 'vue-i18n'
|
||||
const { t } = useI18n()
|
||||
import { t } from '@/utils/i18n'
|
||||
|
||||
const userStore = useUserStore()
|
||||
|
||||
@@ -165,7 +164,7 @@ const agree = ref(false)
|
||||
const isSee = ref(false)
|
||||
|
||||
// 验证码相关
|
||||
const codeText = ref('Get Code')
|
||||
const codeText = ref(t('login.getCode'))
|
||||
const readonly = ref(false)
|
||||
const btnShow = ref(true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user