Commit 3a3c957a by 张立顺

修改禁用颜色

1 parent 4ba56aab
......@@ -7,7 +7,7 @@
</div>
<div class="form_box">
<el-form label-width="100px" size="small">
<el-form-item label="登录控制:">
<el-form-item label="登录控制:" class="loginClass">
<el-checkbox-group v-model="loginControlList" :min="1">
<el-checkbox v-for="(item, index) in loginTypeList" :key="index" :label="item.id" :disabled="item.disabled">
{{ item.name }}
......@@ -198,6 +198,21 @@ export default {
bottom: 0;
}
::v-deep.loginClass {
.el-checkbox__input.is-disabled+.el-checkbox__label {
color: #2A58AD !important;
}
.el-checkbox__input.is-disabled.is-checked+.el-checkbox__label {
color: #2A58AD !important;
}
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
background-color: #2A58AD !important;
border-color: #2A58AD !important;
}
}
.form_box {
min-height: 60vh;
padding: 40px 0 50px 0;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!