Remove the default background color of the third el-table, the parent element penetrates

 .el-table, .el-table__expanded-cell {
    
    
        background-color: transparent!important;
    }
    
    .el-table th, .el-table tr {
    
    
       border: 0!important;
        background-color: transparent!important;
    }
    .父元素>>> .el-table,
.父元素 >>> .el-table__expanded-cell {
    
    
  background-color: transparent !important;
}

.父元素 >>> .el-table th,
.父元素>>> .el-table tr {
    
    
  border: 0 !important;
  background-color: transparent !important;
}

Remove the crossed background color of the parent element
. Parent element >>> .el-table { background: #dff0d8 !important; margin-top: 10px; margin: 0 auto; margin-left: 20%; } .Parent element >>> .el-table-column { width: 90%; background: none; margin: 0 auto; } . Parent element >>> .el-table,. Parent element >>> .el-table__expanded-cell { background -color: transparent !important; }













.父元素 >>> .el-table th,
.header_time >>> .el-table tr {
border: 0 !important;
background-color: transparent !important;
}
.父元素>>>.el-table tbody tr td{
background: #dff0d8 !important;
}
.父元素 >>> .el-table tbody tr:hover > td {
background: #dff0d8 !important;
}
.父元素 >>> .el-table__header-wrapper {
background: #dff0d8 !important;
}
.父元素 >>> .el-table ,.header_time >>>.el-table__footer-wrapper tbody td {
background: #dff0d8 !important;
}
.父元素 >>> .el-table__row {
background: #dff0d8 !important;
}

Guess you like

Origin blog.csdn.net/qq_45424679/article/details/113113402