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"> |
6461f5
|
23 |
body { |
I |
24 |
background: #f0f2f5; |
|
25 |
} |
|
26 |
|
|
27 |
.ant-modal-header { |
|
28 |
//ant 弹窗移动样式 |
|
29 |
cursor: move; |
|
30 |
} |
|
31 |
|
41b36f
|
32 |
#app { |
I |
33 |
// overflow: auto; |
|
34 |
// border: none; |
bf6fbe
|
35 |
} |
d3f921
|
36 |
|
41b36f
|
37 |
/* .scrollbar { |
bf6fbe
|
38 |
margin: 0 auto; |
41b36f
|
39 |
} */ |
d3f921
|
40 |
::-webkit-scrollbar { |
bf6fbe
|
41 |
/*滚动条整体样式*/ |
L |
42 |
width: 8px; |
b505f3
|
43 |
height: 8px; |
d3f921
|
44 |
/*高宽分别对应横竖滚动条的尺寸*/ |
bf6fbe
|
45 |
} |
L |
46 |
|
d3f921
|
47 |
::-webkit-scrollbar-thumb { |
bf6fbe
|
48 |
/*滚动条里面小方块*/ |
L |
49 |
border-radius: 6px; |
|
50 |
background: #aaa; |
|
51 |
} |
|
52 |
|
d3f921
|
53 |
::-webkit-scrollbar-track { |
bf6fbe
|
54 |
/*滚动条里面轨道*/ |
L |
55 |
border-radius: 8px; |
|
56 |
background: #FFFFFF; |
d3f921
|
57 |
margin-top: 20px; |
I |
58 |
margin-bottom: 20px; |
bf6fbe
|
59 |
} |
6461f5
|
60 |
|
b1336e
|
61 |
a { |
I |
62 |
position: relative; |
|
63 |
} |
6461f5
|
64 |
|
b1336e
|
65 |
a:hover:after { |
I |
66 |
left: 0; |
|
67 |
width: 100%; |
|
68 |
-webkit-transition: width 350ms; |
|
69 |
-moz-transition: width 350ms; |
|
70 |
-ms-transition: width 350ms; |
|
71 |
-o-transition: width 350ms; |
|
72 |
transition: width 350ms; |
|
73 |
} |
6461f5
|
74 |
|
b1336e
|
75 |
a:after { |
I |
76 |
position: absolute; |
|
77 |
bottom: -0.0625rem; |
|
78 |
left: 100%; |
|
79 |
width: 0; |
|
80 |
border-bottom: 0.0625rem solid #30a9de; |
|
81 |
content: ""; |
|
82 |
-webkit-transition: width 350ms, left 350ms; |
|
83 |
-moz-transition: width 350ms, left 350ms; |
|
84 |
-ms-transition: width 350ms, left 350ms; |
|
85 |
-o-transition: width 350ms, left 350ms; |
|
86 |
transition: width 350ms, left 350ms; |
|
87 |
} |
6461f5
|
88 |
|
ec6f20
|
89 |
.fade-enter-active, |
I |
90 |
.fade-leave-active { |
|
91 |
transition: opacity .5s; |
|
92 |
} |
6461f5
|
93 |
|
ec6f20
|
94 |
.fade-enter, |
I |
95 |
.fade-leave-to { |
|
96 |
opacity: 0; |
|
97 |
} |
bf6fbe
|
98 |
</style> |