<template>
|
<a-config-provider :locale="locale">
|
<div id="app" class="app app1">
|
<router-view class="scrollbar"/>
|
</div>
|
</a-config-provider>
|
</template>
|
|
<script>
|
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
|
import { AppDeviceEnquire } from '@/utils/mixin'
|
|
export default {
|
mixins: [AppDeviceEnquire],
|
data () {
|
return {
|
locale: zhCN
|
}
|
},
|
mounted () {
|
|
}
|
}
|
</script>
|
<style lang="less">
|
.app {
|
overflow: auto;
|
border : none;
|
}
|
.scrollbar {
|
margin: 0 auto;
|
}
|
.app1::-webkit-scrollbar {
|
/*滚动条整体样式*/
|
width : 8px; /*高宽分别对应横竖滚动条的尺寸*/
|
}
|
.app1::-webkit-scrollbar-thumb {
|
/*滚动条里面小方块*/
|
border-radius: 6px;
|
background : #aaa;
|
}
|
.app1::-webkit-scrollbar-track {
|
/*滚动条里面轨道*/
|
border-radius: 8px;
|
background : #FFFFFF;
|
}
|
.weiben-private-drawer {
|
.ant-drawer-wrapper-body{
|
display:flex;
|
flex-direction: column;
|
.ant-drawer-header{
|
flex-shrink: 0;
|
}
|
.ant-drawer-body{
|
padding:0;
|
flex-grow: 1;
|
height:1px;
|
}
|
}
|
.ant-spin-nested-loading,.ant-spin-container{
|
height:100%;
|
}
|
}
|
.ant-modal{
|
&.zero-modal{
|
.ant-modal-body{
|
padding:0;
|
}
|
}
|
}
|
a.disabled{
|
color:#a9a9a9 !important;
|
}
|
.auto-wrap{
|
word-break:break-all;
|
word-wrap:break-word;
|
}
|
.no-wrap,.ellipsis{
|
white-space:nowrap;
|
}
|
.ellipsis{
|
overflow:hidden;
|
text-overflow:ellipsis;
|
}
|
</style>
|