inleft
2022-01-21 b505f3648a10dd998ae9fe7a6edb1bf125d7d6a6
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>
@@ -14,25 +14,25 @@
      computed: {},
      created() {},
      watch: {},
      methods: {}
      methods: {
      }
   }
</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;
      /*高宽分别对应横竖滚动条的尺寸*/
   }