This commit is contained in:
姚宇浩 2024-10-18 15:45:21 +08:00
parent d22211dcff
commit 69b5955adc
1 changed files with 12 additions and 7 deletions

View File

@ -132,9 +132,10 @@
<el-table
:data="data.tableData2"
style="width: 100%; height: 480px"
class="table_border"
class="table-style"
:row-style="rowState"
:header-cell-style="tableHeaderColor"
>
<el-table-column
prop="starttime"
@ -161,9 +162,9 @@
width="132"
show-overflow-tooltip
/>
<el-table-column prop="finish" label="详情" width="120">
<el-table-column prop="finish" label="详情" width="120" fixed="right">
<template #default="scope">
<div @click="goDetail(scope.row)">查看详情</div>
<div @click="goDetail(scope.row)" style="cursor: pointer;">查看详情</div>
</template>
</el-table-column>
</el-table>
@ -825,10 +826,9 @@ onMounted(() => {});
}
}
:deep(.el-table--enable-row-hover .el-table__body tr:hover > td) {
background-color: #2f4b74;
}
// :deep(.el-table--enable-row-hover .el-table__body tr:hover > td) {
// background-color: #2f4b74 !important;
// }
:deep(.el-table__empty-block) {
background-color: #122560;
}
@ -879,3 +879,8 @@ onMounted(() => {});
border: 1px solid #6bade1;
}
</style>
<style scoped>
.table-style >>> .el-table__body tr:hover > td {
background-color: #2f4b74!important;
}
</style>