From 36b3eef12fd5db7bb5d7754fa61e43f5f2fb2d43 Mon Sep 17 00:00:00 2001 From: kongjun Date: Wed, 22 Jun 2022 10:07:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/src/views/main-sidebar.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/back/src/views/main-sidebar.vue b/back/src/views/main-sidebar.vue index 00535e99..af5f8261 100644 --- a/back/src/views/main-sidebar.vue +++ b/back/src/views/main-sidebar.vue @@ -2,7 +2,7 @@ * @Author: kongjun qdkongjun@gmail.com * @Date: 2022-06-20 09:29:59 * @LastEditors: kongjun qdkongjun@gmail.com - * @LastEditTime: 2022-06-21 10:37:47 + * @LastEditTime: 2022-06-22 10:04:56 * @FilePath: \back\src\views\main-sidebar.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -47,7 +47,19 @@ export default { width: 266px; .aui-sidebar__inner { width: 260px; - overflow-y: hidden; + //overflow-y: hidden; + /*滚动条样式*/ + &::-webkit-scrollbar { + width: 0px; + } + &::-webkit-scrollbar-thumb { + border-radius: 5; + background: rgba(0, 0, 0, 0.25); + } + &::-webkit-scrollbar-track { + border-radius: 0; + background: #f2f2f2; + } .aui-sidebar__menu { width: 266px; }