body样式优化

This commit is contained in:
禺狨 2023-03-10 09:56:21 +08:00
parent 4ae87c328d
commit 3a777aa58e
2 changed files with 15 additions and 2 deletions

View File

@ -59,6 +59,16 @@ const items = [
], ],
null null
), ),
getItem(
"系统设置",
"7",
<SettingOutlined />,
[
getItem("管理人员", "/system/administrator", null, null, null),
getItem("角色配置", "/system/adminroles", null, null, null),
],
null
),
]; ];
const children2Parent: any = { const children2Parent: any = {

View File

@ -1,12 +1,14 @@
.layout-wrap { .layout-wrap {
width: 100%; width: 100%;
height: 100vh; height: 100%;
display: flex; display: flex;
.left-menu { .left-menu {
width: 200px; width: 200px;
height: auto;
float: left;
} }
.right-cont { .right-cont {
width: calc(100% - 200px); flex:1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.right-top { .right-top {
@ -15,6 +17,7 @@
} }
.right-main { .right-main {
width: 100%; width: 100%;
height: auto;
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
/* Firefox */ /* Firefox */