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