From ec763e1cb7dca873caf4afbc0dfde047b51753d3 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 17 十月 2025 17:26:54 +0800
Subject: [PATCH] 2025.10.17
---
src/components/monitor/DataTable.vue | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/components/monitor/DataTable.vue b/src/components/monitor/DataTable.vue
index b99e67a..e7ad20d 100644
--- a/src/components/monitor/DataTable.vue
+++ b/src/components/monitor/DataTable.vue
@@ -56,7 +56,7 @@
</template>
<template #footer>
- <el-row justify="space-between" class="p-b-2">
+ <el-row justify="space-between" class="p-b-2 one-row">
<el-button
:loading="downloadLoading"
type="primary"
@@ -177,7 +177,7 @@
// }
// },
tableColumn() {
- return checkboxOptions(this.deviceType);
+ return checkboxOptions(this.deviceType, true);
}
},
methods: {
@@ -259,11 +259,18 @@
}
};
</script>
+<style scoped>
+.one-row {
+ /* background-color: red; */
+ flex-wrap: nowrap;
+}
+</style>
<style>
.el-table {
--el-table-bg-color: transparent;
- --el-table-row-hover-bg-color: #23dad0a2;
- --el-table-current-row-bg-color: #23dad0a2;
+ --el-table-row-hover-bg-color: #bffff454;
+ /* --el-table-row-hover-bg-color: transparent; */
+ --el-table-current-row-bg-color: var(--select_color);
/* --el-table-current-row-bg-color: #7dff5d96; */
--el-table-text-color: var(--font-color);
}
@@ -284,7 +291,7 @@
.t-header-cell {
background-color: var(--bg-color-2) !important;
- text-align: center !important;
+ /* text-align: center !important; */
color: white !important;
}
.el-pagination {
--
Gitblit v1.9.3