.product-content{ width: 100%; overflow: hidden; padding: 0 calc((100% - 1200px)/2); padding-top: 25px; padding-bottom: 40px; background: #F5F5F5; } .crumbs{ width: 100%; display: flex; } .crumbs a{ font-family: Tahoma; font-size: 15px; color: #666; font-weight: normal; font-style: normal; text-decoration: none; line-height: 34px; word-wrap: break-word; word-break: normal; outline: none; } .crumbs a.on{ color: #6aa84f; font-weight: bold; } .crumbs i{ line-height: 34px; margin: 0 15px; font-size: 23px; color: #666; font-weight: bolder; } .product-content .content{ display: flex; margin-top: 20px; justify-content: space-between; } .product-content .content .left{ width: 270px; background: #FFF; } .product-content .content .left>li{ position: relative; width: 100%; height: 45px; border-bottom: 1px dashed #f3f3f3; padding: 0 12px; position: relative; } .product-content .content .left>li a{ font-family: 'Noto Sans CJK'; font-size: 16px; color: #000000; font-weight: normal; font-style: normal; text-decoration: none; text-align: left; line-height: 45px; } .product-content .content .left>li a i{ float: right; line-height: 45px; } .product-content .content .left li ul{ position: absolute; top: 0; left: 100%; width: 270px; background: rgb(243, 243, 243); display: none; z-index: 3; } .product-content .content .left li ul li{ position: relative; width: 100%; height: 45px; padding: 0 12px; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .product-content .content .left li ul li a{ font-family: Tahoma; font-size: 14px; color: #444444; font-weight: 400; font-style: normal; text-decoration: none; text-align: left; } .product-content .content .left>li:hover{ background: rgb(147, 196, 125); border: none; } .product-content .content .left>li:hover a{ color: #444; } .product-content .content .left>li:hover ul{ display: block; } .product-content .content .left li ul li:hover{ background: rgb(147, 196, 125); } .product-content .content .right{ width: 900px; } .product-content .content .right .main{ display: flex; flex-wrap: wrap; flex-direction: row; justify-content: space-between; } .product-content .content .right .main .item{ width: 220px; background: #FFF; margin-bottom: 20px; } .product-content .content .right .main .item .img-box{ width: 220px; height: 220px; overflow: hidden; } .product-content .content .right .main .item .img-box img{ width: 220px; height: 220px; object-fit: cover; transition-duration: .3s; } .product-content .content .right .main .item p{ width: 185px; margin: 0 auto; margin-top: 5px; padding: 0; line-height: 46px; height: 46px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; font-size: 15px; color: #404040; text-align: center; font-weight: normal; font-style: normal; text-decoration: none; font-family: Tahoma; transition: color 200ms linear; margin-bottom: 10px; } .product-content .content .right .main .item:hover{ box-shadow: 0 5px 12px rgba(0,0,0,.1); } .product-content .content .right .main .item:hover img{ transform: scale(1.1); } .product-detail-content{ margin: 0 auto; width: 1200px; } .product-detail-content .content{ } .product-detail-content .content .top{ display: flex; justify-content: space-between; } .product-detail-content .content .top .left{ width: 433px; } .product-detail-content .content .top .left .detail-swiper{ width: 300px; height: 300px; } .product-detail-content .content .top .left .detail-swiper img{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: block; max-width: 100%; } .product-detail-content .content .top .left .detail-thumbs{ width: 100%; height: 80px; position: relative; } .product-detail-content .content .top .left .detail-thumbs .detail-thumbs-swiper{ width: 349px; margin: 0 auto; height: 60px; margin-top: 20px; } .product-detail-content .content .top .left .detail-thumbs .detail-thumbs-swiper img{ width: 100%; height: 100%; object-fit: cover; } .product-detail-content .content .top .left .detail-thumbs .detail-thumbs-swiper .swiper-slide-thumb-active{ border: 2px #E43939 solid; } .product-detail-content .content .top .left .detail-thumbs .detail-swpier-navigation{ position: absolute; line-height: 60px; left: 0; font-size: 42px; color: #333; opacity: .5; top: 0; } .product-detail-content .content .top .left .detail-thumbs .detail-swpier-navigation.detail-next{ left: unset; right: 0; } .product-detail-content .content .top .left .detail-thumbs .detail-swpier-navigation:hover{ opacity: 1; } .product-detail-content .content .top .right{ width: 655px; } .product-detail-content .content .top .right h2{ padding: 0; margin: 0; width: 100%; height: auto; color: #404040; font-size: 20px; font-weight: bold; font-style: normal; text-decoration: none; text-align: left; line-height: 33px; word-wrap: break-word; word-break: normal; } .product-detail-content .content .top .right h3{ color: red; font-size: 24px; margin-top: 10px; } .product-detail-content .content .top .right p{ padding: 0; margin: 0; margin-top: 40px; width: 100%; height: auto; color: #666666; font-size: 14px; font-weight: normal; font-style: normal; text-decoration: none; text-align: left; line-height: 30px; word-wrap: break-word; white-space: pre-line; word-break: normal; height: 210px; overflow-y: auto; padding-right: 20px; } .product-detail-content .content .top .right p::-webkit-scrollbar{ width: 4px; background: none; } .product-detail-content .content .top .right p::-webkit-scrollbar-thumb{ background: #6aa84f; border-radius: 5px; } .product-detail-content .content .top .right a{ background: #6aa84f; text-align: center; height: 44px; line-height: 40px; display: inline-block; margin-top: 50px; display: inline-block; font-family: 'Noto Sans CJK'; font-size: 16px; color: #ffffff; font-weight: 400; text-decoration: none; font-style: normal; vertical-align: top; *vertical-align: middle; margin-right: 12px; border: 2px solid #6aa84f; border-radius: 3px; padding: 0 20px; } .product-detail-content .content .top .right a:nth-last-of-type(1){ border: 2px solid #6aa84f !important; background: none !important; color: #666; } .product-detail-content .content .top .right a:nth-last-of-type(1) span{ color: #6aa84f; margin-right: 5px; } .product-detail-content .content .top .right a:hover{ background: #38761d; border-color: #38761d; } .product-detail-content .content .top .right a:nth-last-of-type(1):hover{ color: red; } .product-detail-content .content .top .right a:nth-last-of-type(1):hover span{ color: red; } .product-detail-content .content .bottom{ margin-top: 120px; } .product-detail-content .content .bottom .title{ width: 100%; height: 48px; background: #f5f7fa; } .product-detail-content .content .bottom .title p{ width: 174px; height: 100%; line-height: 48px; text-align: center; text-align: center; background-color: rgb(106, 168, 79); color: #fff; font-weight: 400; font-style: normal; text-decoration: none; border-right-color: transparent; font-size: 16px; } .product-detail-content .content .bottom .detail-body{ margin: 20px 0; } .product-detail-content .content .bottom .detail-body *{ max-width: 100%; } .next-prev{ margin: 70px 0; display: flex; justify-content: space-between; } .next-prev a{ width: 250px; height: 40px; font-size: 16px; font-weight: 400; color: #FFF; text-align: center; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: flex; align-items: center; justify-content: center; background: url("../images/left_on.png"); background-size: 100% 100%; } .next-prev a:nth-of-type(2){ background: url("../images/right_on.png"); background-size: 100% 100%; } .next-prev a span{ color: #FFF; width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .next-prev a i{ font-size: 20px; margin: 0 10px; } .next-prev a:hover{ background: url("../images/left_on.png"); background-size: 100% 100%; color: #FFF; } .next-prev a:nth-of-type(2):hover{ background: url("../images/right_on.png"); background-size: 100% 100%; color: #FFF; } .next-prev a:hover span{ color: #FFF; } .product-download{ width: 100%; padding: 50px 0; background: #f5f7fa; line-height: 1; } .product-download>h2{ text-align: center; font-size: 35px; font-weight: bold; color: #262626; } .product-download .content{ width: 100%; display: flex; justify-content: center; flex-wrap: wrap; margin-top: 50px; } .product-download .content .item{ display: block; width: 300px; height: 150px; border-radius: 16px; overflow: hidden; background: #FFF; margin: 0 60px; margin-bottom: 20px; } .product-download .content .item .main{ width: 100%; height: 100%; background: url("../images/pi.png"); padding: 24px 30px; background-size:100%,100%; } .product-download .content .item .main .title{ display: flex; justify-content: space-between; } .product-download .content .item .main .title .img-box{ width: 40px; height: 40px; background: url("../images/pi1.png"); background-size: 100% 100%; } .product-download .content .item .main .title .word-box{ width: 180px; } .product-download .content .item .main .title .word-box h2{ width: 100%; font-size: 16px; color: #262626; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .product-download .content .item .main .title .word-box p{ font-size: 14px; color: #666666; margin-top: 10px; } .product-download .content .item .main .info{ margin-top: 30px; display: flex; justify-content: space-between; align-items: center; } .product-download .content .item .main .info p{ background: url("../images/pi2.png") no-repeat left center; background-size: auto 100%; height: 16px; padding-left: 26px; font-size: 14px; font-weight: 400; color: #666666; line-height: 16px; } .product-download .content .item .main .info h2{ display: flex; width: 88px; height: 32px; background: #6AA84F; border-radius: 4px; font-size: 14px; font-weight: 400; color: #F5F7FA; align-items: center; justify-content: center; } .product-download .content .item .main .info h2 i{ width: 16px; height: 16px; background: url("../images/pi3.png"); margin-right: 10px; background-size: 100% 100%; } .recommend-product{ width: 100%; padding: 70px calc((100% - 1200px)/2); } .recommend-product>h2{ text-align: center; font-size: 44px; font-weight: bold; color: #272727; } .recommend-product .content{ width: 100%; display: flex; justify-content: space-between; margin-top: 50px; } .recommend-product .content .item{ display: block; width: 285px; } .recommend-product .content .item .img-box{ width: 100%; height: 220px; overflow: hidden; } .recommend-product .content .item .img-box img{ width: 100%; height: 100%; object-fit: cover; transition-duration: .3s; } .recommend-product .content .item p{ width: 100%; height: 60px; border: 1px solid #E6E6E6; line-height: 60px; border-top: none; font-size: 16px; font-weight: 400; color: #262626; text-align: center; padding: 0 20px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .recommend-product .content .item:hover .img-box img{ transform: scale(1.1); } .recommend-product .content .item:hover p{ background: #6AA84F; border-color: #6AA84F; color: #FFF; } .product-download>span{ display: block; background: url("../images/line2.png"); width: 900px; height: 1px; margin: 20px auto; background-size: 100% 100%; }