修改0120

master
Lee 2022-01-20 10:27:09 +08:00
parent 5e19a7c251
commit e73816df07
2 changed files with 27 additions and 6 deletions

View File

@ -165,7 +165,8 @@ textarea {
} }
.head .nav li .sub-nav{ .head .nav li .sub-nav{
height: 0; display: none;
height: auto;
background-color: #FFFFFF; background-color: #FFFFFF;
position: absolute; position: absolute;
left: -112px; left: -112px;
@ -176,7 +177,6 @@ textarea {
} }
.head .nav li:hover .sub-nav{ .head .nav li:hover .sub-nav{
display: flex; display: flex;
height: auto;
padding: 25px 20px; padding: 25px 20px;
border-top: 2px solid #1a73e9; border-top: 2px solid #1a73e9;
transition: all .4s; transition: all .4s;
@ -204,7 +204,12 @@ textarea {
line-height: 2; line-height: 2;
} }
.sub-nav .sub-nav-list dl>dt{ .sub-nav .sub-nav-list dl>dt{
margin: 14px 0; margin: 10px 0;
padding: 8px 8px 8px 3px;
border-radius: 4px;
}
.sub-nav .sub-nav-list dl>dt:hover{
background-color: #ededed;
} }
.sub-nav .sub-nav-list dl>dt a{ .sub-nav .sub-nav-list dl>dt a{
display: flex; display: flex;
@ -222,7 +227,6 @@ textarea {
.sub-nav-txt{ .sub-nav-txt{
width: calc(100% - 50px); width: calc(100% - 50px);
display: -webkit-box;-webkit-line-clamp: 2;word-break: break-all;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;
} }
.sub-nav-txt p{ .sub-nav-txt p{
@ -230,9 +234,12 @@ textarea {
line-height: 1.4; line-height: 1.4;
} }
.sub-nav-txt span{ .sub-nav-txt span{
display: block;
font-size: 12px; font-size: 12px;
line-height: 1.1; line-height: 1.4;
opacity: .6; opacity: .6;
text-align: justify;
display: -webkit-box;-webkit-line-clamp: 2;word-break: break-all;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;
} }
.head .phone{ .head .phone{

View File

@ -92,6 +92,7 @@
height: 13px; height: 13px;
background-color: #d5ddf5; background-color: #d5ddf5;
margin: 0 6px !important; margin: 0 6px !important;
cursor: pointer;
opacity: 1; opacity: 1;
} }
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active{ .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet-active{
@ -665,6 +666,12 @@
.product-nav{ .product-nav{
background-color: #FFFFFF; background-color: #FFFFFF;
} }
.product-nav.nav-fixed{
position: fixed;
top: 62px;
left: 0;
border-top: 2px solid #1a73e8;
}
.product-nav-item{ .product-nav-item{
display: flex; display: flex;
} }
@ -949,7 +956,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 16.8%; width: 100%;
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
line-height: 56px; line-height: 56px;
@ -1112,6 +1119,13 @@
position: relative; position: relative;
z-index: 1; z-index: 1;
} }
.pull-sub-nav.nav-fixed{
position: fixed;
top: 66px;
left: 50%;
transform: translateX(-50%);
margin-top: 0;
}
/* 子导航 */ /* 子导航 */
.sub-nav-item{ .sub-nav-item{
display: flex; display: flex;