diff --git a/src/assets/ordinary/Home.css b/src/assets/ordinary/Home.css index e59679f..1cb5b06 100644 --- a/src/assets/ordinary/Home.css +++ b/src/assets/ordinary/Home.css @@ -15,10 +15,12 @@ body{ } -/*菜单*/ +/*菜单*//*重定高度*/ .el-menu--horizontal { display: flex; flex-wrap: nowrap; + max-height: 70px; + --el-menu-horizontal-height: 65%; } /* 使用 Flex 布局控制菜单 */ .el-menu-demo { @@ -33,8 +35,16 @@ body{ width: 10vw; white-space: nowrap; } -/*重定高度*/ -.el-menu--horizontal { - --el-menu-horizontal-height: 65%; - max-height: 70px; + +/*头像*/ +.demo-type { + display: flex; +} +.demo-type > div { + flex: 1; + text-align: center; +} + +.demo-type > div:not(:last-child) { + border-right: 1px solid var(--el-border-color); } \ No newline at end of file diff --git a/src/views/ordinary/Home.vue b/src/views/ordinary/Home.vue index e90bec7..0d34e70 100644 --- a/src/views/ordinary/Home.vue +++ b/src/views/ordinary/Home.vue @@ -1,6 +1,6 @@ + + + + \ No newline at end of file