feat: uI 全局样式调整

This commit is contained in:
cgd_mac 2022-01-07 22:55:13 +08:00
parent d311f4c48f
commit 075a858fc6
3 changed files with 15 additions and 9 deletions

View File

@ -16,9 +16,9 @@ export default {
primaryColor: '#1890ff', // primary color of ant design
layout: 'sidemenu', // nav menu position: `sidemenu` or `topmenu`
contentWidth: 'Fluid', // layout of content: `Fluid` or `Fixed`, only works when layout is topmenu
fixedHeader: false, // sticky header
fixSiderbar: false, // sticky siderbar
colorWeak: false,
fixedHeader: true, // sticky header
fixSiderbar: true, // sticky siderbar
colorWeak: true,
menu: {
locale: true
},

View File

@ -35,8 +35,14 @@
}
.ant-layout-sider {
flex: 0 0 230px !important;
max-width: 230px !important;
min-width: 230px !important;
width: 230px !important;
flex: 0 0 230px;
max-width: 230px;
min-width: 230px;
width: 230px;
}
.ant-pro-basicLayout-content{
height: calc(100vh - 95px) !important;
overflow-x: hidden;
overflow-y: auto;
}

View File

@ -14,9 +14,9 @@
<template v-slot:rightContentRender>
<right-content :top-menu="settings.layout === 'topmenu'" :is-mobile="isMobile" :theme="settings.theme" />
</template>
<template v-slot:footerRender>
<!-- <template v-slot:footerRender>
<global-footer />
</template>
</template> -->
<router-view />
</pro-layout>
</template>