|
@@ -2,7 +2,7 @@
|
|
<view class="zx-page-linear login-page">
|
|
<view class="zx-page-linear login-page">
|
|
<navBar type="login" left="0" bgColor="transparent"></navBar>
|
|
<navBar type="login" left="0" bgColor="transparent"></navBar>
|
|
<view class="title-wrap">
|
|
<view class="title-wrap">
|
|
- <view class="title">{{ $t('欢迎来到') }}FRANCO MORINI</view>
|
|
|
|
|
|
+ <view class="title">{{ $t('欢迎来到') }} <br> FRANCO MORINI</view>
|
|
<view class="sub-title">{{ $t('邮箱密码登录') }}</view>
|
|
<view class="sub-title">{{ $t('邮箱密码登录') }}</view>
|
|
</view>
|
|
</view>
|
|
<view class="main">
|
|
<view class="main">
|
|
@@ -17,6 +17,7 @@
|
|
:isPassword="form.passwd"
|
|
:isPassword="form.passwd"
|
|
/>
|
|
/>
|
|
<view
|
|
<view
|
|
|
|
+ v-if="Language == 'zh'"
|
|
:class="['agreement-row', checkShakeObj.agreemen && 'shake']"
|
|
:class="['agreement-row', checkShakeObj.agreemen && 'shake']"
|
|
@tap="isCheckAgreement = !isCheckAgreement"
|
|
@tap="isCheckAgreement = !isCheckAgreement"
|
|
>
|
|
>
|
|
@@ -37,7 +38,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="split-line"/>
|
|
<view class="split-line"/>
|
|
<view class="register" @tap="routerLink('/pages/loginRegister/register')">
|
|
<view class="register" @tap="routerLink('/pages/loginRegister/register')">
|
|
- {{ $t('没有账号') + ' ' + $t('立即注册') }}
|
|
|
|
|
|
+ {{ $t('立即注册') }}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="other-type-login">
|
|
<!-- <view class="other-type-login">
|
|
@@ -57,10 +58,14 @@
|
|
const http = require('@/common/http.js');
|
|
const http = require('@/common/http.js');
|
|
const common = require('@/common/common.js');
|
|
const common = require('@/common/common.js');
|
|
const storage = require('@/common/storage.js');
|
|
const storage = require('@/common/storage.js');
|
|
|
|
+ import {
|
|
|
|
+ Language
|
|
|
|
+ } from '@/utils/util.js'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
QINIU_URL,
|
|
QINIU_URL,
|
|
|
|
+ Language:Language,
|
|
isCheckAgreement: false,
|
|
isCheckAgreement: false,
|
|
checkShakeObj: {
|
|
checkShakeObj: {
|
|
email: false,
|
|
email: false,
|
|
@@ -101,7 +106,7 @@
|
|
uni.showToast({ title: message, icon: 'none' })
|
|
uni.showToast({ title: message, icon: 'none' })
|
|
},
|
|
},
|
|
loginHandle() {
|
|
loginHandle() {
|
|
- if (!this.isCheckAgreement) {
|
|
|
|
|
|
+ if (!this.isCheckAgreement && this.Language == 'zh') {
|
|
this._applyCheck('agreemen', this.$t('请勾选用户协议和隐私政策'))
|
|
this._applyCheck('agreemen', this.$t('请勾选用户协议和隐私政策'))
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -140,7 +145,7 @@
|
|
font-weight: 800;
|
|
font-weight: 800;
|
|
font-size: 56rpx;
|
|
font-size: 56rpx;
|
|
color: #060809;
|
|
color: #060809;
|
|
- line-height: 56rpx;
|
|
|
|
|
|
+ line-height: 76rpx;
|
|
text-align: left;
|
|
text-align: left;
|
|
font-style: normal;
|
|
font-style: normal;
|
|
margin-bottom: 24rpx;
|
|
margin-bottom: 24rpx;
|
|
@@ -196,7 +201,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
.register-row {
|
|
.register-row {
|
|
- margin: 32rpx 80rpx 0;
|
|
|
|
|
|
+ margin: 32rpx 70rpx 0;
|
|
font-family: PingFangSC, PingFang SC;
|
|
font-family: PingFangSC, PingFang SC;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
font-size: 28rpx;
|
|
font-size: 28rpx;
|