修改表头背景色
在el-table标签上设置以上属性即可
:header-cell-style="{color: ‘#848484’, fontSize: ‘14px’, backgroundColor: ‘#qua’}"
修改表格内容背景色
::v-deep .el-table__body tbody tr:nth-child(odd) {background-color: #282828;}::v-deep .el-table__body tbody tr:nth-child(even) td {background-color: #393939;}