From 207b8411a0e637cdfc9141f2d894e2384bab0459 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Wed, 16 Jul 2025 11:20:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E5=87=BA=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/theme/common.scss | 29 ----------------------------- src/views/agent/home.vue | 16 ++++++++++++---- 2 files changed, 12 insertions(+), 33 deletions(-) diff --git a/src/style/theme/common.scss b/src/style/theme/common.scss index 0c857a4..b17d9cb 100644 --- a/src/style/theme/common.scss +++ b/src/style/theme/common.scss @@ -39,35 +39,6 @@ body { color: #1E2226; text-align: left; } -/* 隐藏全局滚动条 */ -/* 全局隐藏滚动条但排除el-table */ -*:not(.el-table)::-webkit-scrollbar { - display: none; - } - - body { - scrollbar-width: none; - -ms-overflow-style: none; - } -.element { - overflow: hidden; /* 通用方法 */ - scrollbar-width: none; /* Firefox */ -} - -/* 对于WebKit浏览器 */ -.element::-webkit-scrollbar { - display: none; /* Chrome, Safari, Edge */ -} - -.el-table__body-wrapper::-webkit-scrollbar { - display: block !important; - width: 6px; - height: 6px; - } - .el-table__body-wrapper::-webkit-scrollbar-thumb { - background: #c1c1c1; - border-radius: 3px; - } .common_title{ font-weight: bold; diff --git a/src/views/agent/home.vue b/src/views/agent/home.vue index 1c1a3bc..c269624 100644 --- a/src/views/agent/home.vue +++ b/src/views/agent/home.vue @@ -36,7 +36,7 @@