From 63034d51af978b2cf68444498b08869a3f99e871 Mon Sep 17 00:00:00 2001 From: sakuya <81883387@qq.com> Date: Fri, 27 May 2022 00:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=BB=9A=20=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E5=85=A8=E5=B1=80=E6=BB=9A=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/app.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/style/app.scss b/src/style/app.scss index 806891fb..274602a2 100644 --- a/src/style/app.scss +++ b/src/style/app.scss @@ -11,6 +11,14 @@ a,button,input,textarea{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing: bo .aminui {display: flex;flex-flow: column;} .aminui-wrapper {display: flex;flex:1;overflow: auto;} +/* 全局滚动条样式 */ +.scrollable {-webkit-overflow-scrolling: touch;} +::-webkit-scrollbar {width: 5px;height: 5px;} +::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0.3);} +::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0.6);} +::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0.1);} +::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0.2);} + /*布局设置*/ .layout-setting {position: fixed;width: 40px;height: 40px;border-radius: 3px 0 0 3px;bottom: 100px;right: 0px;z-index: 100;background: #409EFF;display: flex;flex-direction: column;align-items: center;justify-content: center;cursor: pointer;} .layout-setting i {font-size: 18px;color: #fff;}