.banner_box { width: 100%; height: 100vh; margin: 0 auto; position: relative; } .mouse { position: absolute; left: 50%; margin-left: -11px; bottom: 31px; width: 22px; height: 72px; z-index: 100; } .mouse img { width: 100%; animation: banner 2s infinite; } @keyframes banner { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); /* 图片向上移动10px */ } } .banner_box .banner { width: 100%; height: 100vh; margin: 0 auto; position: relative; } .banner_box .banner .banner_sty { height: 100%; position: relative; overflow: hidden; } .banner_box .banner .banner_sty .banner_img { background-size: cover; background-repeat: no-repeat; background-position: center; position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; transform: scale(1.1); transition: all 5s ease; } .banner_box .banner .active .banner_img { transform: scale(1); } .banner_box .banner .active .banner_info { animation-name: fadeInUp; } .banner_box .banner .active .banner_mess { animation-name: fadeInDown; animation-delay: 1.1s; } .banner_box .banner .active .banner_mess_l { animation-name: fadeInDown; animation-delay: 1.6s; } .banner_box .banner .active .ying_box { animation-name: fadeInDown; animation-delay: 2.1s; } .banner_box .banner .swiper-pagination-bullet-active { background-color: #fff; opacity: 1; width: 20px; } .banner_box .banner.swiper-container-horizontal>.swiper-pagination-bullets { left: auto; width: 25px; right: 8.3%; top: 50%; transform: translateY(-50%); bottom: auto; overflow: hidden; text-align: right; font-size: 0; } .banner_box .banner.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet { opacity: 1; background-color: #fff; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; margin: 4px 4px; transition: width .5s ease; } .index_title { width: 100%; text-align: center; font-weight: bold; padding: 30px 0 25px; position: relative; } .index_title .title { font-size: 34px; position: relative; z-index: 1; } .index_title .title::after { content: ''; width: 94px; height: 6px; position: absolute; bottom: -19px; left: 50%; margin-left: -47px; background: url(../image/title_line.svg); background-size: 100% 100%; } .index_title .en_title { font-size: 41px; text-transform: uppercase; background: linear-gradient(to bottom, rgba(0, 55, 97, 0.84), rgba(0, 55, 97, 0)); -webkit-background-clip: text; color: transparent; position: absolute; top: 0; left: 0; right: 0; z-index: 0; } /* 新闻速递 */ .newsList { width: 100%; margin: 0 auto; overflow: hidden; background-color: #fff; padding: 80px 0 110px; } .newsList .en_title { background: linear-gradient(to bottom, rgba(51, 51, 51, 0.2), rgba(51, 51, 51, 0)); -webkit-background-clip: text; color: transparent; } .newsList .newsItem { margin: 54px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; } .newsList .newsItem .itemLeft { width: calc(58% - 16px); height: 602px; position: relative; overflow: hidden; } .newsList .newsItem .itemLeft .number { position: absolute; color: #fff; top: 468px; right: 20px; z-index: 10; } .newsList .newsItem .itemLeft .number-indicator { border-radius: 12px; background: rgba(86, 86, 86, 0.29); color: rgba(255, 255, 255, 0.59); width: 42px; height: 42px; } .newsList .newsItem .itemLeft .number-indicator-active { background: rgba(227, 174, 117, 1); color: rgba(255, 255, 255, 1); } .imgBox { position: relative; width: 100%; height: 530px; } .newsList .newsItem .itemLeft .carousel-item { width: 100%; position: absolute; } .newsList .newsItem .itemLeft .carousel-item .img { width: 100%; height: 530px; margin-bottom: 40px; overflow: hidden; } .newsList .newsItem .itemLeft .carousel-item .img img { object-fit: cover; width: 100%; min-height: 100%; } .newsList .newsItem .itemLeft .carousel-item .title { width: 100%; color: rgba(51, 51, 51, 1); font-weight: 700; font-size: 24px; line-height: 32px; transition: all .8s ease; } .newsList .newsItem .itemLeft .carousel-item .title a { width: 100%; position: relative; z-index: 99999999; display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .newsList .newsItem .itemRight { width: calc(42% - 16px); display: flex; flex-wrap: wrap; gap: 14px; } .newsList .newsItem .itemRight li { width: 100%; background: rgba(255, 255, 255, 1); box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.1); padding: 14px; transition: all .8s ease; } .newsList .newsItem .itemRight li:hover { background-color: rgb(0, 109, 192); } .newsList .newsItem .itemRight li a { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 30px; } .newsList .newsItem .itemRight li .img { width: 168px; height: 112px; overflow: hidden; display: flex; align-items: center; } .newsList .newsItem .itemRight li .img img { width: 100%; max-width: 100%; max-height: 100%; transition: all .8s ease; vertical-align: middle !important; } .newsList .newsItem .itemRight li:hover .img img { transform: scale(1.1); } .newsList .newsItem .itemRight li .title { width: calc(100% - 188px); transition: all .8s ease; } .newsList .newsItem .itemRight li .title p { width: 100%; font-size: 20px; line-height: 28px; font-weight: bold; overflow: hidden; -webkit-line-clamp: 2; color: rgb(51, 51, 51); display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; margin-bottom: 16px; } .newsList .newsItem .itemRight li:hover .title p, .newsList .newsItem .itemRight li:hover .title span { color: #fff; } .newsList .newsItem .itemRight li .title span { color: rgba(153, 153, 153, 1); font-weight: 400; font-size: 16px; line-height: 28px; } /* 企业动态 */ .cooperationList { width: 100%; margin: 0 auto; overflow: hidden; background-color: #F4F7FB; padding: 80px 0 110px; } .cooperationList .en_title { background: linear-gradient(to bottom, rgba(51, 51, 51, 0.2), rgba(51, 51, 51, 0)); -webkit-background-clip: text; color: transparent; } .cooperationList ul { margin: 58px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; } .cooperationList ul li { width: calc(25% - 15px); background-color: #fff; overflow: hidden; transition: all .8s ease; } .cooperationList ul li:hover { background-color: rgb(0, 109, 192); } .cooperationList ul li .img { width: 100%; transition: all .8s ease; } .cooperationList ul li:hover .img { transform: scale(1.1); } .cooperationList ul li .txt { padding: 36px 28px; transition: all .8s ease; } .cooperationList ul li .txt .time { font-size: 18px; font-weight: bold; line-height: 32px; } .cooperationList ul li .txt .title { font-size: 20px; font-weight: bold; line-height: 28px; padding-top: 12px; overflow: hidden; -webkit-line-clamp: 2; display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; } .cooperationList ul li:hover .txt .time, .cooperationList ul li:hover .txt .title, .cooperationList ul li:hover .txt p { color: #fff; } .cooperationList ul li .txt p { font-size: 16px; line-height: 28px; color: rgba(102, 102, 102, 1); margin-top: 28px; padding-top: 27px; border-top: 1px dashed rgba(51, 51, 51, 1); overflow: hidden; -webkit-line-clamp: 3; display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; } .cooperationList ul li:hover .txt p { border-top: 1px dashed rgba(255, 255, 255, 1); } /* 产业布局 */ .industry { width: 100%; margin: 0 auto; overflow: hidden; background: url(../image/产业布局bj.png) center bottom no-repeat; background-size: 100% 100%; padding: 80px 0; } .industry .title { color: #fff; } .industry .title::after { content: ''; width: 94px; height: 6px; position: absolute; bottom: -19px; left: 50%; margin-left: -47px; background: url(../image/title_line1.svg); background-size: 100% 100%; } .industry-cell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; margin: 88px auto 0; } .industry-item { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 532px; width: calc(36% - 12px); transition: width .8s ease; background-position: center; margin-top: 0; background-repeat: no-repeat; background-size: cover; position: relative; overflow: hidden; } .industry-item .txt { position: relative; z-index: 2; color: #fff; } .industry-item .txt i { display: block; width: 39px; height: 10px; margin: 0 auto; background: url(../image/Vector_28.svg); background-size: 100% 100%; } .industry-item .txt p { margin-top: 40px; font-size: 22px; } .industry-cell.on .industry-item.active .txt p { font-size: 26px; font-weight: bold; } .industry-item:after { content: ''; width: 100%; height: 100%; position: absolute; left: 0; top: 0; background: rgba(0, 26, 47, 0.71); transition: all .4s ease; z-index: 1; } .industry-cell.on .industry-item { width: calc(16% - 12px); height: 470px; } .industry-cell.on .industry-item.active { width: calc(36% - 12px); height: 532px; overflow: hidden; } .industry-cell.on .industry-item.active:after { opacity: 0; } .industry-item .icon { width: 100px; height: 100px; opacity: 1; margin: 0 auto 148px; border-radius: 50%; background-color: rgba(227, 174, 117, 0.7); transition: all .4s ease; } .industry-cell .industry-item.active .icon { background-color: rgba(227, 174, 117, 1); margin-bottom: 182px; } .industry-cell .industry-item .icon i { display: block; width: 100%; height: 100%; } .industry-cell .industry-item .icon.gongcheng i { background: url(../image/工程图标.svg); background-size: 100% 100%; } .industry-cell .industry-item .icon.wenhua i { background: url(../image/文化图标.svg); background-size: 100% 100%; } .industry-cell .industry-item .icon.chengguo i { background: url(../image/成果图标.svg); background-size: 100% 100%; } .industry-cell .industry-item .icon.jiaoyu i { background: url(../image/教育图标.svg); background-size: 100% 100%; } .industry-cell .industry-item .icon.fuwu i { background: url(../image/服务图标.svg); background-size: 100% 100%; } /* 重要通知 */ .notice { width: 100%; margin: 0 auto; overflow: hidden; /* background-color: #fff; */ padding: 80px 0 110px; background: url(../image/noticeBg.png) center bottom / 100% 100% no-repeat; } .notice .en_title { background: linear-gradient(to bottom, rgba(51, 51, 51, 0.2), rgba(51, 51, 51, 0)); -webkit-background-clip: text; color: transparent; } .notice ul { margin: 58px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; } .notice ul li { width: calc(50% - 32px); float: left; /* border-bottom: 1px dashed rgba(51, 51, 51, 1); */ background-color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px; } /* .notice ul li a { width: 100%; background-color: #fff; padding: 10px; } */ .notice ul li:nth-of-type(2n) { float: right; } .notice ul li .time { width: 68px; height: 70px; background: rgb(0, 109, 192); color: rgb(255, 255, 255); font-size: 14px; line-height: 20px; display: flex; align-items: center; text-align: center; } .notice ul li .time span:nth-of-type(1) { font-size: 24px; line-height: 24px; font-weight: bold; } .notice ul li .title { width: calc(100% - 84px); text-overflow: ellipsis; white-space: nowrap; overflow: hidden; transition: all .8s ease; font-size: 20px; } .notice ul li:hover .title { color: rgb(0, 109, 192); padding-left: 16px; } /* 友情链接 */ .friendLink { width: 100%; margin: 0 auto; overflow: hidden; background-color: rgb(246, 246, 246); padding: 70px 0; } .friendLink .friend { margin: 0 auto; position: relative; } .friendLink .friend .swiper-wrapper { align-items: center; } .friendLink a { display: block; width: 343px; height: 90px; margin: 0 auto; overflow: hidden; border: 5px solid #fff; box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.11); } .friendLink a img { width: 100%; height: 100%; transition: all 0.8s; } .friendLink a:hover img { transform: scale(1.1); } .friendLink .arrowBtn { position: absolute; top: 50%; left: -50px; right: -50px; margin-top: -15px; display: flex; flex-wrap: wrap; justify-content: space-between; z-index: 1; } .friendLink .arrowBtn>div { width: 30px; height: 30px; display: inline-block; background: url("../image/Group_48.svg") no-repeat right center; background-size: 100% 100%; cursor: pointer; transition: all .4s ease; } .friendLink .arrowBtn>div:hover { background-image: url('../image/Group_48h.svg'); } .friendLink .arrowBtn>div.arrowBtn-prev { transform: rotate(180deg); } .friendLink .arrowBtn>div.swiper-button-disabled { opacity: .8; cursor: default; } .friendLink .arrowBtn>div.swiper-button-disabled:hover { background-image: url('../image/Group_48.svg'); } @media screen and (max-width:1599px) { /* 友情链接 */ .friendLink a { width: 300px; height: 78px; } } @media screen and (max-width:1440px) {} @media screen and (max-width:1280px) { /* 友情链接 */ .friendLink a { width: 100%; height: 70px; } } @media screen and (max-width:1024px) { /* 新闻速递 */ .newsList .newsItem .itemLeft, .newsList .newsItem .itemRight { width: 100%; } .cooperationList ul li { width: calc(50% - 10px); } } @media all and (max-width:950px) { .banner_box { width: 100%; height: auto; } .mouse { position: absolute; left: 50%; margin-left: -5.5px; bottom: 15px; width: 11px; height: 36px; z-index: 100; } @keyframes banner { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); /* 图片向上移动10px */ } } .banner_box .banner { height: 400px; } /* 业务布局 */ .industry-item, .industry-cell.on .industry-item, .industry-cell.on .industry-item.active { width: 100%; height: 240px; background-size: 100%; } .industry-item .icon { width: 80px; height: 80px; margin: 0 auto 40px; } .industry-cell .industry-item.active .icon { margin-bottom: 40px; } .industry-cell.on .industry-item.active:after { opacity: 0.71; } .industry-item .txt p { margin-top: 16px; font-size: 18px; } .industry-cell.on .industry-item.active .txt p { font-size: 18px; font-weight: 400; } /* 友情链接 */ .friendLink .friend { width: 70%; } .friendLink a { width: 300px; height: 78px; } } @media all and (max-width:640px) { .index_title { padding: 20px 0 15px; } .index_title .title { font-size: 30px; } .index_title .en_title { font-size: 36px; } .index_title .title::after { width: 90px; height: 4px; margin-left: -45px; } /* 新闻速递 */ .newsList { padding: 40px 0; } .newsList .newsItem { margin: 30px auto 0; gap: 20px; } .newsList .newsItem .itemLeft { height: 372px; } .itemLeft .imgBox { height: 300px; } .newsList .newsItem .itemLeft .number { top: 238px; } .newsList .newsItem .itemLeft .carousel-item .img { height: 300px; margin-bottom: 20px; } .newsList .newsItem .itemLeft .carousel-item .title { font-size: 20px; } .newsList .newsItem .itemRight li a { gap: 10px; } .newsList .newsItem .itemRight li .title { width: calc(100% - 178px); } .newsList .newsItem .itemRight li .title p { font-size: 18px; } .newsList .newsItem .itemRight li .title span { font-size: 14px; } /* 企业动态 */ .cooperationList { padding: 40px 0; } .cooperationList ul { margin: 30px auto; } .cooperationList ul li { width: 100%; } .cooperationList ul li .txt { padding: 20px; } .cooperationList ul li .txt .title { font-size: 18px; } .cooperationList ul li .txt .time, .cooperationList ul li .txt p { font-size: 14px; line-height: 24px; } .cooperationList ul li .txt p { margin-top: 16px; padding-top: 16px; } /* 产业布局 */ .industry { padding: 40px 0; } .industry-cell { margin: 30px auto; } /* 重要通知 */ .notice { padding: 40px 0; } .notice ul { margin: 30px auto; } .notice ul li { width: 100%; } /* 友情链接 */ .friendLink { padding: 40px 0; } .friendLink .friend { width: 70%; } .friendLink a { width: 300px; height: 78px; } }