注意:
1、修改表单里的样式的时候不能用scoped,否则不生效
2、改复选框里面对钩的颜色要用 border-color: #xxx;去改,不能用border去改

      <div class="agree">
          <el-checkbox v-model="checked"></el-checkbox>
          我已同意并阅读 <span>《用户服务协议》</span>
       </div>



      .agree{
     
        .el-checkbox{
          margin-right: 10px;
          .is-checked{
            .el-checkbox__inner{ // 复选框的样式修改
              background-color: #fff;
              border: 1px solid #409eff;
              &::after{ // 里面的对钩
                border-color: #409eff;
              }
            }
          }
        }
        span{
          color: #40adfb;
        }
      }

相关文章:

  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-10-24
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
相关资源
相似解决方案