/deep/ .el-table__header-wrapper .el-checkbox { width: 55px; .el-checkbox__input { display: none; } &:hover { .el-checkbox__input { display: block; } &::before{ display: none; } } &::before { content: "全选"; text-align: center; color: rgb(144, 147, 153); font-size: 14px; font-weight: 600; } }