body { color: #000; } a { color: #000; } /* a:hover { color: #941c1e; } */ .header { background: #941c1e url("/main/dist/websites/images/index/header-bg.png") no-repeat; 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; } .mobile-nav-icon { top: calc(50% + 3px); } .header-top-bg { width: 100%; height: 14px; } .header-top .header-top-left { /* width: 100%; */ padding: 0 30px; float: left; } .header-top .header-top-right { /* width: 100%; */ padding: 0 30px; float: right; } .header-top-left span:last-child, .header-top-right span:last-child { border: none; /* float: right; */ } /* .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; } /* 导航 */ .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 > ul > 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: #c90303; } .header-nav .nav-secondLevel li a { border-color: #9f0d0d; background-color: #c90303; } .header-nav .nav-secondLevel li a:hover { color: #ffff00; background-color: #ff1111; } .header-nav .nav-threeLevel li a:hover { background-color: #ff1111; } .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; } /* 主体 */ .swiper-slide img { display: block; width: 100%; } .banner-swiper .swiper-pagination { height: 80px; background: url(/main/dist/websites/images/index/banner-door.png) no-repeat center; background-size: contain; bottom: 0 !important; display: flex; align-items: center; justify-content: center; } .banner-swiper .swiper-pagination span { margin: 20px 10px 0 !important; width: 0.9rem; height: 0.9rem; background: #e9c0c4; border-radius: 50%; } .banner-swiper .swiper-pagination-bullet-active { width: 2.5rem !important; height: 2.5rem !important; background: url(/main/dist/websites/images/index/banner-select.png) no-repeat center 100% !important; background-size: 100% !important; } .content-row { width: 100%; } /* 公共标题 */ .title { width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; } .title h3 { color: #aaa9a8; margin: 1rem 0; font-size: 1.5rem; } .title span { display: block; width: 2rem; height: 5px; background: #b51624; } .title a { display: flex; align-items: center; color: #555555; } .title img { width: 60px; height: 45px; margin-right: 5px; } /* 第一部分 */ .part1 { padding: 3.75rem 5%; background: linear-gradient(to top, transparent, rgba(255, 255, 255, 1)), url(/main/dist/websites/images/index/bg1.png); background-size: cover; /* background-attachment: fixed, fixed; */ position: relative; overflow: auto; /* 根据需要调整 */ } /* 第一部分-统计数据 */ .tongjishuju { display: flex; flex-wrap: wrap; gap: 2rem 0; text-align: center; line-height: 2rem; } .tongjishuju > div { width: 25%; } .tongjishuju .tongjishuju-title { font-size: 2.3rem; font-weight: bolder; color: #b51624; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tongjishuju .tongjishuju-content { font-size: 1rem; color: #555555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 第一部分-印象华夏、学院简介 */ .yinxianghuaxia-xueyuanjieshao { display: grid; grid-template-columns: 30% 70%; padding: 3.75rem 9%; gap: 2rem; } .yinxianghuaxia-swiper .swiper-pagination { bottom: 2.8rem; text-align: left; } .yinxianghuaxia-swiper .swiper-pagination-bullet-active { background-color: #b51624; } .yinxianghuaxia-swiper .swiper-slide { position: relative; text-align: center; } .yinxianghuaxia-swiper .slide-caption { width: 100%; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background: linear-gradient( to right, rgba(181, 22, 36, 1) 15%, rgba(181, 22, 36, 0.3) ); /* 背景颜色 */ color: #fff; /* 文字颜色 */ padding: 10px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .yinxianghuaxia-swiper .slide-caption a { display: flex; align-items: center; color: #fff; } .yinxianghuaxia-swiper .slide-caption img { width: 25px; height: 20px; margin-right: 5px; } .yinxianghuaxia-xueyuanjieshao-right > div { display: flex; align-items: center; justify-content: space-between; } .yinxianghuaxia-xueyuanjieshao-right > div img { width: 60px; height: 45px; margin-right: 5px; } .yinxianghuaxia-xueyuanjieshao-right > div a { display: flex; align-items: center; color: #555555; } .yinxianghuaxia-xueyuanjieshao-right > span { display: block; background-color: #b51624; width: 2rem; height: 5px; margin: 1rem 0; } .yinxianghuaxia-xueyuanjieshao-right > p { color: #555555; text-indent: 2rem; line-height: 1.4rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; } /* 第一部分-通知公告、学院要闻 */ .tongzhigonggao-xueyuanyaowen { display: grid; grid-template-columns: 50% 50%; padding: 0 9% 3.75rem; gap: 2rem; } .tongzhigonggao-xueyuanyaowen a > div { padding: 2rem 3.5rem 3rem; box-shadow: 2px 2px 4px 0px #ababab; background: #fff url(/main/dist/websites/images/index/stripe.png) no-repeat right bottom; background-size:40%; position: relative; } .tongzhigonggao-xueyuanyaowen a > div > h1 { display: flex; align-items: center; } .tongzhigonggao-xueyuanyaowen a > div > h1::before { content: ""; width: 1.2rem; height: 5px; margin-right: 1rem; background-color: #b51624; display: block; } .tongzhigonggao-xueyuanyaowen a > div > p:nth-child(2) { margin-top: 2rem; margin-bottom: 1.5rem; font-size: 1.1rem; width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tongzhigonggao-xueyuanyaowen a > div > p:nth-child(3) { font-size: 1rem; color: #bbbbba; width: 60%; line-height: 1.2rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.5rem; max-height: 2.5rem; } .tongzhigonggao-xueyuanyaowen a > div > span { color: #bbbbba; display: flex; align-items: center; margin: 5rem 0 0; } .tongzhigonggao-xueyuanyaowen a > div > div { width: 2.5rem; height: 4rem; background: #b51624 url(/main/dist/websites/images/index/left.png) no-repeat center; position: absolute; left: 0; bottom: 0; } /* 第二部分 六大学院 */ .part2 { height: 50rem; background: #eee9d9 url(/main/dist/websites/images/index/logo-big.png) no-repeat right center; } .part2-content { width: 1600px; height: 100%; display: flex; margin: 0 auto; } .part2-content > img { width: 20rem; object-fit: contain; padding-bottom: 9.3rem; } .part2-content > div { width: 100%; height: 100%; display: flex; align-items: center; } .part2-line { width: calc(100% - 10rem); height: 4px; background-color: #d29163; margin-left: -2px; position: relative; display: flex; } .part2-line::after { content: ""; right: -15px; bottom: -7px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid #d29163; position: absolute; } .part2-item:nth-child(odd) { display: flex; flex-direction: column; align-items: center; height: fit-content; margin-top: -20px; margin-right: 1rem; margin-left: 0.5rem; } .part2-item:nth-child(even) { display: flex; flex-direction: column-reverse; align-items: center; height: fit-content; margin-top: -210px; margin-right: 1rem; margin-left: 0.5rem; } .part2-item p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .part2-item .point { width: 1.2rem; height: 1.2rem; background: #fff; border-radius: 50%; border: 2px solid #b51624; position: relative; z-index: 2; } .part2-item .point::after { content: ""; display: block; width: 0.8rem; height: 0.8rem; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #b51624; border-radius: 50%; position: absolute; z-index: 2; } .part2-item:nth-child(odd) .line { width: 2px; height: 2rem; background: #d29163; margin-bottom: 5px; margin-top: 5px; } .part2-item:nth-child(odd) .line::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; transform: translate(-3px, -3px); background-color: #d29163; position: absolute; top: 2.8rem; } .part2-item:nth-child(even) .line { width: 2px; height: 2rem; background: #d29163; margin-top: 5px; margin-bottom: 5px; } .part2-item:nth-child(even) .line::after { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; transform: translate(-3px, -3px); background-color: #d29163; } .part2-item > div:nth-child(4) { width: 10rem; height: 10rem; background-color: #fff; -webkit-mask-image: url("/main/dist/websites/images/index/flower2.png"); mask-image: url("/main/dist/websites/images/index/flower2.png"); /* 设置花形遮罩 */ mask-size: contain; mask-repeat: no-repeat; /* box-shadow: 0 0 0 2px black; */ display: flex; justify-content: center; align-items: center; overflow: hidden; } .part2-item img { width: 100%; height: 100%; object-fit: cover; } .part3 { height: 60rem; background: #eee9d9 url(/main/dist/websites/images/index/bg6.png) no-repeat right center; } .part3 .title { padding-top: 5rem; } .part3 .title h3 { font-size: 1rem; } .part3-content { position: relative; height: 40rem; } .part3-node { z-index: 11; position: absolute; width: 10rem; height: 10rem; background-color: transparent; border: 2px solid transparent; border-radius: 50%; text-align: center; /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */ transition: border 0.3s; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; } .part3-node img { width: 4rem; height: 4rem; } .part3-node p { margin: 10px 0 0; font-weight: bold; font-size: 1.2rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .part3-node:hover { background: url(/main/dist/websites/images/index/flower.png) no-repeat center; background-size: 100%; } /* 定位五个节点 */ #part3-node1 { top: 23%; left: 65%; } #part3-node2 { top: 15%; left: 42%; } #part3-node3 { top: 40%; left: 28%; /* Adjusted for horizontal flip */ } #part3-node4 { top: 70%; left: 40%; /* Adjusted for horizontal flip */ } #part3-node5 { top: 65%; left: 57%; } /* 使用伪元素绘制线条 */ .part3-line { position: absolute; height: 0px; border: 1px dashed rgb(186, 116, 67); transform-origin: 0 0; z-index: 1; } .part3-line::after { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; background-color: #b7001a; border-radius: 50%; z-index: 1111; transform: translate(-5px, -5px); } .part4 { height: 50rem; background: #eee9d9 url(/main/dist/websites/images/index/bg5.png) no-repeat right center; display: grid; grid-template-columns: 65% 20%; justify-content: center; color: #fff; position: relative; } .part4 .left, .part4 .right { display: flex; padding: 5rem 3rem; box-sizing: border-box; } .part4-title { position: relative; } .part4-title a { color: #fff; display: flex; align-items: center; position: absolute; left: 2rem; bottom: 13rem; } .part4-title a > img { margin-right: 0.5rem; } .part4-title > div { display: flex; flex-direction: row-reverse; } .part4-title h1 { margin-block-end: 1.5rem; writing-mode: vertical-rl; } .part4-title > div span { width: 5px; height: 2rem; background: #b51624; display: block; } .part4-title p { height: 33%; writing-mode: vertical-rl; line-height: 2rem; font-size: 1rem; font-weight: 200; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin-block-end: 1.5rem; } .part4 .swiper-button-prev { width: 2.5rem; right: 24rem; left: unset; bottom: 8rem; top: unset; } .part4 .swiper-button-next { width: 2.5rem; right: 20.5rem; left: unset; bottom: 8rem; top: unset; } .common-left:after { content: ""; width: 2.5rem; height: 4rem; background: #b51624 url(/main/dist/websites/images/index/left.png) no-repeat center; } .common-right:after { content: ""; width: 2.5rem; height: 4rem; background: #b51624 url(/main/dist/websites/images/index/left.png) no-repeat center; transform: scaleX(-1); } .xiaoyuanfengmao-swiper .slide-caption { width: 100%; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background: rgba(219, 209, 194, 0.5); color: #000; font-weight: bold; padding: 10px; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .part5 { height: 50rem; background: #eee9d9 url(/main/dist/websites/images/index/bg4.png) no-repeat right center; position: relative; } .part5 .title { padding-top: 5rem; color: #fff; } .part5 .title h3 { color: #fff; font-size: 1.5rem; } .part5 .title a { color: #fff; } .part5-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1600px; /*判断宽度设置响应式效果*/ margin: 0 auto; } .part5-content .swiper-container { width: 80%; /* padding: 0 20%; */ } .part5-content .swiper-slide { width: 80%; border-radius: 0.5rem; overflow: hidden; } .part5-content .swiper-slide img { width: 100%; height: 100%; object-fit: cover; } .part5-content .slide-caption { width: 100%; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background: linear-gradient( to right, rgba(181, 22, 36, 1) 15%, rgba(181, 22, 36, 0.3) ); color: #fff; padding: 3rem; } .part5-content .slide-caption h4 { font-size: 1rem; margin-bottom: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .part5-content .swiper-button-prev { opacity: 1; width: 2.5rem; height: 4rem; right: 4rem; left: unset; bottom: 0; top: unset; } .part5-content .swiper-button-next { opacity: 1; width: 2.5rem; height: 4rem; bottom: 0; top: unset; } .part6 { height: 50rem; background: #fff; position: relative; } .part6-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%); width: 1600px; height: 50rem; margin: 0 auto; background: #e0e0e0 url(/main/dist/websites/images/index/stripe4.png); background-size: 10%; display: grid; grid-template-rows: repeat(2, 25rem); grid-template-columns: repeat(3, 1fr) 40rem; } .part6-content > div:first-child { color: #fff; grid-column: span 2; background: url(/main/dist/websites/images/index/huaxiaxinwen.png) no-repeat; background-size: cover; position: relative; } .part6-content > div:first-child h1 { position: absolute; writing-mode: tb-rl; right: 4rem; top: 4rem; } .part6-content > div:first-child a { color: #fff; display: flex; align-items: center; position: absolute; right: 4rem; bottom: 2rem; } .part6-content > div:first-child img { width: 60px; height: 45px; margin-right: 5px; } .part6-content > div:nth-child(3) { width: 100%; } .part6-content > div:nth-child(3) a { width: 100%; display: flex; align-items: self-start; flex-direction: column; writing-mode: vertical-lr; margin: 0 auto; padding-top: 5rem; padding-left: 4rem; } .part6-content > div:nth-child(3) img { width: 80%; margin-right: 1rem; } .part6-content > div:nth-child(4) h1 { position: absolute; writing-mode: tb-rl; right: 2rem; top: 2rem; } .part6-content > div:nth-child(4) { background: url(/main/dist/websites/images/index/zhong.png) no-repeat center; background-size: 40%; position: relative; } .part6-content > div:nth-child(7), .part6-content > div:nth-child(7) a { display: flex; flex-direction: column; align-items: center; justify-content: center; } .part6-content > div:nth-child(7) img { width: 80%; margin-top: 1rem; } .part6-content > div { border-right: 5px solid #fff; } .part6-content > div:nth-child(3), .part6-content > div:nth-child(7) { border-right: none; } .part6-content > div:nth-child(4), .part6-content > div:nth-child(5), .part6-content > div:nth-child(6), .part6-content > div:nth-child(7) { border-top: 5px solid #fff; } .part6-article { padding: 2rem; position: relative; } .part6-article h4 { font-size: 1.2rem; color: #555555; line-height: 1.7rem; margin-top: 2rem; margin-bottom: 1.5rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .part6-article p { font-size: 1rem; color: #989898; line-height: 1.7rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; } .part6-article div { position: absolute; bottom: 2rem; left: 2rem; } .part6-article .day { color: #000; font-size: 1.5rem; } .part7 { height: 50rem; background: url(/main/dist/websites/images/index/bg8.png); position: relative; } .part7 .title { padding-top: 3rem; } .part7-content { width: 1600px; height: 90%; background: url(/main/dist/websites/images/index/map.png) no-repeat center; background-size: 60%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 2%; } .part7-item { width: 10rem; height: 10rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; color: white; } .part7-item h1 { margin-bottom: 10%; } .part7-content a:nth-of-type(1) div { background-color: rgba(166, 42, 43, 0.8); } .part7-content a:nth-of-type(2) div { background-color: rgba(116, 42, 42, 0.8); } .part7-content a:nth-of-type(3) div { background-color: rgba(81, 82, 55, 0.8); } .part7-content a:nth-of-type(4) div { background-color: rgba(62, 86, 122, 0.8); } .part7-content a:nth-of-type(5) div { background-color: rgba(160, 172, 157, 0.8); } .part7-content a div:hover { -webkit-mask-image: url("/main/dist/websites/images/index/flower2.png"); mask-image: url("/main/dist/websites/images/index/flower2.png"); -webkit-mask-size: 100%; /* 设置遮罩图像的大小为100% */ mask-size: 100%; -webkit-mask-position: center; /* 设置遮罩图像居中 */ mask-position: center; } .part7-content a:nth-of-type(1) div:hover { background-color: rgba(166, 42, 43, 1); } .part7-content a:nth-of-type(2) div:hover { background-color: rgba(116, 42, 42, 1); } .part7-content a:nth-of-type(3) div:hover { background-color: rgba(81, 82, 55, 1); } .part7-content a:nth-of-type(4) div:hover { background-color: rgba(62, 86, 122, 1); } .part7-content a:nth-of-type(5) div:hover { background-color: rgba(160, 172, 157, 1); } .part8 { height: 25rem; background: #fff; position: relative; display: flex; align-items: center; justify-content: center; } .part8-main { width: 1650px; display: flex; align-items: center; justify-content: flex-start; } .part8-title { width: auto; margin: unset; } .part8-title > div { width: 15rem; height: 20rem; padding: 25px; border: 1px solid #d0d0d0; background: url(/main/dist/websites/images/index/stripe2.png) no-repeat; background-size: 100%; background-position: -5rem 100%; } .part8-content { margin-left: 1rem; display: grid; grid-template-rows: repeat(3, 6rem); gap: 1rem; grid-template-columns: repeat(2, 40rem); } .part8-content > div:hover a { color: #fff; } .part8-content > div { border: 1px solid #b7001a; background: url(/main/dist/websites/images/index/stripe3.png) no-repeat right bottom; padding: 1.2rem 5rem 1.2rem 1.2rem; line-height: 1.5rem; } .part8-content > div p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .part8-content > div:hover { color: #fff; background: #b7001a url(/main/dist/websites/images/index/stripe3.png) no-repeat right bottom; } .part9 { height: 58rem; background: url(/main/dist/websites/images/index/bg3.png); position: relative; } .part9 .title { padding-top: 3rem; } .part9-content { width: 1600px; height: 40rem; position: relative; margin: 0 auto; } .part9 .random-div { position: absolute; padding: 15px 15px; background-color: #fff; border: 1px dashed #b7001a; border-radius: 40px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); font-size: 14px; /* max-width: 200px; */ } .part9 .random-div:hover { background-color: #b7001a; color: #fff; } .part9-line { margin-top: 5rem; width: 100%; height: 1px; border-top: 1px dashed #7c0012; display: flex; align-items: center; justify-content: space-around; } .part9-line div { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 2.5rem; } .part9-line span { width: 1rem; height: 1rem; margin-top: 1rem; background: #fff1f1; display: block; border-radius: 50%; border: 1px dashed #7c0012; cursor: pointer; } .part9-line div:hover span { width: 3.5rem; height: 3.5rem; cursor: pointer; position: relative; } .part9-line div:hover span::before { content: ""; position: absolute; width: 3rem; height: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #555555; background: #fff url(/main/dist/websites/images/index/select.png) no-repeat center center; background-size: 60%; border: 1px solid #7c0012; border-radius: 50%; z-index: 0; } .part9-line .selected span { width: 3.5rem; height: 3.5rem; cursor: pointer; position: relative; } .part9-line .selected span::before { content: ""; position: absolute; width: 3rem; height: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #555555; background: #fff url(/main/dist/websites/images/index/select.png) no-repeat center center; background-size: 60%; border: 1px solid #7c0012; border-radius: 50%; z-index: 0; } .part10 { height: 55rem; background: url(/main/dist/websites/images/index/bg2.png) no-repeat center center; background-size: cover; position: relative; } .part10 .title { padding-top: 8rem; } .part10-content { position: relative; width: 1600px; margin: 0 auto; } .gallery-thumbs-prev, .gallery-thumbs-next { width: auto; bottom: 2.5rem; top: unset; } .gallery-thumbs-prev { left: 9rem; } .gallery-thumbs-next { right: 9rem; } .gallery-top .swiper-slide { padding: 1rem; display: grid; grid-template-columns: 30% 1fr; grid-template-rows: 30rem; grid-gap: 10px; } .gallery-top .swiper-slide > div:first-child { padding: 1rem; box-sizing: border-box; display: flex; justify-content: center; align-items: center; position: relative; } .gallery-top .swiper-slide > div div { width: 80%; height: 20%; position: absolute; right: 7px; bottom: 10px; background: url(/main/dist/websites/images/index/stripe5.png) no-repeat; } .gallery-top .swiper-slide img { width: 14.29rem; height: 20rem; } .gallery-top .swiper-slide > div:last-child { padding: 6rem 15rem 6rem 1rem; display: flex; flex-direction: column; justify-content: flex-start; } .gallery-top .swiper-slide > div:last-child h2 { margin-block-end: 2rem; } .gallery-top .swiper-slide > div:last-child p { margin-block-end: 2rem; font-size: 1rem; line-height: 2rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; } .gallery-thumbs { box-sizing: border-box; padding: 10px 1rem; width: 70%; } .gallery-thumbs .swiper-slide { font-size: 1rem; width: 25%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; } .gallery-thumbs .swiper-slide:hover { color: #d29163; } .swiper-button-next, .swiper-button-prev { opacity: 1; } .gallery-thumbs .swiper-slide div { width: 5rem; height: 5rem; background: url(/main/dist/websites/images/index/首页底图-06.png) no-repeat center; background-size: 100%; display: flex; align-items: center; justify-content: center; /* margin-bottom: 1rem; */ } .gallery-thumbs .swiper-slide img { width: 2.75rem; height: 4rem; margin-bottom: 1.5rem; } .gallery-thumbs .swiper-wrapper { display: flex; justify-content: center; } /* 底部 */ .footer { padding-top: 5px; background: #580b0c url(/main/dist/websites/images/index/stripe6.png) no-repeat center bottom; background-size: 50%; } .footer-white-line { width: 98%; height: 5px; background-color: #fff; margin: 0 auto; } .footer-logo { padding: 30px 0; width: 15%; margin: 0 auto; } .footer-logo img { width: 100%; } .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-mesg > div:first-child p { line-height: 20px; } .footer-mesg > div:last-child { border: none; } .footer-mesg > div:nth-of-type(2) { padding-left: 0; } .footer-mesg > div:nth-of-type(2) h2 { text-align: center; } .footer-mesg .lxwm > div { display: flex; align-items: center; } .footer-mesg .lxwm img { width: 25px; height: 25px; margin-right: 10px; } .footer-mesg .gzwm { display: flex; justify-content: space-around; margin-bottom: 30px; /* flex-direction: row; */ } .footer-mesg .gzwm p { text-align: center; } .footer-mesg .gzwm img { width: 100px; height: 100px; } .footer-mesg a { text-decoration: none; } .footer-mesg a:hover { color: white; } .footer-link { background-color: #c1d6e3; line-height: 36px; } .footer-link ul { display: inline-block; } .footer-link ul li { display: inline-block; margin-right: 15px; } /* 列表页 */ .content-list-wrap { width: 95%; border: 1px solid #941c1e; margin: 20px auto; } .crumbs { background-color: #941c1e; color: #fff; } .crumbs a { color: #fff; } /* 目录页 */ .catalog-title { border-color: #941c1e; } .mobile-nav-icon span { background-color: #fff; } .mobile-header-nav > ul { background-color: #941c1e; } .mobile-header-nav > ul > li { background-color: #941c1e; } /* .mobile-header-nav li a { border-color: #47ade8; } .mobile-header-nav .nav-secondLevel { background-color: #0099ff; } .mobile-header-nav .nav-threeLevel { background-color: #6dbedc; } */ /* 响应式 */ @media screen and (max-width: 1600px) { .part2-content, .part5-content, .part7-content, .part9-content, .part10-content, .tongzhigonggao-xueyuanyaowen, .tongzhigonggao-xueyuanyaowen > div > p:nth-child(2), .tongzhigonggao-xueyuanyaowen > div > p:nth-child(3) { width: 100%; } .title, .part6-content, .part8-main, .yinxianghuaxia-xueyuanjieshao-right, .part8-content > div { width: 95%; margin: 0 auto; } .part2-item > div:nth-child(4){ width: 8rem; height: 8rem; } .part2-item:nth-child(even){ margin-top: -180px; } .part2-item:nth-child(odd) .line::before{ top: 2.8rem; } .part2-content > img{ margin-left: 1rem; } .part4 .swiper-button-prev{ right:17rem; } .part4 .swiper-button-next{ right:14rem; } .part8-content{ grid-template-columns: repeat(2, 32rem); } .gallery-top .swiper-slide > div div{ right: -6%; bottom: 2%; width: 90%; background-size: 100%; } .part2-line{ width: calc(100% - 2.5rem); } } @media screen and (max-width: 1280px) { .part2-content > img{ padding-bottom: 6.5rem; width: 14rem; } .part2-line{ height: 3px; } .part2-line{ width: calc(100% - 2.5rem); } .part2-item > div:nth-child(4) { width: 6rem; height: 6rem; } .part2-item:nth-child(even){ margin-top: -145px; } .part2-item:nth-child(odd) .line::before{ top: 2.8rem; } .part4{ grid-template-columns: 65% 30%; } .part4 .swiper-button-prev{ right:13rem; } .part4 .swiper-button-next{ right:10rem; } .part8-content{ grid-template-columns: repeat(2, 50%); } .gallery-top .swiper-slide > div div{ right: -12%; bottom: 2%; width: 100%; background-size: 100%; } } @media screen and (max-width: 1080px) { .part6 { height: 35rem; } .part6-content{ grid-template-rows: repeat(2, 20rem); grid-template-columns: repeat(3, 1fr) 30rem; height: 40rem; } .part6-article p{ line-height: 1.4rem; -webkit-line-clamp: 3; } .part6-article div{ bottom: 1rem; } .gallery-top .swiper-slide > div div { right: -18%; bottom: 1.5%; width: 110%; background-size: 100%; } } @media screen and (max-width: 980px) { .mobile-nav-icon, .mobile-header-nav { display: none; } .header-top .wrap { width: 100%; } .header-img img { width: auto; } .part2-line { width: calc(100% - 1.5rem); } .part2-item:nth-child(odd){ margin-left:0; margin-right: 0; } .part2-item:nth-child(even) { margin-left:0; margin-right: 0; } .part4 { grid-template-columns: 65% 40%; } .footer-mesg { flex-direction: column; } .footer-mesg > div { width: 100%; border: none; padding-left: 10px; } } @media screen and (max-width: 860px) { .part4 { grid-template-columns: 60% 45%; } .part4 .left{ padding: 5rem 1rem 0 3rem; } .part5-content .swiper-button-prev,.part5-content .swiper-button-next{ bottom: -5rem; } .part7-item{ width: 8rem; height: 8rem; } .part6-content{ grid-template-columns: repeat(3, 1fr) 25rem; } } @media screen and (max-width: 780px) { .mobile-nav-icon, .mobile-header-nav { display: block; } .header-nav { display: none; } .header-img { width: 90%; flex-direction: column; } .header-top-left, .header-top-right { display: none; } .mobile-nav-icon { right: 20px; } h1 { font-size: 1.5rem; } .title, .yinxianghuaxia-xueyuanjieshao-right, .tongzhigonggao-xueyuanyaowen, .part8-content > div { width: 95%; margin: 0 auto; } .title h3 { font-size: 1.2rem; margin: 0.5rem 0; } .title > div { flex: 2; } .title a { flex: 1; display: flex; justify-content: flex-end; } .part2-content, .part5-content, .part6-content, .part7-content, .part9-content, .part8-main, .part10-content, .tongzhigonggao-xueyuanyaowen > div > p:nth-child(2), .tongzhigonggao-xueyuanyaowen > div > p:nth-child(3), .tongzhigonggao-xueyuanyaowen a > div > p:nth-child(2), .tongzhigonggao-xueyuanyaowen a > div > p:nth-child(3) { width: 100%; } .part5 .title, .part6 .title, .part7 .title, .part9 .title { padding-top: 2rem; } .swiper-button-next, .swiper-button-prev { display: none; } .banner-swiper .swiper-pagination { height: 40px; } .banner-swiper .swiper-pagination span { margin: 10px 5px 0 !important; width: 0.6rem; height: 0.6rem; } .banner-swiper .swiper-pagination-bullet-active { width: 1.5rem !important; height: 1.5rem !important; } .part1 { padding: 3.75rem 0%; } .tongjishuju .tongjishuju-title { font-size: 1.5rem; } .tongjishuju .tongjishuju-content { font-size: 0.8rem; } .yinxianghuaxia-xueyuanjieshao { padding: 0.75rem 0%; grid-template-columns: 100%; } .tongzhigonggao-xueyuanyaowen { grid-template-columns: 100%; padding: 0; gap: 1rem; } .tongzhigonggao-xueyuanyaowen > div > span { margin: 2rem 0 0; } .part2 { height: 40rem; background-size: 50%; } .part2-content > img { display: none; } .part2-line { width: auto; height: auto; margin-left: 0px; position: relative; background-color: transparent; display: flex; flex-direction: column; } .part2-line::after { display: none; } .part2-item .point, .part2-item .line { display: none; } .part2-item { width: 100%; display: flex; flex-direction: row-reverse !important; margin-top:1rem !important; margin-bottom: 0.5rem; } .part2-content > div{ justify-content: center; } .part2-item > div:nth-child(4) { width: 5rem; height: 5rem; } .part2-item p { font-size: 1.2rem; margin-left: 1.5rem; } .part3 { height: 42rem; } .part3-content { height: 30rem; } .part3 .title { padding-top: 2rem; } #part3-node3 { left: 0%; } #part3-node4 { left: 20%; } #part3-node2 { left: 22%; } .part4 { height: auto; display: flex; flex-direction: column-reverse; } .part4 .left { width: 100%; padding: 0; width: 40%; margin: 0 auto; padding-bottom: 1rem; } .part4-title a { left: -5rem; bottom: 0rem; } .part4 .right { padding: 2rem; justify-content: right; } .xiaoyuanfengmao-swiper .slide-caption{ font-size: 1rem; } .part5 { height: 20rem; } .part5-content{ transform: translate(-50%, -20%); } .part5-content .swiper-container { width: 100%; } .part5-content .swiper-button-prev { bottom: -4.5rem; } .part5-content .swiper-button-next { bottom: -4.5rem; } .part5-content .slide-caption { padding: 1rem; } .part5-content .slide-caption h4 { margin-bottom: 0.5rem; } .part6 { height: 105rem; } .part6-content { height: 100%; grid-template-rows: repeat(7, 15rem); grid-template-columns: 100%; gap: 0; transform: translate(-50%, -50%); } .part6-content > div { border-top: 5px solid #fff; border-right: none; } .part6-content > div:first-child { grid-column: unset; border: none; /* height: 25rem; */ } .part6-content > div:first-child h1{ left: 3rem; top: 2rem; right: unset; } .part6-content > div:first-child a{ bottom: unset; top: 4rem; right: 2rem; } .part6-content > div:nth-child(3) { width: 100%; display: flex; align-items: self-start; flex-direction: column; writing-mode: vertical-lr; margin: 0 auto; } .part6-content > div:nth-child(3) a { padding-left: 2rem; padding-top: 2.5rem; } .part6-content > div:nth-child(3) img { width: 80%; margin-right: 1rem; } .part6-article{ padding: 1rem 2rem; } .part6-article h4 { margin: 0 0 0.5rem; } .part7 { height: 30rem; } .part7 .title { padding-top: 2rem; } .part7-content { background-size: 100%; height: 100%; } .part7-item { width: 4.2rem; height: 4.2rem; font-size: 0.7rem; } .part7-item h1 { font-size: 1rem; } .part8 { height: auto; padding: 1rem 0; } .part8-title { margin-bottom: 1rem; } .part8-main { flex-direction: column; } .part8-content { grid-template-rows: repeat(6, 1fr); grid-template-columns: repeat(1, 1fr); margin-left: 0; } .part8-title > div { width: 100%; height: 8rem; } .part10 { height: 40rem; } .part10 .title { padding-top: 8rem; } .part10-content > div { width: 100%; } .part10-content > div > img { width: 100%; } .part10-content > div > p { width: 100%; } .gallery-top .swiper-slide { grid-template-rows: 15rem; grid-template-columns: 40% 1fr; } .gallery-top .swiper-slide > div:nth-child(1) { width: 10.29rem; height: 14rem; } .gallery-top .swiper-slide img { width: 71%; margin: 0 auto; height: auto; } .gallery-top .swiper-slide > div:last-child { padding: 1rem; display: flex; align-items: center; justify-content: center; } .gallery-top .swiper-slide > div:last-child h2 { margin-block-end: 1rem; } .gallery-top .swiper-slide > div:last-child p { margin-block-end: 1rem; line-height: 1.2rem; } .gallery-top .swiper-slide > div div { width: 100%; background-size: 100%; right: -8%; bottom: 4.5%; } .gallery-thumbs { padding: 0; } .gallery-thumbs .swiper-slide div { margin-bottom: 0.5rem; } .gallery-thumbs .swiper-slide { font-size: 0.8rem; text-align: center; } .header-nav { display: none; } .header-top .wrap { width: 100%; } .header-img { width: 90%; flex-direction: column; } .header-top-left, .header-top-right { display: none; } .header-img img { width: 80%; object-fit: contain; margin-bottom: unset; margin-top: 10px; } .mobile-nav-icon { right: 20px; } .wrap { width: 90%; } .footer-logo { width: 80%; padding: 30px 0 0 0; } } @media screen and (max-width: 640px) { .content { margin-top: 105px !important; } }