pc导航修改

master
Lee 2022-11-04 16:01:51 +08:00
parent b5ef06e3a5
commit 8ce348d335
1 changed files with 14 additions and 3 deletions

View File

@ -55,14 +55,14 @@
padding: 0 24px !important;
}
.nav>.nav-item:first-of-type>a{
/* .nav>.nav-item:first-of-type>a{
margin-left: 0;
}
.nav>.nav-item:last-of-type>a{
padding-right: 0;
margin-right: 0;
}
} */
/* 二级导航 */
.nav>.nav-item .sub-nav-item{
@ -85,7 +85,7 @@
position: fixed;
top: 0;
left: 50%;
transform: translateX(710px);
transform: translateX(690px);
}
.pull-call>span:first-child {
@ -2413,6 +2413,17 @@
top: 88px;
transform: translateX(-50%);
}
.nav>.nav-item:nth-of-type(2):hover .sub-nav-item,
.nav>.nav-item:nth-of-type(3):hover .sub-nav-item{
left: 1px;
transform: translateX(0);
}
.nav>.nav-item:nth-of-type(5):hover .sub-nav-item,
.nav>.nav-item:nth-of-type(6):hover .sub-nav-item{
left: auto;
right: 0;
transform: translateX(0);
}
.header-white .nav>.nav-item:hover>a{
color: #ffffff;
}