1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
| <template>
| <div id="app" class="app">
| <router-view class=""></router-view>
| </div>
| </template>
|
| <script>
| export default {
| components: {},
| data() {
| return {}
| },
| components: {},
| computed: {},
| created() {},
| watch: {},
| methods: {}
| }
| </script>
|
|
| <style lang="less">
| #app {
| // overflow: auto;
| // border: none;
| }
|
| /* .scrollbar {
| margin: 0 auto;
| } */
| ::-webkit-scrollbar {
| /*滚动条整体样式*/
| width: 8px;
| height: 8px;
| /*高宽分别对应横竖滚动条的尺寸*/
| }
|
| ::-webkit-scrollbar-thumb {
| /*滚动条里面小方块*/
| border-radius: 6px;
| background: #aaa;
| }
|
| ::-webkit-scrollbar-track {
| /*滚动条里面轨道*/
| border-radius: 8px;
| background: #FFFFFF;
| margin-top: 20px;
| margin-bottom: 20px;
| }
| </style>
|
|