App.vue
1.04 KB
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
<template>
<a-config-provider :locale="zh_CN">
<div id="app">
<router-view></router-view>
</div>
</a-config-provider>
</template>
<script>
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN'
export default {
data() {
return {
zh_CN,
}
},
}
</script>
<style lang="less">
html, body, #app, .el-container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
::-webkit-scrollbar {
width: 9px;
}
::-webkit-scrollbar-thumb {
background-color: #dddddd;
background-clip: padding-box;
border-radius: 2em;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
}
::-webkit-scrollbar-thumb:hover {
background-color: #bbb;
}
.flex-vertical-center {
display: flex;
align-items: center;
}
.flex-horizontal-center {
display: flex;
justify-content: center;
}
.flex-horizontal-right {
display: flex;
justify-content: flex-end;
}
.imgDialog{
overflow: hidden;
.el-dialog__body{
overflow: auto;
}
}
</style>