登录页调整

This commit is contained in:
fan 2020-03-23 14:15:27 +08:00
parent f574279afe
commit 03df0aee07

View File

@ -26,7 +26,7 @@
<div class="login-tip"> <div class="login-tip">
<span class="sub-title">{{ $t('login.scanCodeLogin') }}</span> <span class="sub-title">{{ $t('login.scanCodeLogin') }}</span>
</div> </div>
<div class="tip-info"> <div v-if="project !== 'hyd'" class="tip-info">
<fieldset> <fieldset>
<legend>{{ $t('login.recommendedConfiguration') }}</legend> <legend>{{ $t('login.recommendedConfiguration') }}</legend>
<span>{{ $t('login.browser') }} <span>{{ $t('login.browser') }}
@ -203,6 +203,9 @@ export default {
setTimeout(() => { this.tipsMsg = ''; }, 5000); setTimeout(() => { this.tipsMsg = ''; }, 5000);
}); });
} }
if (this.project === 'hyd') {
this.bgImg = '';
}
}, },
mounted() { mounted() {
document.title = loginInfo[this.project].title; document.title = loginInfo[this.project].title;
@ -342,6 +345,7 @@ export default {
$light_gray:#eee; $light_gray:#eee;
.login-container { .login-container {
background: #E4EAEA;
.el-form-item{ .el-form-item{
background: #fff !important; background: #fff !important;
border: 1px solid rgba(0, 0, 0, 0.1) !important; border: 1px solid rgba(0, 0, 0, 0.1) !important;