修改el-checkbox 选中后的颜色

//修改选择框的颜色
.el-checkbox__input.is-checked .el-checkbox__inner,
    .el-checkbox__input.is-indeterminate .el-checkbox__inner {
      border-color: #2a65ff!important;
      background-color: #2a65ff!important;
    }
    .el-checkbox__input.is-focus .el-checkbox__inner{
      border-color:  #2a65ff!important;
    }
    //修改选中后文本的颜色
    .el-checkbox__input.is-checked+.el-checkbox__label{
    color:#2a65ff!important;
}

你可能感兴趣的:(vue,JavaScript,vue.js,javascript,前端)