commit | author | age
|
bf6fbe
|
1 |
<template> |
019990
|
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: {}, |
019990
|
17 |
methods: { |
I |
18 |
} |
bf6fbe
|
19 |
} |
L |
20 |
</script> |
d3f921
|
21 |
|
I |
22 |
|
41b36f
|
23 |
<style lang="less"> |
I |
24 |
#app { |
|
25 |
// overflow: auto; |
|
26 |
// border: none; |
bf6fbe
|
27 |
} |
d3f921
|
28 |
|
41b36f
|
29 |
/* .scrollbar { |
bf6fbe
|
30 |
margin: 0 auto; |
41b36f
|
31 |
} */ |
d3f921
|
32 |
::-webkit-scrollbar { |
bf6fbe
|
33 |
/*滚动条整体样式*/ |
L |
34 |
width: 8px; |
b505f3
|
35 |
height: 8px; |
d3f921
|
36 |
/*高宽分别对应横竖滚动条的尺寸*/ |
bf6fbe
|
37 |
} |
L |
38 |
|
d3f921
|
39 |
::-webkit-scrollbar-thumb { |
bf6fbe
|
40 |
/*滚动条里面小方块*/ |
L |
41 |
border-radius: 6px; |
|
42 |
background: #aaa; |
|
43 |
} |
|
44 |
|
d3f921
|
45 |
::-webkit-scrollbar-track { |
bf6fbe
|
46 |
/*滚动条里面轨道*/ |
L |
47 |
border-radius: 8px; |
|
48 |
background: #FFFFFF; |
d3f921
|
49 |
margin-top: 20px; |
I |
50 |
margin-bottom: 20px; |
bf6fbe
|
51 |
} |
L |
52 |
</style> |