|
|
@@ -171,6 +171,10 @@ const gridOptions = reactive<VxeGridProps<DeviceManageModel>>({
|
|
|
autoResize: false,
|
|
|
syncResize: true,
|
|
|
scrollY: { enabled: true, gt: 0 },
|
|
|
+ rowConfig: {
|
|
|
+ isHover: true,
|
|
|
+ isCurrent: true,
|
|
|
+ },
|
|
|
toolbarConfig: {
|
|
|
custom: true,
|
|
|
zoom: true,
|
|
|
@@ -361,6 +365,16 @@ function importOrganization() {
|
|
|
padding: 0 24px;
|
|
|
max-height: var(--page-main-container);
|
|
|
}
|
|
|
+
|
|
|
+/* 行 hover & 选中高亮背景 */
|
|
|
+:deep(.vxe-table .vxe-body--row.row--hover) {
|
|
|
+ background-color: #f5f7ff !important;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.vxe-table .vxe-body--row.row--current),
|
|
|
+:deep(.vxe-table .vxe-body--row.row--checked) {
|
|
|
+ background-color: #e6f7ff !important;
|
|
|
+}
|
|
|
.date-range-container {
|
|
|
display: flex;
|
|
|
align-items: center;
|