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