mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-17 08:46:38 +08:00
43 lines
755 B
Vue
43 lines
755 B
Vue
<template>
|
|
<el-config-provider :locale="zhCn">
|
|
<router-view/>
|
|
</el-config-provider>
|
|
</template>
|
|
|
|
<script setup>
|
|
import {ElConfigProvider} from 'element-plus';
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn';</script>
|
|
|
|
|
|
<style lang="stylus">
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#app {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
.el-overlay-dialog {
|
|
display flex
|
|
justify-content center
|
|
align-items center
|
|
overflow hidden
|
|
|
|
.el-dialog {
|
|
margin 0;
|
|
|
|
.el-dialog__body {
|
|
max-height 90vh
|
|
}
|
|
}
|
|
}
|
|
|
|
</style>
|