From c23efbe2832d1a9eecd4ef5d20d984661b24dd22 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Tue, 22 Feb 2022 01:21:52 +0800 Subject: [PATCH] 文章添加补充 --- src/App.vue | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/App.vue b/src/App.vue index 733dab0..428e466 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@ <template> - <div id="app" class="app app1"> - <router-view class="scrollbar"></router-view> + <div id="app" class="app"> + <router-view class=""></router-view> </div> </template> @@ -19,20 +19,19 @@ </script> -<style> - @import url("https://www.layuicdn.com/layui/css/layui.css"); - .app { - overflow: auto; - border: none; +<style lang="less"> + #app { + // overflow: auto; + // border: none; } - .scrollbar { + /* .scrollbar { margin: 0 auto; - } - + } */ ::-webkit-scrollbar { /*滚动条整体样式*/ width: 8px; + height: 8px; /*高宽分别对应横竖滚动条的尺寸*/ } -- Gitblit v1.9.1