body { color: #000; } a { color: #000; } a:hover { color: #f09c6d; } .header { /* background-color: ; */ background: #f09c6d url("/main/dist/websites/images/jjgl/header_bg.png"); background-size: cover; background-position: center; } .gallery { display: flex; justify-content: space-around; align-items: center; } .thumbnail { width: 100px; /* 初始大小 */ transition: transform 0.3s ease; /* 平滑过渡效果 */ } .thumbnail:hover { transform: scale(1.5); /* 鼠标经过时放大到1.5倍 */ } .content-list-wrap, .banner-list { margin-bottom: 20px; } .banner-list, .banner-list img { width: 100%; height: 150px; object-fit: cover; } .swiper-wrapper { height: auto; } .banner .slide-content { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; text-align: center; flex-direction: column; color: #fff; /* 文本颜色 */ opacity: 0; z-index: 1111; background-color: rgba(132, 132, 132, 0.8); transition: opacity 0.3s ease; backdrop-filter: blur(5px); } .banner .slide-content h2 { font-size: 30px; color: #ee9c6a; } .banner .slide-content p { margin-top: 40px; width: 30%; font-size: 18px; line-height: 30px; text-indent: 16px; } .banner .swiper-slide:hover .slide-content { opacity: 1; /* 鼠标移入时显示内容 */ } .mobile-nav-icon { top: 50%; } .header-top-bg { width: 100%; height: 14px; /* background-image: url('/main/dist/websites/images/gjjl/header-bg.png'); */ } .header-top .header-top-left { width: 100%; padding: 0 30px; float: left; } .header-top .header-top-left span:nth-last-of-type(1), .header-top .header-top-left span:nth-last-of-type(2), .header-top .header-top-left span:nth-last-of-type(3) { float: right; } .header-top .header-top-left span:nth-last-of-type(3), .header-top .header-top-left span:nth-last-of-type(4) { border: none; } .header-top div span { padding: 0 10px; color: white; border-right: 1px solid #fff; } /* .header-top div span:first-child { padding-left: 0; } */ .header-top div span a { color: white; } .header-img { clear: both; display: flex; justify-content: center; align-items: center; margin-bottom: 10px; } .header-img .header-img-line { width: 1px; height: 50px; margin: 10px; background-color: white; } .header-img img { display: inline-block; width: auto; height: 100px; } .swiper-pagination-bullet { width: 8%; height: 5px; border-radius: 3px; } .swiper-pagination-bullet-active { background-color: #f09c6d; } /* 导航 */ .header-nav { background-color: transparent; display: flex; justify-content: center; } /* .wrap{ width: 100%; } */ .header-nav>ul { /* width: 100%; */ height: 40px; line-height: 40px; background-color: transparent; display: inline-block; } .header-nav>ul>li { width: 100px; float: left; display: flex; align-items: center; height: 40px; justify-content: center; } .header-nav li a { /* line-height: 50px; */ font-size: 16px; } .nav-secondLevel { top: 40px; } .header-nav li:last-child { background: none; } .header-nav li:hover a { background-color: transparent; } .header-nav .nav-secondLevel { background-color: #e4a075; } .header-nav .nav-secondLevel li a { border-color: #e59664; background-color: #e4a075; } .header-nav .nav-secondLevel li a:hover { background-color: #e59664; } .header-nav .nav-threeLevel li a:hover { background-color: #e59664; } .header-nav li a { position: relative; font-weight: normal; } .header-nav a i { width: 0; height: 0; border: 6px solid transparent; border-bottom-color: #fff; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); opacity: 0; } .header-nav li:hover a i { opacity: 1; } /* 主体 */ .content { /* margin-top: 15px; */ } /* 公告 */ .gonggao .content-item { display: flex; align-items: center; height: 100px; justify-content: center; background-color: #efefef; } .gonggao .content-wrap { display: flex; width: 1600px; justify-content: center } .gonggao h3 { display: flex; align-items: center; } .gonggao ul { /* display: flex; */ width: calc(100% - 60px); /* justify-content: space-around; */ color: rgb(240, 240, 240); } .gonggao li { float: left; border-right: 1px solid #828282; width: 33%; padding: 0 30px; line-height: 30px; } .gonggao li:last-child { border-right: none; } .gonggao p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 遮罩 */ .swiper-shade { width: 100%; height: 100%; position: absolute; top: 0; left: -100%; background-color: #000; opacity: 0.6; z-index: 2; } .swiper-shade-right { left: 100%; } #video .swiper-container { overflow: inherit; } #video .swiper-pagination-bullet { width: 12px; height: 12px; } #video .swiper-pagination-bullet-active { color: #fff; background: #ff3300; display: none; } #video .swiper-container-horizontal>.swiper-pagination-bullets { text-align: right; left: -8px; } #video .swiper-slide { position: relative; } #video .swiper-slide img { display: block; width: 100%; } #video .swiper-slide .swiper-title { position: absolute; left: 0; bottom: 0; height: 38px; line-height: 38px; background-color: rgba(0, 0, 0, 0.6); color: #fff; padding: 0 125px 0 10px; box-sizing: border-box; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .swiper-slide img { display: block; width: 100%; } .content-row { display: flex; justify-content: space-between; flex-wrap: wrap; } .wrap { width: 1600px; clear: both; display: flex; justify-content: center; margin: 20px auto; } .content-wrap h2 { margin-bottom: 20px; display: flex; justify-content: space-between; } .content-wrap h2 .left { /* width: 150px; */ height: 50px; line-height: 50px; /* margin-bottom: 30px; */ display: inline-block; color: #000; font-size: 20px; font-weight: bold; text-align: center; /* background: url('/main/dist/websites/images/gjjl/logo-bg.png') no-repeat right center; */ background-size: 30px 100%; border: 2px solid #f09c6d; display: flex; align-items: center; justify-content: space-between; } .content-wrap h2 .left span:first-child { width: 20px; height: 100%; background-image: url(/main/dist/websites/images/jjgl/icon.png); background-size: 380% 200%; display: inline-block; background-repeat: no-repeat; background-position: center right; margin-right: 10px; } .content-wrap h2 .left span:last-child { width: 20px; height: 100%; background-image: url(/main/dist/websites/images/jjgl/icon.png); background-size: 380% 200%; display: inline-block; background-repeat: no-repeat; background-position: center left; margin-left: 10px; } .content-wrap h2 .right { display: flex; align-items: center; height: 50px; line-height: 50px; color: #000; font-size: 20px; font-weight: bold; text-align: center; background-size: 30px 100%; } .content-wrap h2 .right a { display: flex; align-items: center; } .content-wrap h2 .right span { background: #fff; height: 30px; line-height: 30px; display: inline-block; margin-left: -25px; font-size: 16px; font-family: "Microsoft YaHei"; } .content-wrap h2 span a { color: #fff; } .content-item { width: 100%; box-sizing: border-box; /* margin-bottom: 30px; */ /* margin-right: 30px; */ float: left; /* padding: 20px; */ /* height: 600px; */ } .content-wrap ul li { /* height: 36px; */ /* line-height: 36px; */ } /* .content-wrap li p { width: calc(100% - 90px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; float: left; font-size: 16px; } */ .content-item-border { border: 5px solid #f09c6d; } .content-item-swiper { width: 100%; } .content-row-two {} .content-row-two .content-item { display: flex; width: 100%; /* height: 450px; */ padding: 0; } .content-row-two .content-wrap { width: 100%; /* padding-bottom: 5px; */ } .content-row-two .content-wrap a { display: inline-block; width: 100%; /* background-color: #f09c6d; */ } .content-row-two .content-wrap a div { background-color: #fff; line-height: 26px; box-sizing: border-box; position: relative; padding-bottom: 20px; height: 221px; position: relative; } .content-row-two .content-wrap a div::after { content: " "; width: 100%; height: 10px; display: block; background-color: #e2e2e2; position: absolute; bottom: 0px; } .content-row-two .content-wrap a:hover div::after { background-color: #f09c6d; } .content-row-two .content-wrap a p { text-align: left; padding: 5px 20px; color: #b6b6b6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } .content-row-two .content-wrap a p:first-child { font-size: 18px; padding: 30px 20px 5px 20px; color: #000; font-weight: bold; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: 85px; } .content-row-two li div > p:nth-child(2){ height:88px } .content-row-two .content-wrap a p:nth-of-type(2) { max-height: 62px; min-height: 62px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } .content-row-two ul { background-color: #e2e2e2; /* margin-top: 40px; */ display: flex; justify-content: space-between; flex-wrap: wrap; } .content-row-two li { width: 33%; } .content-row-two img { width: 100%; } .content-row-two li p { width: 100%; text-align: center; } .content-row-three ul { display: flex; position: relative; } .content-row-three ul img { width: 40px; height: 40px; position: absolute; left: 0; top: 0; } .content-row-three ul li { width: 33%; border: 2px solid #f4f4f4; border-right: none; padding: 30px 20px; box-sizing: border-box; } .content-row-three ul li:last-child { border-right: 2px solid #f4f4f4; } .content-row-three ul li p { color: #b6b6b6; } .content-row-three ul li p:first-child { font-size: 18px; /* padding: 30px 20px 5px 20px; */ color: #000; margin-bottom: 20px; font-weight: bold; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .content-row-five .wrap { width: 100%; } .content-row-five h2 { width: 1600px; margin: 0 auto 20px; } .content-row-five ul { width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; } .content-row-five li { width: 33%; } .content-row-five ul { display: flex; width: 1600px; margin: 0 auto; padding: 0; list-style: none; } .content-row-five li { flex: 1; transition: all 0.3s ease-in-out; display: flex; align-items: center; justify-content: center; } .content-row-five li img { width: 100%; cursor: pointer; transition: all 0.3s ease-in-out; } .content-row-five li.large { flex: 6; } .content-row-five li.small { flex: 3; height: 50%; } .right-container { display: flex; flex-direction: column; justify-content: space-between; width: 40%; } .content-row-five .line { width: 100%; height: 1px; background-color: #cccccc; margin-bottom: 20px; } .mobile-content-row-six { display: none; } .content-row-six { width: 100%; background: #e7e8ea; } .content-row-six div { width: 100%; } .content-row-six h2 { width: 1600px; margin: 20px auto; } .content-row-six h2 div { width: auto; } .content-row-six .right span { background: #e7e8ea !important; } .content-row-six .xyfc-swiper-container { /* width: 1600px; */ margin: 40px auto; overflow: hidden; /* display: flex; */ } .xyfc-swiper-container .swiper-slide:first-child { margin-left: 50px; } .content-row-six .swiper-slide img { width: 100%; } .content-row-six .swiper-slide p { color: #b6b6b6; } .content-row-six .swiper-slide p:first-child { font-size: 18px; /* padding: 30px 20px 5px 20px; */ color: #000; margin: 30px 0 10px; font-weight: bold; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; } .content-row-six .swiper-slide p:last-child { width: 50%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; } .profile { display: flex; width: 100%; align-items: center; } .profile-image { width: 80px; height: 80px; border-radius: 50%; /* margin-right: 20px; margin-bottom: 20px; */ float: left; } .profile-info { margin-left: -35px; width: calc(100% - 50px); height: 70px; background-color: #f0efff; background: radial-gradient(circle at left, transparent 45px, #f0efff 0) left, radial-gradient(circle at right, transparent 0, #f0efff 0) right; background-repeat: no-repeat; background-size: 50% 100%; text-align: center; display: flex; flex-direction: column; justify-content: center; /* padding: 0 10px; */ box-sizing: border-box; } .profile-info p { text-align: left; margin-left: 70px; line-height: 30px; } .profile-info p:first-child { /* font-size: 18px; */ font-weight: bold; color: #f09c6d; } .profile-info p:last-child { font-size: 18px; } .content-row-four {} .content-row-four .content-item { width: 100%; padding: 0; height: auto; } .content-row-four h2 { text-align: center; margin-top: 50px; margin-bottom: 30px; } .content-row-four ul { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .content-row-four li { width: 33.2%; height: auto !important; } .content-row-four img { width: 100%; } .content-row-four .content-wrap>div { width: 600px; height: 200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; } .content-row-four .content-wrap>div img { width: 100px; height: 100px; border-radius: 5px; border: 2px solid #f09c6d; margin-bottom: 20px; } .content-row-four .content-wrap>div p { font-size: 18px; /* font-weight: bold; */ /* color: #f09c6d; */ } /* 参赛获奖照片 */ .cshjzp-container img { width: 33%; height: 680px; object-fit: cover; transition: all 0.3s ease-in-out; cursor: pointer; } .cshjzp-container { width: 1600px; display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 auto; } .cshjzp-large { width: 70% !important; height: 690px !important; /* 340px 的两倍 */ } .cshjzp-small { width: 100% !important; height: 340px !important; } .cshjzp-vertical { width: 30%; display: flex; flex-direction: column; gap: 10px; } /* 视频轮播 */ .video-swiper-container { width: 100%; height: 500px; position: relative; overflow: hidden; margin-top: 20px; margin-bottom: 20px; } .video-swiper-wrapper { display: flex; align-items: center; height: 100%; } .video-swiper-slide { display: flex; justify-content: center; align-items: center; width: 1200px !important; } .video-swiper-slide video { width: 100%; height: 100%; object-fit: cover; /* 适应容器 */ } .mask-left, .mask-right { position: absolute; top: 0; width: calc((100% - 1200px) / 2); height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1; } .mask-left { left: 0; } .mask-right { right: 0; } .video-swiper-container .swiper-button-next, .video-swiper-container .swiper-button-prev { width: 50px; height: 50px; background-size: cover; background-position: center; } .video-swiper-container .swiper-button-next::after, .video-swiper-container .swiper-button-prev::after { content: " "; } .video-swiper-container .swiper-button-prev { background-image: url("/main/dist/websites/images/jjgl/left.png"); left: 260px; } .video-swiper-container .swiper-button-next { background-image: url("/main/dist/websites/images/jjgl/left.png"); transform: rotate(180deg); right: 260px; } .content-wrap .list-time { float: right; /* color: #999; */ /* display: none; */ } .content-wrap a:hover .list-time { color: #f09c6d; } .content-tow-lines { flex-grow: 2; } .content-tow-lines ul { display: flex; justify-content: space-between; flex-wrap: wrap; } .content-tow-lines li { width: 48%; overflow: hidden; } /* 列表页 */ .content-part { width: 100%; } .content-left { margin-top: 20px; } .content-left h2 { background: #f09c6d; } .content-list-wrap { width: 95%; border: 1px solid #f09c6d; margin: 20px auto; } .crumbs { background-color: #f09c6d; color: #fff; } .crumbs a { color: #fff; } .article-wrap video{ max-width: 100%; height: 100%; } /* 目录页 */ .catalog-title { border-color: #f09c6d; } /* 底部 */ .footer { padding-top: 5px; background-color: #f09c6d; } .footer-logo { margin-top: 30px; width: 100%; display: flex; justify-content: center; } .footer-logo img { width: 120px; height: 120px; } .footer-logo img { margin-right: 50px; } .footer-mesg { background-color: transparent; /* display: flex; justify-content: space-between; */ padding: 10px 0; width: 98%; margin: 0 auto; } .footer-mesg>div { width: 33%; /* height: 100%; */ /* display: flex; */ padding-top: 10px; padding-left: 50px; text-align: left; justify-content: space-between; flex-direction: column; border-right: 1px solid #fff; } .footer-link { background-color: #c1d6e3; line-height: 36px; } .footer-link ul { display: inline-block; } .footer-link ul li { display: inline-block; margin-right: 15px; } .mobile-nav-icon span { background-color: #fff; } .mobile-header-nav>ul { background-color: #f09c6d; overflow: unset !important; } .mobile-header-nav>ul>li { background-color: #f09c6d; } .mobile-header-nav li a { border-color: #f09c6d; } .mobile-header-nav .nav-secondLevel { background-color: #e59664; } .mobile-header-nav .nav-threeLevel { background-color: #e59664; } @media screen and (max-width: 1600px) { .content-row-five h2, .content-row-six h2 { width: 100%; } .gonggao ul { width: calc(100% - 120px); } .wrap { width: 1200px; } .content-row-five h2, .content-row-six h2 { width: 1200px; } .cshjzp-container { width: 1200px; } } /* 响应式 */ @media screen and (max-width: 1315px) { .mobile-nav-icon, .mobile-header-nav { display: none; } .header-nav li { width: 80px; } .banner .slide-content p { margin-top: 20px; width: 50%; } .gonggao ul { width: calc(100% - 120px); } .wrap { width: 960px; } .content-row-five h2, .content-row-six h2 { width: 960px; } .cshjzp-container { width: 960px; } .cshjzp-container img { height: 400px; } .cshjzp-large { height: 410px !important; } .cshjzp-small { height: 200px !important; } } @media screen and (max-width: 1060px) { .header { position: relative; } .mobile-nav-icon, .mobile-header-nav { display: block; } .header-nav { display: none; } .header-top-left, .header-top-right { display: none; } .banner .slide-content p { margin-top: 20px; width: 50%; } .gonggao ul { width: calc(100% - 120px); } .wrap { width: 768px; } .content-row-five h2, .content-row-six h2 { width: 768px; } .video-swiper-slide { width: 100% !important; } .video-swiper-container .swiper-button-prev { left: 20px; } .video-swiper-container .swiper-button-next { right: 20px; } .cshjzp-container { width: 768px; } .cshjzp-container img { height: 400px; } .cshjzp-large { height: 410px !important; } .cshjzp-small { height: 200px !important; } .xyfc-swiper-container .swiper-slide { width: 300px !important; } } @media screen and (max-width: 768px) { .banner .slide-content p { margin-top: 10px; width: 80%; } .gonggao ul { width: calc(100% - 120px); } .content-row-five h2, .content-row-six h2, .cshjzp-container, .wrap { width: 95%; } .content-row-two ul, .content-row-two li, .content-row-two li a { width: 100%; } .content-row-three ul { width: 100%; flex-direction: column; } .content-row-three ul li { width: 100%; border: 2px solid #f4f4f4; border-bottom: none; } .video-swiper-container { height: 350px; } .content-row-three ul li:last-child { border-bottom: 2px solid #f4f4f4; } .cshjzp-container { flex-direction: column; } .cshjzp-container img { width: 100% !important; height: 400px; } .cshjzp-vertical { width: 100%; } .cshjzp-large { height: 200px !important; } .cshjzp-small { height: 200px !important; } .pc-content-row-six { display: none; } .mobile-content-row-six { display: flex; } .xyfc-swiper-container-mobile { padding-bottom: 20px; } .xyfc-swiper-container-mobile .swiper-slide { width: 200px !important; } .xyfc-swiper-container-mobile .swiper-slide:first-child { margin-left: 20px; } .gonggao h3 { width: 95%; margin: 0 auto; padding: 10px 0; } .gonggao .content-item { width: 100%; height: auto; } .gonggao .content-wrap { flex-direction: column; width: 100%; } .gonggao ul { width: 95%; margin: 0 auto; display: flex; flex-direction: column; } .gonggao li { width: 100%; height: 40px; line-height: 40px; border: none; border-bottom: 1px solid #828282; padding: 0; } .gonggao li:last-child { border: none; } } @media screen and (max-width: 640px) { .header-img img { display: inline-block; width: auto; height: 65px; margin-right: 35px; } .content { width: 100%; margin: 0 !important; } .content-part { padding: 0 10px; } .banner .slide-content p { line-height: 14px; font-size: 12px; } .video-swiper-container { height: 200px; } .xyfc-swiper-container-mobile { width: auto !important; } .content-row-six .swiper-slide p:last-child { width: 70%; } .footer-logo{ justify-content: space-around; } .footer-logo img{ margin: 0; } }