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; }