.motor-container { background: #f6f6f6; /* padding-bottom: 100px; */ box-sizing: border-box; } .motor-container .banner { width: 100%; /* background: url(../images/xizunbanner.png) no-repeat; */ /* height: 480px; */ /* background-size: cover; */ /* background-position: center center; */ position: relative; display: flex; flex-direction: column; justify-content: center; cursor: pointer; } .motor-container .banner h5 { font-size: 46px; font-family: Source Han Sans CN; font-weight: 800; color: #ffffff; margin-bottom: 31px; } .motor-container .banner .text { position: absolute; left: 10%; z-index: 2; } .motor-container .banner p { font-size: 22px; font-family: Source Han Sans CN; font-weight: 400; color: #ffffff; } /* .motor-container main { margin-top: 40px; } */ .motor-container main .nav li .first-nav { font-size: 16px; font-family: Source Han Sans CN; font-weight: 400; color: #666666; line-height: 41px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .motor-container main .nav li.active .first-nav { font-size: 16px; font-family: Source Han Sans CN; font-weight: 500; color: #000000; } .motor-container main .list{ display: none; } .motor-container main .listactive{ display: block; } .motor-container main .nav li .first-nav .line { width: 60px; height: 2px; margin-top: 20px; background: #f6f6f6; display: block; } .motor-container main .nav li.active .first-nav .line { background: #ef7c1c; } .motor-container main .nav { display: flex; justify-content: center; } .motor-container main .nav li .first-nav { margin-right: 68px; cursor: pointer; } .motor-container main .nav li:last-child .first-nav { margin-right: 0; } .motor-container main .saishi-box { display: flex; flex-wrap: wrap; margin-top: 40px; /* display: none; */ } .motor-container main .saishi-box .img-item { width: 32%; margin-right: 20px; margin-bottom: 30px; position: relative; cursor: pointer; } .motor-container main .saishi-box .img-item .textOver { height: 48px; } .motor-container main .saishi-box .img-item:nth-child(3n) { margin-right: 0; } .motor-container main .saishi-box.remen .img-item .img-box { height: 300px; } .motor-container main .saishi-box .img-item .img-box { width: 100%; height: 185px; position: relative; } .motor-container main .border-box.saishi-box .img-item .img-box img { width: 100%; height: 100%; display: block; object-fit: cover; border-top-left-radius: 8px; border-top-right-radius: 8px; } .motor-container main .saishi-box .img-item .bofang-btn { width: 28px; height: 28px; position: absolute; top: 10px; right: 10px; } .img-bottom { padding: 20px; box-sizing: border-box; background: #fff; } .img-bottom .p2 p { font-size: 14px; font-family: Source Han Sans CN; font-weight: 500; color: #333333; margin-bottom: 0; line-height: 22px; height: 40px; } .img-bottom .zan-box { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; } .img-bottom .zan-box p { font-size: 10px; font-family: Source Han Sans CN; font-weight: 500; color: #999999; margin-bottom: 0; } .img-bottom .zan-box ul { display: flex; align-items: center; } .img-bottom .zan-box ul li { display: flex; justify-content: center; } .img-bottom .zan-box ul li span { font-size: 10px; font-family: Source Han Sans CN; font-weight: 500; color: #999999; } .img-bottom .zan-box ul li:first-child { margin-right: 20px; } .img-bottom .zan-box ul li img { width: 18px; margin-right: 10px; height: 12px; } .img-bottom .zan-box ul li:last-child img { width: 12px; height: 13px; } .navigation { display: flex; align-items: center; justify-content: center; margin-top: 30px; } .navigation li { width: 30px; height: 30px; background: #d6d6d6; display: flex; align-items: center; justify-content: center; color: #fff; margin-right: 10px; } .navigation li a { color: #fff; } .navigation li:last-child { margin-right: 0; } .navigation li.active { background: rgba(57, 57, 57, 1); } .motor-container main .saishi-box.remen { display: flex; flex-direction: column; } .motor-container main .saishi-box.remen .img-item { display: flex; justify-content: space-between; width: 100%; height: 300px; } .motor-container main .saishi-box.remen .img-item .left-box { width: 53%; position: relative; } .motor-container main .saishi-box.remen .img-item .left-box .bofang-btn { width: 35px; height: 35px; position: absolute; right: 10px; top: 10px; } .motor-container main .saishi-box.remen .img-item .left-box img { width: 100%; height: 100%; object-fit: cover; display: block; } .motor-container main .saishi-box.remen .img-item .right-box { width: 47%; background: #fff; padding: 38px 50px 50px 50px; box-sizing: border-box; height: 300px; } .motor-container main .saishi-box.remen .img-item .right-box .hot { width: 48px; height: 22px; margin-bottom: 15px; } .motor-container main .saishi-box.remen .img-item .right-box .p1 { font-size: 30px; font-family: Source Han Sans CN; font-weight: bold; color: #262626; margin-bottom: 20px; } .motor-container main .saishi-box.remen .img-item .right-box .p2 { font-size: 16px; font-family: Source Han Sans CN; font-weight: 400; color: #262626; margin-bottom: 67px; } .motor-container main .saishi-box.remen .img-item .right-box .zan-box p { font-size: 14px; font-family: Source Han Sans CN; font-weight: 500; color: #999999; } .motor-container main .saishi-box.remen .img-item .img-bottom .zan-box ul li span { font-size: 14px; font-family: Source Han Sans CN; font-weight: 500; color: #999999; } .motor-container main .saishi-box.remen .img-item .img-bottom .zan-box ul li img { width: 24px; height: 15px; } .motor-container main .saishi-box.remen .img-item .img-bottom .zan-box ul li:last-child img { width: 17px; height: 17px; }