.con { padding-top: 70px; padding-bottom: 40px; border-top: 1px solid #e5e5e5; } .con .tab{ display: flex; justify-content: center; } .con .tab a{ margin-right: 120px; transition: all 0.2s linear; position: relative; padding-bottom: 14px; } .con .tab a:after{ content: ""; position: absolute; bottom: 0; width: 0; left: 50%; transform: translateX(-50%); height: 2px; background: #e1252e; transition: all 0.2s linear ; } .con .tab a.on{ font-weight: 600; } .con .tab a:hover:after, .con .tab a.on:after{ width: 30px; } .con .tab a:last-child{ margin-right: 0; } .sec1 { padding-top: 40px; } .sec1-des { width: 62%; color: #7b7b7b; line-height: 2.25; text-align: center; margin: 40px auto 0; } .sec1-box { display: flex; margin-top: 40px; justify-content: space-between; } .sec1-box .sec1-lf { flex: 0 0 60.9%; } .sec1-box .sec1-lf img { width: 100%; object-fit: contain; } .sec1-box .sec1-rg { flex: 0 0 calc(100% / 3); margin-right: 1.74%; margin-top: 40px; } .sec1-box .sec1-item { background-color: #fceef1; border: 1px dashed #d90c36; border-radius: 8px; height: 120px; padding: 0 8.1%; display: flex; align-items: center; color: #dd244a; line-height: 1.8; margin-bottom: 20px; overflow: hidden; } .sec2 { margin-top: 40px; padding-bottom: 40px; } .sec2 .sec2-change { display: flex; justify-content: center; margin-bottom: 40px; } .sec2 .sec2c-item { position: relative; line-height: 48px; width: 220px; background-color: #fff; text-align: center; border-radius: 24px; color: #2b2b2b; margin: 0 21px; cursor: pointer; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 20px 0px; transition: all .3s; overflow: hidden; } .sec2 .sec2c-item:before { content: ''; position: absolute; left: 0; background-image: linear-gradient(45deg, #dc2029, #fe3e47); width: 100%; height: 100%; top: 0; opacity: 1; transition: all .5s; opacity: 0; } .sec2 .sec2c-item span { position: relative; z-index: 2; } .sec2 .sec2c-item.active:before { opacity: 1; } .sec2 .sec2c-item.active { color: #fff; box-shadow: rgba(100, 100, 111, 0.2) 0px 0px 0px 0px; } .sec2 .swpbox { position: relative; } .sec2 .swiper-slide>img { width: 100%; height: 100%; object-fit: contain; } .sec2 .swiper-slide .cpimg img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: all .5s; } .sec2 .swiper-slide .cpimg img.active { opacity: .5; } .sec2 .dian { position: absolute; transform: translate(-50%, -50%); } .sec2 .dian-tit { position: absolute; height: 50px; display: none; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 25px; padding: 0 28px; align-items: center; color: #fff; white-space: nowrap; cursor: pointer; background-image: linear-gradient(45deg, #dc2029, #fe3e47); opacity: 0; transition: opacity .5s; } .sec2 .dian.active { z-index: 1; } .sec2 .active .dian-tit { display: flex; opacity: 1; } .sec2 .dian>img { transition: all .5s; } .sec2 .active>img { opacity: 0; } .sec2 .dian-tit img { margin-right: 22px; } .sec2 .sec2-btm { display: flex; align-items: center; margin-top: 20px; justify-content: space-between; } .sec2 .sec2-btm .sec2-lf { color: #000; } .sec2 .sec2-btm .sec2-des { flex: 0 0 calc(200% / 3); padding-left: 8.05%; border-left: 1px solid #d2d2d2; color: #7d7d7d; line-height: 2.25; } .sec3-box { display: flex; justify-content: space-between; margin-top:40px; } .sec3 .sec3-item:nth-child(1) { flex: 0 0 34.86%; margin-left: 1.32%; } .sec3 .sec3-item:nth-child(2) { flex: 0 0 52.775%; } .sec3-tit { line-height: 1.5; color: #000; text-align: center; margin-bottom: 20px; } .sec3-img img { width: 100%; height: 100%; object-fit: contain; } .sec3-des { margin-top:40px; line-height: 1.8; color: #000; } @media screen and (max-width:1600px) {} @media screen and (max-width:1200px) { .sec2 .dian>img { width: 42px; } .sec2 .dian-tit { height: 42px; border-radius: 21px; padding: 0 20px; } .sec2 .dian-tit img { margin-right: 16px; } .sec2 .sec2c-item { width: 200px; margin: 0 16px; } .sec1-des { width: 80%; } } @media screen and (max-width:768px) { .con .tab a{margin-right:auto} .con{ padding-top: 40px; } .sec1-des{ margin-top: 20px; } .sec2 .sec2c-item { width: 30%; margin: 0; line-height: 36px; } .sec2 .sec2-change { margin-bottom: 20px; justify-content: space-between; } .sec1-des { width: 100%; } .sec1-box { flex-wrap: wrap; } .sec1-box .sec1-lf { flex: 0 0 100%; } .sec1-box .sec1-rg { flex: 0 0 100%; margin-top: 20px; margin-right: 0; } .sec1-box .sec1-item { padding: 0 5%; height: 100px; margin-bottom:20px; } .sec1 { padding-top: 30px; } .sec2 .dian>img { width: 24px; } .sec2 { margin-top: 20px; padding-bottom:40px; } .sec2 .sec2-btm { flex-wrap: wrap; margin-top: 15px; } .sec2 .sec2-btm .sec2-des { flex: 0 0 100%; padding-left: 0; border-left: 0; margin-top: 5px; } .sec3-box { flex-wrap: wrap; margin-top: 20px; } .con{ padding-bottom: 40px; } .sec3 .sec3-item:nth-child(n) { flex: 0 0 100%; margin-left: 0; margin-bottom: 20px; } .sec3-des { margin-top: 12px; } .sec1-box .sec1-rg, .sec1-box{ margin-top: 20px; } }