diff --git a/src/assets/image/loginBg.png b/src/assets/image/loginBg.png new file mode 100644 index 0000000..2614fad Binary files /dev/null and b/src/assets/image/loginBg.png differ diff --git a/src/assets/image/loginLogo.png b/src/assets/image/loginLogo.png new file mode 100644 index 0000000..0d7d1d0 Binary files /dev/null and b/src/assets/image/loginLogo.png differ diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 1672238..99d0fd0 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -777,5 +777,27 @@ module.exports = { regulatoryComplianceAssessmentDatabase, onlineEditor: { missRequireField: 'Missing required fields' + }, + // 登录 + login: { + systemName: 'Chery Standard regulation management system', + language: 'English', + userLogin: 'ACCOUNT LOGIN', + account: 'Account Number', + password: 'Cipher', + code: 'Verification Code', + login: 'Login', + showPassword: 'Show Password', + hidePassword: 'Hide Password', + loginFailMessage: 'Login Failed', + requestFailMessage: 'There was an error with the request, please try again later', + checkPhoneMessage: 'Your phone number format is incorrect', + checkCodeMessage: 'The verification code you entered is incorrect', + codeSendFail: 'Verification code sending failed', + welcome: 'Welcome', + welcomeBack: ',Welcome Back', + reLogin: 'Re Login', + phone: 'Mobile Phone Number', + codeSending: 'Verification code is being sent' } } diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index f3c33b6..1721714 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -777,5 +777,27 @@ module.exports = { regulatoryComplianceAssessmentDatabase, onlineEditor: { missRequireField: '缺少必填字段' + }, + // 登录 + login: { + systemName: '奇瑞标准法规管理系统', + language: '中文', + userLogin: '账号登录', + account: '账号', + password: '密码', + code: '验证码', + login: '登录', + showPassword: '显示密码', + hidePassword: '隐藏密码', + loginFailMessage: '登录失败', + requestFailMessage: '请求出现错误,请稍后再试', + checkPhoneMessage: '您的手机号码格式不正确', + checkCodeMessage: '您输入的验证码不正确', + codeSendFail: '验证码发送失败', + welcome: '欢迎', + welcomeBack: ',欢迎回来', + reLogin: '重新登陆', + phone: '手机号', + codeSending: '验证码发送中' } } diff --git a/src/components/layouts/UserLayout.vue b/src/components/layouts/UserLayout.vue index 56ea621..2c60a27 100644 --- a/src/components/layouts/UserLayout.vue +++ b/src/components/layouts/UserLayout.vue @@ -13,7 +13,8 @@
- +
+

{{$t('login.systemName')}}

@@ -124,15 +125,37 @@ function isMobile () { .illustration{ position: absolute; - max-width: 50%; + left: 12vw; + top: 20vh; + max-width: 40%; max-height: 100%; - height: 100%; min-width: 400px; - display: flex; - justify-content: center; - align-items: center; - img{ - max-width: 70%; + + .illustration-img { + margin-bottom: 40px; + } + img { + max-width: 100%; + } + + .illustration-title { + font-family: PingFang SC, PingFang SC, sans-serif; + font-weight: 600; + font-size: 40px; + color: #333333; + line-height: 1.2; + } + } + @media screen and (max-width: 1366px) { + .illustration{ + top: 15vh; + + .illustration-img { + margin-bottom: 32px; + } + .illustration-title { + font-size: 32px; + } } } } diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 0817257..886a23f 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -1,101 +1,76 @@