| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <template>
- <div id="app">
- <el-config-provider :locale="zhCn">
- <router-view />
- </el-config-provider>
- </div>
- </template>
- <script setup>
- import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
- // element 2.3.8之前使用下面的语句
- // import zhCn from 'element-plus/lib/locale/lang/zh-cn'
- defineOptions({
- name: 'App'
- })
- </script>
- <style lang="scss">
- @tailwind base;
- @tailwind components;
- @tailwind utilities;
- // 引入初始化样式
- #app {
- background: #eee;
- height: 100vh;
- overflow: hidden;
- font-weight: 400 !important;
- }
- .el-button{
- font-weight: 400 !important;
- }
- .el-main{
- --el-main-padding: 0 20px !important;
- }
- .el-sub-menu,.gva-menu-item{
- .el-icon{
- font-size: 11px!important;
- margin-right: 0!important;
- }
- }
- .gva-menu-item {
- .gva-menu-item-title{
- }
- }
- .el-sub-menu__title{
- .gva-subMenu{
- font-size: 12px!important;
- }
- }
- .el-menu-item.is-active ,.el-menu-item {
- .gva-menu-item{
- font-size: 11px!important;
- }
- }
- </style>
|