Compare commits

..

2 Commits

Author SHA1 Message Date
姚宇浩 db72c7c983 Merge branch 'main' of https://git.cityme.com.cn/xiangshan/ggfwjsc 2024-10-18 15:45:29 +08:00
姚宇浩 69b5955adc 111 2024-10-18 15:45:21 +08:00
1 changed files with 12 additions and 7 deletions

View File

@ -132,9 +132,10 @@
<el-table <el-table
:data="data.tableData2" :data="data.tableData2"
style="width: 100%; height: 480px" style="width: 100%; height: 480px"
class="table_border" class="table-style"
:row-style="rowState" :row-style="rowState"
:header-cell-style="tableHeaderColor" :header-cell-style="tableHeaderColor"
> >
<el-table-column <el-table-column
prop="starttime" prop="starttime"
@ -161,9 +162,9 @@
width="132" width="132"
show-overflow-tooltip show-overflow-tooltip
/> />
<el-table-column prop="finish" label="详情" width="120"> <el-table-column prop="finish" label="详情" width="120" fixed="right">
<template #default="scope"> <template #default="scope">
<div @click="goDetail(scope.row)">查看详情</div> <div @click="goDetail(scope.row)" style="cursor: pointer;">查看详情</div>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -825,10 +826,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; // background-color: #2f4b74 !important;
} // }
:deep(.el-table__empty-block) { :deep(.el-table__empty-block) {
background-color: #122560; background-color: #122560;
} }
@ -878,4 +878,9 @@ 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>