diff --git a/src/views/iot/historyData/HistorySingleDeviceDialog.vue b/src/views/iot/historyData/HistorySingleDeviceDialog.vue index 123c5155..d2d668e3 100644 --- a/src/views/iot/historyData/HistorySingleDeviceDialog.vue +++ b/src/views/iot/historyData/HistorySingleDeviceDialog.vue @@ -124,7 +124,9 @@ const formatCell = (value: string | number | null | undefined) => { const headerCellStyle = () => { return { 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); } +.single-device-dialog__section :deep(.el-table) { + --el-table-row-hover-bg-color: transparent; +} + .single-device-dialog__record-title { font-size: 13px; margin-bottom: 6px; @@ -253,4 +259,8 @@ watch( .single-device-dialog__section :deep(.el-table__inner-wrapper) { border-radius: 0; } + +.single-device-dialog__section :deep(.el-table__header-wrapper th) { + border-bottom-color: var(--el-border-color); +}