V0.1.2.20250718
——————————————— 1.路由重定向 2.Home页面头部完成 ———————————————
This commit is contained in:
parent
279627c935
commit
1614b560ff
@ -5,32 +5,37 @@ body{
|
||||
width: 100%;
|
||||
height: 100vh
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 90%;
|
||||
height: 10vh;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.logo {
|
||||
background-color: #4081bf;
|
||||
}
|
||||
|
||||
|
||||
/*菜单*//*重定高度*/
|
||||
/*菜单-重定高度*/
|
||||
.el-menu--horizontal {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
max-height: 70px;
|
||||
--el-menu-horizontal-height: 65%;
|
||||
min-height: 40px;
|
||||
--el-menu-horizontal-height: 65%;
|
||||
}
|
||||
|
||||
/* 使用 Flex 布局控制菜单 */
|
||||
.el-menu-demo {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* 创建弹性空间 */
|
||||
.flex-grow {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
/* 确保菜单项正常显示 */
|
||||
.el-menu-item {
|
||||
width: 10vw;
|
||||
@ -41,10 +46,12 @@ body{
|
||||
.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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user