style:历史记录查询-弹框table表头样式调整

liutao_branch
黄伟杰 4 months ago
parent 629959318c
commit 5dbf02a2f2

@ -124,7 +124,9 @@ const formatCell = (value: string | number | null | undefined) => {
const headerCellStyle = () => { const headerCellStyle = () => {
return { return {
fontWeight: 500, fontWeight: 500,
padding: '6px 4px' padding: '6px 4px',
backgroundColor: 'var(--el-fill-color-light)',
color: 'var(--el-text-color-primary)'
} }
} }
@ -238,6 +240,10 @@ watch(
background: var(--el-fill-color-lighter); background: var(--el-fill-color-lighter);
} }
.single-device-dialog__section :deep(.el-table) {
--el-table-row-hover-bg-color: transparent;
}
.single-device-dialog__record-title { .single-device-dialog__record-title {
font-size: 13px; font-size: 13px;
margin-bottom: 6px; margin-bottom: 6px;
@ -253,4 +259,8 @@ watch(
.single-device-dialog__section :deep(.el-table__inner-wrapper) { .single-device-dialog__section :deep(.el-table__inner-wrapper) {
border-radius: 0; border-radius: 0;
} }
.single-device-dialog__section :deep(.el-table__header-wrapper th) {
border-bottom-color: var(--el-border-color);
}
</style> </style>

Loading…
Cancel
Save