From 5dbf02a2f2b9894d9558384078ba7af8076fa5af Mon Sep 17 00:00:00 2001 From: hwj Date: Mon, 5 Jan 2026 16:00:27 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E5=8E=86=E5=8F=B2=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=9F=A5=E8=AF=A2-=E5=BC=B9=E6=A1=86table=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot/historyData/HistorySingleDeviceDialog.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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); +}