This commit is contained in:
duanxiaohai 2024-11-07 09:00:02 +08:00
commit e15ba7e945
1 changed files with 4 additions and 6 deletions

View File

@ -131,7 +131,6 @@
<el-table <el-table
:data="data.phq.phqgzs" :data="data.phq.phqgzs"
style="width: 100%; height: 480px" style="width: 100%; height: 480px"
class="table-style"
:row-style="rowState" :row-style="rowState"
:header-cell-style="tableHeaderColor" :header-cell-style="tableHeaderColor"
> >
@ -804,6 +803,9 @@ onMounted(() => {});
// :deep(.el-table--enable-row-hover .el-table__body tr:hover > td) { // :deep(.el-table--enable-row-hover .el-table__body tr:hover > td) {
// background-color: #2f4b74 !important; // background-color: #2f4b74 !important;
// } // }
:deep(.el-table__body tr.hover-row > td.el-table__cell) {
background-color: #2f4b74;
}
:deep(.el-table__empty-block) { :deep(.el-table__empty-block) {
background-color: #122560; background-color: #122560;
} }
@ -853,9 +855,5 @@ onMounted(() => {});
background: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.14);
border: 1px solid #6bade1; border: 1px solid #6bade1;
} }
</style>
<style scoped>
.table-style >>> .el-table__body tr:hover > td {
background-color: #2f4b74 !important;
}
</style> </style>