.banner { position: relative; } .banner .w1600 { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); } .banner .txt p { color: #fff; } .banner .txt p.t1{ font-weight: 600; } .ctn1 { background-color: #f2f3f5; padding: 5% 0; width: 100%; overflow: hidden; } .ctn1 .details { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; } .ctn1 .details .txt { width: 47%; } .ctn1 .details .txt p { color: #333; font-weight: 600; } .ctn1 .details .txt span { display: inline-block; color: #000; margin-top: 5%; } .ctn1 .details .img { width: 44.44%; overflow: hidden; } .ctn1 .details .img img { transition: all .5s; } .ctn1 .details .img:hover img { transform: scale(1.05); } .ctn1 ul { width: 100%; display: flex; justify-content: space-between; margin-top: 5%; } .ctn1 ul li { width: 20%; } .ctn1 ul li div { color: #439d72; } .ctn1 ul li div p, .ctn1 ul li div span { display: inline-block; } .ctn1 ul li div p { font-weight: 600; } .ctn1 ul li i { display: inline-block; color: #555; font-style: normal; } .ctn2 { width: 100%; overflow: hidden; padding: 6% 0; } .ctn2 .concept { width: 100%; --swiper-navigation-color: #333; /* 单独设置按钮颜色 */ --swiper-navigation-size: 20px; /* 设置按钮大小 */ } .ctn2 .concept .swiper-slide { border-right: 1px solid #e8e8e8; height: auto; padding-bottom: 2.5%; width: 25%; } .ctn2 .concept .swiper-slide::after { content: ''; width: 50px; height: 3px; background-color: #ccc; position: absolute; bottom: 0; left: 7%; } .ctn2 .concept .swiper-slide > div { width: 86%; margin: 0 auto; } .ctn2 .concept .tit p, .ctn2 .concept .tit span { display: inline-block; color: #222; width:100% } .ctn2 .concept .tit p { font-weight: bold; } .ctn2 .concept .pic { position: relative; margin: 15% 0; } .ctn2 .concept .pic .num_code { position: absolute; top: 0; left: 0; } .ctn2 .concept .pic .img { width: 90%; margin: 0 auto; border-radius: 100%; overflow: hidden; } .ctn2 .concept .pic .img img { transition: all 1s; } .ctn2 .concept .pic .img:hover img { transform: scale(1.05); } .ctn2 .concept .des { color: #222; } .ctn2 .concept .swiper-button-next, .ctn2 .concept .swiper-button-prev { width: 60px; height: 60px; border-radius: 100%; background-color: #fff; margin-top: -60px; transition: all 0.5s; display:none } .ctn2 .concept .swiper-button-next:hover, .ctn2 .concept .swiper-button-prev:hover { --swiper-navigation-color: #fff; background-color: #1e4b99; } .ctn3 { width: 100%; overflow: hidden; display: flex; justify-content: space-between; flex-wrap: wrap; } .ctn3 .course_l { width:100%; /* padding-left: 12.5%; background: url('https://omo-oss-image.thefastimg.com/portal-saas/new2022101717031031699/cms/image/f63ff3cd-5103-41d5-9ef9-8b25071eba74.jpg?d=1668676262018') no-repeat center center; background-size: 100%; */ } .ctn3 .course_l > div { height: 100%; position: relative; } .ctn3 .course_l > div .swiper-scrollbar{ width: 100%; height: 3px; position: absolute; bottom: 0; left: 0; } /* .ctn3 .course_l > div .swiper-scrollbar { position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; } .ctn3 .course_l > div .swiper-scrollbar-drag { background: #000; width: 2px; } */ .ctn3 .course_l > div .swiper-scrollbar-drag { background: #2e3f8e; } .ctn3 .course_l .tit { color: #333; font-weight: 600; } /* .ctn3 .course_l .course { position: absolute; height: auto; bottom: 20%; left: 20%; right: 11%; top: 20%; } */ .ctn3 .course_l .course .swiper-slide { display: flex; flex-direction: column; } .ctn3 .course_l .course .swiper-slide .year{padding: 40px 0 20px; border-bottom: 2px solid #d8d9dc;color:#020202;font-size:24px;} .ctn3 .course_l .course .swiper-slide .des{ margin-top:45px; } .ctn3 .course_l .course .swiper-slide .des p{display: flex;margin-bottom: 40px;} .ctn3 .course_l .course .swiper-slide .des p span:nth-child(1){font-size: 20px; width: 90px; color: #333333;} .ctn3 .course_l .course .swiper-slide .des p span:nth-child(2){font-size: 16px; color: #333333; width: calc(100% - 90px);} .ctn3 .course_r { width: 100%;position: relative; } .ctn3 .course_r .tit{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 5; color: #fff; } .ctn3 .course_r .img { overflow: hidden; } .ctn3 .course_r .img img { transition: all 1s; } .ctn3 .course_r .img:hover img { transform: scale(1.05); } .ctn4 { width: 100%; overflow: hidden; padding: 8% 0 6%; } .ctn4 .w1600 { display: flex; justify-content: space-between; flex-wrap: wrap; } .ctn4 .w1600 .img { width: 42.91%; overflow: hidden; } .ctn4 .w1600 .img img { transition: all 1s; } .ctn4 .w1600 .img:hover img { transform: scale(1.05); } .ctn4 .w1600 .txt { width: 100%; color: #333; } .ctn4 .w1600 .txt .tit { margin-bottom: 2%; font-weight: 600; } .ctn4 .w1600 .txt ul { width: 100%; display: flex; justify-content: space-between; margin-top: 4%;flex-wrap: wrap; } .ctn4 .w1600 .txt ul li:nth-child(1){ /*width:100%;*/ margin-bottom: 30px; } .ctn4 .w1600 .txt ul li:nth-child(1) hr{width: 90%;} .ctn4 .w1600 .txt ul li:nth-child(1) span{ margin-top: 10px;} .ctn4 .w1600 .txt ul li { width:50%; position: relative; } .ctn4 .w1600 .txt ul li::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px solid #ccc; } .ctn4 .w1600 .txt ul li:nth-last-child(1)::after { display: none; } .ctn4 .w1600 .txt ul li p { font-weight: 600; } .ctn4 .w1600 .txt ul li hr{ width:80%; margin-left:0 } .ctn4 .w1600 .txt ul li span { display: inline-block; width: 99%; margin-top:10px; line-height: 1.8; color:#888888; } .ctn4 .w1600 .txt a { display: inline-block; color: #fff; background-color: #284093; border-radius: 5px; margin-top: 5%; padding: 8px 25px; } .ctn4 .w1600 .txt a .icon{width: 30px; height: 30px; margin-right: 7px;} .ctn3 .course_l .course .swiper-slide:hover p{color: #82d806;} .ctn3 .course_l .course .swiper-slide:hover span{color: #82d806;} @media screen and (max-width: 1600px) { } @media screen and (max-width: 1440px) { } @media screen and (max-width: 1366px) { .ctn2 .concept .swiper-button-next, .ctn2 .concept .swiper-button-prev { width: 40px; height: 40px; --swiper-navigation-size: 15px; } .ctn3 .course_l .course .swiper-slide .year{ font-size: 20px; } .ctn3 .course_l .course .swiper-slide .des p span:nth-child(1){ font-size: 18px;width: 80px; } .ctn3 .course_l .course .swiper-slide .des p span:nth-child(2){ font-size: 14px;width: calc(100% - 80px); } } @media screen and (max-width: 1200px) { } @media screen and (max-width: 998px) { .ctn3 .course_r .img img{width: 200%;} .ctn2 .concept .swiper-wrapper{flex-wrap: wrap;} .ctn2 .concept .swiper-slide{width: 100%;border: 0;margin-bottom: 40px;} .ctn2 .concept .pic{margin: 5% 0;} .ctn4 .w1600 .txt ul{flex-wrap: wrap;} .ctn4 .w1600 .txt ul li { width: 100%; margin-bottom: 30px; } .ctn4 .w1600 .txt ul li:nth-child(1) hr{width: 80%;} .ctn4 .w1600 .txt ul li span{margin-top:0!important} .ctn2 .concept .tit p, .ctn2 .concept .tit span { width: 100%; } .ctn1 .details .txt span { margin-top: 3%; } .ctn1 .details .txt, .ctn1 .details .img { width: 100%; } .ctn1 .details .img { margin-top: 3%; } .ctn1 ul { flex-wrap: wrap; justify-content: flex-start; } .ctn1 ul li { width: 33.333%; } .ctn2 .concept .swiper-button-next, .ctn2 .concept .swiper-button-prev { width: 20px; height: 20px; --swiper-navigation-size: 10px; margin-top: -30px; } .ctn3 { flex-wrap: wrap; } .ctn3 .course_l, .ctn3 .course_r { width: 100%; } .ctn4 .w1600 .img, .ctn4 .w1600 .txt { width: 100%; } .ctn4 .w1600 .txt { margin-top: 3%; } }