From c36e1d14b8b9b5303021633ccf5178abae3e2c68 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 07 Nov 2025 11:01:20 +0800
Subject: [PATCH] feat:背景滚动条调整
---
src/views/layerManagement/components/leftList.vue | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/views/layerManagement/components/leftList.vue b/src/views/layerManagement/components/leftList.vue
index ced13a9..505c737 100644
--- a/src/views/layerManagement/components/leftList.vue
+++ b/src/views/layerManagement/components/leftList.vue
@@ -356,13 +356,13 @@
position: absolute;
top: 0;
left: 0;
- height: 95%;
+height: calc(100% - 32px);
z-index: 99;
width: 382px;
overflow: hidden;
background: rgba(0, 0, 0, 0.8);
border-radius: 8px 8px 8px 8px;
- padding: 16px 12px;
+ padding: 16px 0 16px 12px;
display: flex;
flex-direction: column;
}
@@ -370,6 +370,7 @@
.searchBox {
display: flex;
margin-top: 10px;
+padding-right: 12px;
.inputName {
width: 184px;
height: 32px;
@@ -414,19 +415,21 @@
margin: 12px 0 14px 0;
display: flex;
gap: 0 10px;
-
+padding-right: 12px;
.el-button {
margin: 0 !important;
}
}
.tableListBox {
+ overflow-y: scroll;
+ height: 0;
+ flex-grow: 1;
+ padding-right: 12px;
:deep(.el-tree-node__content) {
height: 38px !important;
line-height: 38px !important;
}
- overflow-y: scroll;
- height: 0;
- flex-grow: 1;
+
.isTheTerritory {
:deep() {
.el-tree-node__expand-icon {
--
Gitblit v1.9.3