mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2026-06-12 15:01:47 +08:00
🎨 头部优化
This commit is contained in:
parent
4676fbf826
commit
e1f93bc20b
|
|
@ -170,17 +170,21 @@ const userCommand = (e: string) => {
|
||||||
padding: 0 24px;
|
padding: 0 24px;
|
||||||
background: white;
|
background: white;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-right: 460px;
|
|
||||||
|
|
||||||
.logo-box {
|
.logo-box {
|
||||||
height: 50px;
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 24px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 100%;
|
height: 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.menu-box {
|
.menu-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -264,4 +268,18 @@ const userCommand = (e: string) => {
|
||||||
background: #f5f7fa;
|
background: #f5f7fa;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1300px) {
|
||||||
|
.page-content {
|
||||||
|
.head-box {
|
||||||
|
justify-content: flex-start;
|
||||||
|
.logo-box {
|
||||||
|
position: relative;
|
||||||
|
top: auto;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ onMounted(() => {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
transition: all .3s;
|
||||||
.header-box {
|
.header-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|
@ -67,6 +68,7 @@ onMounted(() => {
|
||||||
}
|
}
|
||||||
&.route-home {
|
&.route-home {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
transition: all .3s;
|
||||||
.header-box {
|
.header-box {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user