App.vue 982 Bytes
<template>
    <a-locale-provider :locale="zh_CN">
        <div id="app">
            <router-view></router-view>
        </div>
    </a-locale-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;
}

</style>