|
@@ -59,12 +59,10 @@
|
|
<svg-icon :icon-class="passwordType === 'password' ? 'eye' : 'eye-open'" />
|
|
<svg-icon :icon-class="passwordType === 'password' ? 'eye' : 'eye-open'" />
|
|
</span>
|
|
</span>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <div class='remberBox'>
|
|
|
|
- <!-- <div class="dotWrap" :class="[isSaveUserInfo ? '' : '']">
|
|
|
|
- <div :class="isSaveUserInfo?'active':''"></div>
|
|
|
|
- </div>
|
|
|
|
- 记住密码 -->
|
|
|
|
- <el-checkbox v-model="isSaveUserInfo">记住密码</el-checkbox>
|
|
|
|
|
|
+ <div class='remberBox' @click="isSaveUserInfo = !isSaveUserInfo">
|
|
|
|
+ <div class="dotWrap" :class="[isSaveUserInfo ? 'checked' : '']"></div>
|
|
|
|
+ 记住密码
|
|
|
|
+ <!-- <el-checkbox v-model="isSaveUserInfo">记住密码</el-checkbox> -->
|
|
</div>
|
|
</div>
|
|
<div class="loginBtn"
|
|
<div class="loginBtn"
|
|
:class="!loginForm.username || !loginForm.password?'disabled':''"
|
|
:class="!loginForm.username || !loginForm.password?'disabled':''"
|
|
@@ -179,6 +177,9 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" rel="stylesheet/scss" scoped>
|
|
<style lang="scss" rel="stylesheet/scss" scoped>
|
|
|
|
+body {
|
|
|
|
+ background: #fff !important;
|
|
|
|
+}
|
|
/deep/.el-input__inner{
|
|
/deep/.el-input__inner{
|
|
background-color:transparent!important;
|
|
background-color:transparent!important;
|
|
border:1px solid transparent!important
|
|
border:1px solid transparent!important
|
|
@@ -203,7 +204,7 @@ export default {
|
|
margin-bottom: 10px !important;
|
|
margin-bottom: 10px !important;
|
|
}
|
|
}
|
|
.loginBtn.disabled {
|
|
.loginBtn.disabled {
|
|
- background-color: #777;
|
|
|
|
|
|
+ background-color: rgba(34, 180, 169, .5);
|
|
}
|
|
}
|
|
::-webkit-input-placeholder {
|
|
::-webkit-input-placeholder {
|
|
/* WebKit browsers */
|
|
/* WebKit browsers */
|
|
@@ -231,26 +232,22 @@ export default {
|
|
flex-direction: row;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
justify-content: flex-start;
|
|
margin-bottom: 30px;
|
|
margin-bottom: 30px;
|
|
- margin-top: 10px;
|
|
|
|
|
|
+ padding-top: 10px;
|
|
align-items: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
|
+ color: #6D7278;
|
|
|
|
+ font-size: 16px;
|
|
.dotWrap {
|
|
.dotWrap {
|
|
- width: 18px;
|
|
|
|
- height: 18px;
|
|
|
|
- border: 1px solid #444;
|
|
|
|
- border-radius: 50%;
|
|
|
|
|
|
+ width: 21px;
|
|
|
|
+ height: 21px;
|
|
|
|
+ background: url('../../assets/images/icon_checkbox_default.png') no-repeat center;
|
|
|
|
+ background-size: contain;
|
|
margin-right: 8px;
|
|
margin-right: 8px;
|
|
position: relative;
|
|
position: relative;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
- .active {
|
|
|
|
- width: 10px;
|
|
|
|
- height: 10px;
|
|
|
|
- background-color: #444;
|
|
|
|
- border-radius: 50%;
|
|
|
|
- overflow: hidden;
|
|
|
|
- position: absolute;
|
|
|
|
- top: 3px;
|
|
|
|
- left: 3px;
|
|
|
|
|
|
+ &.checked {
|
|
|
|
+ background: url('../../assets/images/icon_checkbox.png') no-repeat center;
|
|
|
|
+ background-size: contain;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -316,21 +313,18 @@ $light_gray: #eee;
|
|
// background-size: cover;
|
|
// background-size: cover;
|
|
// overflow: hidden;
|
|
// overflow: hidden;
|
|
height: 100vh;
|
|
height: 100vh;
|
|
- background-image: url("../../assets/images/base/login-bg.png");
|
|
|
|
|
|
+ // background-image: url("../../assets/images/base/login-bg.png");
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
|
+ background: url("../../assets/images/base/login-bg.png") no-repeat center right #fff;
|
|
background-size: cover;
|
|
background-size: cover;
|
|
- background-repeat: no-repeat;
|
|
|
|
|
|
|
|
.login-form {
|
|
.login-form {
|
|
position: absolute;
|
|
position: absolute;
|
|
- left: 130px;
|
|
|
|
|
|
+ left: 180px;
|
|
top: 240px;
|
|
top: 240px;
|
|
- width: 500px;
|
|
|
|
- max-width: 90%;
|
|
|
|
- padding: 0px 35px;
|
|
|
|
- overflow: hidden;
|
|
|
|
|
|
+ width: 400px;
|
|
border-radius: 20px;
|
|
border-radius: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -409,7 +403,7 @@ $light_gray: #eee;
|
|
|
|
|
|
.login-project-name {
|
|
.login-project-name {
|
|
position: absolute;
|
|
position: absolute;
|
|
- top: 95px;
|
|
|
|
|
|
+ top: 80px;
|
|
left: 58%;
|
|
left: 58%;
|
|
font-size: 26px;
|
|
font-size: 26px;
|
|
color: #000;
|
|
color: #000;
|