From d4986ba2dbf23cc0fec9f9b97ffa6c426218f062 Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 8 Nov 2022 09:19:40 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=BB=91=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/LeftContentEquipmentCheck.vue | 2 +- .../components/LeftContentOrder.vue | 2 +- .../components/RightContentAlert.vue | 2 +- .../RightContentQualityAnalysis.vue | 2 +- src/views/3DOverview/index.vue | 22 +++++++++++++++++++ 5 files changed, 26 insertions(+), 4 deletions(-) diff --git a/src/views/3DOverview/components/LeftContentEquipmentCheck.vue b/src/views/3DOverview/components/LeftContentEquipmentCheck.vue index a1e66fc..7fa8f25 100644 --- a/src/views/3DOverview/components/LeftContentEquipmentCheck.vue +++ b/src/views/3DOverview/components/LeftContentEquipmentCheck.vue @@ -104,7 +104,7 @@ export default { color: #fff9; border: 0; height: 100%; - overflow-y: scroll; + overflow-y: auto; } .el-table-wrapper >>> .el-table th.is-leaf, diff --git a/src/views/3DOverview/components/LeftContentOrder.vue b/src/views/3DOverview/components/LeftContentOrder.vue index e0f3bbe..c0241e7 100644 --- a/src/views/3DOverview/components/LeftContentOrder.vue +++ b/src/views/3DOverview/components/LeftContentOrder.vue @@ -90,7 +90,7 @@ export default { .left-content-equipment-check > div { overflow: hidden; - overflow-x: scroll; + overflow-x: auto; } .el-table-wrapper >>> * { diff --git a/src/views/3DOverview/components/RightContentAlert.vue b/src/views/3DOverview/components/RightContentAlert.vue index 90f0271..530fe47 100644 --- a/src/views/3DOverview/components/RightContentAlert.vue +++ b/src/views/3DOverview/components/RightContentAlert.vue @@ -73,7 +73,7 @@ export default { color: #fff9; border: 0; height: 100%; - overflow-y: scroll; + overflow-y: auto; } .el-table-wrapper >>> .el-table th.is-leaf, diff --git a/src/views/3DOverview/components/RightContentQualityAnalysis.vue b/src/views/3DOverview/components/RightContentQualityAnalysis.vue index 11d5df0..e273eae 100644 --- a/src/views/3DOverview/components/RightContentQualityAnalysis.vue +++ b/src/views/3DOverview/components/RightContentQualityAnalysis.vue @@ -49,7 +49,7 @@ export default { .right-content-quality-analysis { height: calc(100% - 32px); overflow: hidden; - overflow-y: scroll; /** 右边会有多的padding给滑道 */ + overflow-y: auto; /** 右边会有多的padding给滑道 */ display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: min-content; diff --git a/src/views/3DOverview/index.vue b/src/views/3DOverview/index.vue index 344ba29..27c0e77 100644 --- a/src/views/3DOverview/index.vue +++ b/src/views/3DOverview/index.vue @@ -162,6 +162,28 @@ export default { position: relative; } +#v3d-outter *::-webkit-scrollbar { + width: 8px; +} + +#v3d-outter *::-webkit-scrollbar-track { + background-color: #14243F; + /* background-color: white; */ + border-radius: 0; +} + +#v3d-outter *::-webkit-scrollbar-button { + width: 8px; + height: 8px; + background: #5bc4bf9f; + position: relative; +} + +#v3d-outter *::-webkit-scrollbar-thumb { + border-radius: 8px; + background: #5bc4bf9f; +} + #v3d-main-content { width: 100%; height: 100%;