@charset "UTF-8"; .img-fulid{max-width: 100%} .gridlist.box { grid-template-columns: repeat(4,1fr); gap: 1.35vw; display: grid; padding: 1.35vw 0px; } .gridlist.box>li { cursor: pointer; background-color: #f6f8f1; border: 3px solid #f6f8f1; -ms-flex-direction: column; flex-direction: column; -ms-flex-pack: end; justify-content: flex-end; -ms-flex-align: center; align-items: center; transition: background-color .5s cubic-bezier(.435,.25,.15,.965),border-color .5s cubic-bezier(.435,.25,.15,.965); display: -ms-flexbox; display: flex; position: relative; box-sizing: border-box; } .productshow .imgBox { -ms-flex-align: end; align-items: flex-end; position: relative; } .swiper-container.swiper-box { margin-bottom: 20px; } .swiper-box img{ max-width: 100%; } #detail .title{margin-bottom: 20px;} .productshow .imgBox:before{ position: absolute; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; content:""; display: block; background: url(../images/bg.png) repeat center; } .gridlist.box>li .imgBox { -ms-flex-align: end; align-items: flex-end; position: relative; } .gridlist.box>li .imgBox:before{ position: absolute; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; content:""; display: block; background: url(../images/bg.png) no-repeat center; background-size: cover; } .gridlist.box>li .imgBox .img { z-index: 10; width: 100%; display: block; position: relative; } .gridlist.box>li h3 { text-align: center; line-height: .4rem; transition: color .5s cubic-bezier(.435,.25,.15,.965); font-weight: bold; padding: 10px 0; } ul.pcnavul li{ position: relative; } ul.pcnavul li ul{ display: none; } ul.pcnavul li:hover ul{ display: block; position: absolute; left: -10%; top: 100%; width: 120%; padding-top: 15px; } ul.pcnavul li ul li a{ line-height: 48px; display: block; border-bottom: 1px rgba(0,0,0,0.7) solid; font-size: 14px; text-align: center; background: rgba(0,0,0,0.3); color: #fff!important; } ul.pcnavul li ul li a:hover{ color: #9fb935!important; } //产品抽屉 #parent { position: relative; border: 1px solid #ccc; } .attr .canshu{ backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: flex-start; transition: .5s all linear; z-index: 10000 ; } .attr .grid-ext { display: grid; background: #eeee; grid-template-columns: repeat(2, 1fr); .item{ padding: 10px; background: #9fb935 ; font-size: 16px; border: 1px solid #eee; &:hover{ background: darken(#9fb935,10%); } } .desc{ padding: 10px; background: fade(#9fb935,50%) ; font-size: 16px; border: 1px solid #eee; &:hover{ background: #9fb935; } } } #proMenu{ height: 100vh; width: 600px; position: fixed; overflow-y: auto; /* 如果内容高度超过 #proMenu 的最大高度,启用垂直滚动条 */ top:0; left:0; background: #fff; backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: flex-start; transition: .5s all linear; z-index: 10000 ; } #proMenu h3{ font-size: 30px; font-weight: bold; color: #fff ; text-align: center; } #proMenu .tel{ width: 100%; } #proMenu input[type=text]{ width: 100%; outline: none; border: 1px solid #eee; margin-top: 20px; padding: 10px 20px; font-size: 13px; background: #eee; } #proMenu .tip{ color: #fff;margin-top: 10px} #proMenu button{ background: var(--cPrimary); outline: none; width: 200px; height: 45px; margin-top: 20px; border: 1px solid #000; color: #fff; border-radius: 20px; } #proMenu .close{ position: absolute; right: 20px; color: #999; transition: 1s all; transform-origin: center center; } #proMenu img{ max-width: 100%; } //#proMenu .close:hover{ // transform: rotate(180deg); //} #proMenu .canshu{ color: #999; } #proMenu .canshu li{ display: flex; justify-content: center; align-items: center; background: #35abdf; border-bottom: 2px dotted #fff; margin-bottom: 5px; padding: 5px 0px; } #proMenu .canshu { display: grid; background: #eeee; grid-template-columns: repeat(2, 1fr); .item{ padding: 10px; background: #9fb935 ; font-size: 16px; border: 1px solid #eee; &:hover{ background: darken(#9fb935,10%); } } .desc{ padding: 10px; background: fade(#9fb935,50%) ; font-size: 16px; border: 1px solid #eee; &:hover{ background: #9fb935; } } } #proMenu .canshu li span{ display: block; color: #fff; } #proMenu .canshu{ font-size: 14px; } .close { position: absolute; top: 10px; right: 10px; font-size: 24px; color: white; background-color: transparent; border: none; cursor: pointer; } .newslist .alanFn{ line-height: 2; margin-bottom: 20px; } .vertical-text { height:80vh; writing-mode: vertical-lr; } #detail .detail{font-size: 16px} #detail.newsshow .r1{ padding: 40px } @media (max-width: 600px) { .gridlist.box { grid-template-columns: repeat(2, 1fr); } }