From bf04a98ddb2de2a40450bb6a975796314eb0b2d9 Mon Sep 17 00:00:00 2001 From: wangqiujuan0808 <578331299@qq.com> Date: Sun, 24 Dec 2023 17:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E4=BD=93=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +- src/css/index.scss | 2 +- src/views/Home.vue | 265 +++++++++++++++++++++++++-------------------- 3 files changed, 149 insertions(+), 122 deletions(-) diff --git a/src/App.vue b/src/App.vue index 60b548a..0c9b9e0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -92,8 +92,8 @@ export default { overflow: hidden; } .main { - height: 100vh; - overflow: auto; + height: calc(100% - 50px); + // overflow: auto; } ::v-deep .el-card__body { height: 100%; diff --git a/src/css/index.scss b/src/css/index.scss index 411c824..96bd942 100644 --- a/src/css/index.scss +++ b/src/css/index.scss @@ -235,7 +235,7 @@ s { ::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 5px; - -webkit-box-shadow: inset 0 0 5px #00ffff; + // -webkit-box-shadow: inset 0 0 5px #00ffff; background: rgba(0, 0, 0, 0.2); } ::-webkit-scrollbar-track { diff --git a/src/views/Home.vue b/src/views/Home.vue index ce9ae8d..dc59b0f 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -6,15 +6,15 @@