From 41b36f013d4103ffc59fd58feb6b6177ee5b04f7 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sat, 15 Jan 2022 21:06:24 +0800 Subject: [PATCH] 组件 模块分离 --- src/App.vue | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/App.vue b/src/App.vue index 733dab0..f7d2f41 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,17 +19,15 @@ </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; -- Gitblit v1.9.1