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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
| <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;
| }
|
| a {
| position: relative;
| }
|
| a:hover:after {
| left: 0;
| width: 100%;
| -webkit-transition: width 350ms;
| -moz-transition: width 350ms;
| -ms-transition: width 350ms;
| -o-transition: width 350ms;
| transition: width 350ms;
| }
|
| a:after {
| position: absolute;
| bottom: -0.0625rem;
| left: 100%;
| width: 0;
| border-bottom: 0.0625rem solid #30a9de;
| content: "";
| -webkit-transition: width 350ms, left 350ms;
| -moz-transition: width 350ms, left 350ms;
| -ms-transition: width 350ms, left 350ms;
| -o-transition: width 350ms, left 350ms;
| transition: width 350ms, left 350ms;
| }
| .fade-enter-active,
| .fade-leave-active {
| transition: opacity .5s;
| }
|
| .fade-enter,
| .fade-leave-to {
| opacity: 0;
| }
| </style>
|
|