@charset "utf-8"; /* CSS Document */ /* 头部 */ .header .contact a{padding: 0;} .header .contact dd span{display: block;padding: 0.5208vw 0;text-align: center; font-size: 0.6vw;} /* 首页 */ .home_part2 .cont {text-align: justify;} /* 图片样式 - 使用兼容性更好的方案 */ .home_part2{background: #fff !important;} .home_part3{background: #F4F4F4 !important;} .home_part3 .list dt img { width: 100%; height: auto; object-fit: cover; /* 保持图片比例并填满容器 */ /* 现代浏览器使用aspect-ratio */ aspect-ratio: 16 / 9; /* 为旧浏览器添加最小高度作为回退 */ min-height: 0; } /* 为IE和其他不支持aspect-ratio的旧浏览器添加JS辅助类 */ .no-aspect-ratio .home_part3 .list dt img { /* 回退方案:使用高度固定值 */ height: 300px; } .home_part3 .hot dt img,.news_list .list .hot dt img{width: 100%; height: auto;} .home_part3 .hot dt img, .news_list .list .hot dt img{ width: 100%; height: 100%; object-fit: cover; /* 保持图片比例并填满容器 */ /* 现代浏览器使用aspect-ratio */ aspect-ratio: 4 / 3; /* 为旧浏览器添加最小高度作为回退 */ min-height: 0; } .home_part3 .list1 dt .logo {width: 100%; text-align: center;} .home_part3 .list1 dt .logo img{ height: auto;} .home_part4 .list .swiper-slide .tet{text-align: justify;} .home_part5 .tet{text-align: justify;} .home_part6 .box .tet {font-size: inherit;} /* .home_part4 .cont .box .tet{text-indent: 2em;} */ /* .c_banner .tet{text-indent: 2em;} */ .yew_part3 dt img,.yew_part2 .item dt img,.zer_part5 dt img{ width: 100%; height: auto; object-fit: cover; /* 保持图片比例并填满容器 */ /* 现代浏览器使用aspect-ratio */ aspect-ratio: 3 / 2; /* 为旧浏览器添加最小高度作为回退 */ min-height: 0; } .c_path {color: #fff; font-size: var(--fz14);} .c_path a+a{margin: 0;} .c_path a+a::before{content: "";} .newsc_part1 .c_path {color: #999; font-size: var(--fz14);} .footer .col_1{border: none; margin-bottom: 0;} .footer .col_2{display: none;} .footer .col_1 dd span .dt img{height: 1.93vw;} .footer .col_1 .dd>div::after{bottom: -0.4729vw;} .about_part1 .tet{text-align: justify;} .about_part1 .item:first-child{width: 45%;} .about_part1 .item:first-child dl{display: flex;} .about_part1 .item:first-child dl span{flex: 1; width: 100%;} .zer_part3 .swiper-slide img{width:100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; min-height: 0;} .kej_part6 .item .c_h16{font-weight: bold; color: #666; padding-bottom: 0.3vw;} .news_list .item dt {flex: none;} .news_list .item dd {margin-left: 0.25vw;} .news_list .list1{display: flex; flex-wrap: wrap; margin: -2.0833vw -2.0833vw 0;} .news_list .list1 .item{width: 50%; padding: 0 2.0833vw 0;} .news_list .list1 dl{display: flex; align-items: center; border-bottom: 1px solid rgba(217, 217, 217, 0.5); padding-bottom: 2.0833vw;} .news_list .list1 dt{ flex-shrink: 0; padding-right: 1.5625vw; border-right: 1px solid #D5D7DB; text-align: center;} .news_list .list1 dt .logo{height: 1.8229vw; margin-bottom: 0.5208vw;} .news_list .list1 dt .logo img{max-height: 100%;} .news_list .list1 dt .tpt{font-size: var(--fz20); color: var(--color); width: 5.4688vw; padding-bottom: 0.2604vw;} .news_list .list1 dt .tit{font-family: 'Arial'; color: #999;} .news_list .list1 dt .tdt{font-family: 'Arial'; color: var(--color); font-size: 1.4583vw;} .news_list .list1 dd{padding-left: 1.5625vw; flex: 1; overflow: hidden;} .news_list .list1 .txt{font-size: var(--fz20); transition: 0.5s; } .news_list .list1 .tet{color: #999; padding-top: 0.5208vw;} .news_list .list1 a:hover .txt{color: var(--color);} .c_sbutton .pagination {width: 4.3854vw;} .yew_part1 .cont {width: 8.1354vw;} .yew_part2 .li12 .item{width: 33.3%;} .xinx_part5 .item .d1{font-family: 'Arial';} /* 首页新增样式 */ .chat_box .col_4 div span{background-size: 1.3vw;} .chat_box .col_4 div .a2 span{background-size: 1.2vw;} /* 公益项目 */ .gyxm .layout{display: flex;} .gyxm .left{width: 13.5417vw; position: sticky; top: 5vw; align-self: flex-start;} .gyxm .right{flex: 1; overflow: hidden; padding-left: 4.1667vw;} .gyxm .c_tab{display: block;} .gyxm .layout .c_tab a+a{margin-top: 0.2604vw;} .gyxm .layout .c_tab a {display: block; padding: 1.0417vw 0; background: #F3F3F3; border-radius: var(--radius); text-align: center; font-size: var(--fz18); border-bottom: none;} .gyxm .layout .c_tab a.selected,.gyxm .layout .c_tab a:hover{background: var(--color); color: #fff;} .gyxm .layout .c_tab a::after{display: none;} .gyxm .gyxmContent {display: none; text-align: justify; line-height: 1.7; color: #333;position: relative;} .gyxm .gyxmContent p+p{padding-top: 1em;} .gyxm .gyxmContent h1{padding-bottom: 1vw;} .gyxm .gyxmContent img{max-width: 100%; height: auto !important;} .gyxm .gyxmContent:first-child{display: block;} /* 2025.11.29新增 */ .home_part7 .item {padding: 0 0.6771vw;} .home_part7 .item a {height: 6vw;} /* 分页 */ .pagination_index,.pagination_index_num,.pagination_index1,.pagination_index_last{ width: 2.6042vw; height: 2.6042vw; display: inline-flex; align-items: center; justify-content: center; background: #F3F3F3; border-radius: 0.5208vw; margin: 0 0.5208vw; } .pagination_index, .pagination_index1,.pagination_index_last{ width: 5.2083vw; } .currentIndex,.pagination_index:hover,.pagination_index_num:hover,.pagination_index1:hover,.pagination_index_last:hover{ background: var(--color); color: #fff; } .pagination_index_last{display: none;} .c_page a{width: 100%; height: 100%; background: none; margin: 0; padding: 0;} .c_page a:hover{background: none;} .bangy_part2 .pic img{width: 100%; height: 100%; object-fit: cover;} /* 弹窗 */ .greeting-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.5s ease-in-out; } .greeting-popup.show { opacity: 1; } .greeting-popup.hide { opacity: 0; pointer-events: none; } .greeting-content { position: relative; max-width: 90%; max-height: 90%; text-align: center; overflow-y: auto; } .greeting-content img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } /* 桌面端图片默认显示,移动端图片隐藏 */ .desktop-img { display: block; } .mobile-img { display: none; } .greeting-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.2); border: none; border-radius: 50%; color: white; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; } .greeting-close:hover { background: rgba(255, 255, 255, 0.3); } .greeting-close::before { content: "×"; font-weight: bold; } @media screen and (max-width: 1200px){ .footer .col_1 dd span .dt img{height: 1.94vw;} .chat_box,.chat_but{display: none;} .pagination_index,.pagination_index_num,.pagination_index1,.pagination_index_last{ width: 7vw; } .pagination_index, .pagination_index1,.pagination_index_last{ width: 12vw; } .news_list .list1 dt .tdt { font-size: 16px; } .news_list .list1 dd { padding-left: 20px; } .news_list .list1 dt .tpt { width: 90px; } .c_sbutton .pagination { width: 50px; } } @media screen and (max-width: 758px){ .home_part7 .item:last-child{width: 50%;} .about_part1 .item:first-child{width: 50%;} .home_part4 .cont .tet:last-child{text-indent: 0; text-align: justify;} .home_part4 .list .swiper-slide .tet{text-indent: 0; text-align: justify;} .footer .col_1 dd span .dt img{height: 36px;} .home_part7 .item a{height: 50px;} .pagination_index,.pagination_index_num,.pagination_index1,.pagination_index_last{ width: 7vw; height: 7vw; } .pagination_index, .pagination_index1,.pagination_index_last{ width: 14vw; } .news_list .list1{ margin: 0; } .news_list .list1 .item { width: 100%; padding: 0; } .news_list .list1 .tet { display: none; } .news_list .list1 dt .tdt { font-size: 14px; } .news_list .list1 dd { padding-left: 10px; } .yew_part1 .cont {width: auto;} /* 弹窗 */ .desktop-img { display: none; } .mobile-img { display: block; } .greeting-content { max-width: 95%; max-height: 95%; } .greeting-content img { max-width: 100%; max-height: 100%; } .greeting-close { top: 10px; right: 10px; width: 30px; height: 30px; font-size: 18px; } }