diff --git a/src/assets/icons/dui.svg b/src/assets/icons/dui.svg new file mode 100644 index 0000000..03f4227 --- /dev/null +++ b/src/assets/icons/dui.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/lang/en.ts b/src/lang/en.ts index 42fe27c..925d091 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -7,9 +7,11 @@ export default { name: 'Name', email: 'Email', password: 'Password', + passwordConfirmation: 'Password Confirmation', enterName: 'Enter your name', enterEmail: 'Enter your email', enterPassword: 'Enter your password', + enterPasswordAgain: 'Enter your password again', forgotPassword: 'Forget password?', pleaseInputName: 'Please input the name', nameLengthError: 'Name length must be between {min} and {max} characters', @@ -28,7 +30,7 @@ export default { havenAccountToLogin: `Already have an account? Log in`, verifyEmail: 'Verify your email address', verifyCodeHasSent: 'A verification code has been sent to
{email}', - verify: 'Verify', + verify: 'VERIFY', resendCode: 'Resend Code', resendCodeIn: 'Resend Code in {time}', orContinueWith: 'or continue with', diff --git a/src/lang/zh-cn.ts b/src/lang/zh-cn.ts index 1afe79a..4e078c4 100644 --- a/src/lang/zh-cn.ts +++ b/src/lang/zh-cn.ts @@ -8,9 +8,11 @@ export default { name: '姓名', email: '邮箱', password: '密码', + passwordConfirmation: '密码确认', enterName: '请输入姓名', enterEmail: '请输入邮箱', enterPassword: '请输入密码', + enterPasswordAgain: '请输入密码确认', forgotPassword: '忘记密码?', pleaseInputName: '请输入姓名', nameLengthError: '姓名长度必须在 {min} 到 {max} 个字符之间', diff --git a/src/views/login/css/style.css b/src/views/login/css/style.css index d2a446c..ffb085f 100644 --- a/src/views/login/css/style.css +++ b/src/views/login/css/style.css @@ -38,7 +38,7 @@ --el-input-border-radius: 0; --el-input-text-color: #232323; --el-border-color: #C4C4C4; - font-size: 1.4rem; + font-size: 1rem; } .retrieve-password:deep(.el-form) .el-input::placeholder, .register:deep(.el-form) .el-input::placeholder, diff --git a/src/views/login/email-verify.vue b/src/views/login/email-verify.vue index e402574..7aacbba 100644 --- a/src/views/login/email-verify.vue +++ b/src/views/login/email-verify.vue @@ -1,5 +1,5 @@ @@ -29,7 +29,8 @@ type: String as () => 'LOGIN' | 'REGISTER' | 'FORGOT_PWD', required: true }, - password: { type: String, default: '' } + password: { type: String, default: '' }, + isShowOtherLogin: { type: Boolean, default: true } }) const code = ref('') const time = ref(60) @@ -96,7 +97,7 @@ diff --git a/src/views/login/less/style.less b/src/views/login/less/style.less index bac666c..a423d11 100644 --- a/src/views/login/less/style.less +++ b/src/views/login/less/style.less @@ -32,7 +32,7 @@ --el-input-border-radius: 0; --el-input-text-color: #232323; --el-border-color: #C4C4C4; - font-size: 1.4rem; + font-size: 1rem; &::placeholder { color: #9F9F9F; diff --git a/src/views/login/login-dialog.vue b/src/views/login/login-dialog.vue index 1d9c038..2bf3ed2 100644 --- a/src/views/login/login-dialog.vue +++ b/src/views/login/login-dialog.vue @@ -10,7 +10,6 @@ :close-on-click-modal="false" >
-
@@ -22,8 +21,10 @@