.container{ /* 头 */ .el-table thead{ color: $text-color; } .el-table .cell{ a{ display: block; color: $table-a-color; } .el-button--text{ color: $table-a-color; } } .el-table td, .el-table th{ padding: 8px 0; } .el-table.is-group th{ background-color: $table-bg-color; } .el-table--enable-row-hover .el-table__body tr:hover>td { background-color: $table-bg-color !important; } .el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed { border-right: 1px solid $table-border-color; } .el-table td, .el-table th.is-leaf{ border-bottom: 1px solid $table-border-color; } .table-fixed { .el-table__fixed-right { height: 100% !important; //设置高优先,以覆盖内联样式 } } } .children-box { padding: 10px; .table-header { padding: 0 20px 5px 20px; border-bottom: 2px solid $border-color; .el-page-header { line-height: 40px; font-weight: 500; } } }