.container-fluid { padding-right: 0px; padding-left: 0px; margin-right: auto; margin-left: auto; } /* 测试 */ .contents-head { border-radius: 5px; margin-bottom: 20px; background-image: ; background-position: center; background-size: cover; background-repeat: no-repeat; } .contents-head-theme { height: 80px; line-height: 80px; margin-left: 22px; font-size: 22px; font-weight: 700; color: #fff; } .contents-head-list { margin-top: 10px; margin-left: 20px; } .contents-head-list>ul>li { float: left; } .contents-head-list>ul>li>a { display: block; border-radius: 5px; padding-left: 10px; padding-right: 10px; line-height: 30px; margin-right: 15px; margin-bottom: 20px; text-align: center; cursor: pointer; background-color: #fff; } .contents-head-list>ul>li>a:hover { background-color: #205190; color: #fff; } .contents-middle { padding: 0; } .contents-middle-list-to { height: 35px; border-bottom: 1px solid #ccc; } .contents-middle-list-to>span { display: inline-block; text-align: center; margin-bottom: 15px; font-size: 18px; font-weight: 700; width: 80px; text-align: left; cursor: pointer; } .sxian { font-weight: 100 !important; font-size: 18px !important; width: 30px !important; margin-left: 10px !important; color: #ccc; } #to-regulations { color: #0f3c74; } .contents-middle-list-two { border-right: 1px dashed #ccc; margin-bottom: 15px; } .contents-middle-list-two>ul>li { color: #000; margin-top: 15px; padding-left: 20px; position: relative; } .contents-middle-list-two>ul>li>a { width: 80%; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .contents-middle-list-two>ul>li:before { content: ""; position: absolute; top: 50%; left: 0; width: 4px; height: 4px; margin-top: -2px; background-color: #ccc; border-radius: 100px; } .contents-middle-list-two>ul>li:hover { color: #048; } .contents-middle-list-two>ul>li:hover:before { background-color: #1b80d2; } .date { position: absolute; top: 0; right: 2%; color: #bbb; } .contents-middle-interactive-to { height: 35px; border-bottom: 1px solid #ccc; } .contents-middle-interactive-to>span { display: inline-block; text-align: center; margin-bottom: 15px; font-size: 18px; font-weight: 700; width: 100px; text-align: left; } .contents-middle-interactive-two>ul>li { color: #000; margin-top: 15px; padding-left: 20px; position: relative; width: 95%; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .contents-middle-interactive-two>ul>li:before { content: ""; position: absolute; top: 50%; left: 0; width: 4px; height: 4px; margin-top: -2px; background-color: #ccc; border-radius: 100px; } .contents-middle-interactive-two>ul>li:hover { color: #048; } .contents-middle-interactive-two>ul>li:hover:before { background-color: #1b80d2; } .contents-middle-interactive-three { margin-top: 20px; } .contents-middle-interactive-three>a { display: inline-block; width: 150px; height: 95px; background-color: aquamarine; margin-right: 30px; margin-bottom: 20px; position: relative; } .contents-middle-interactive-three>a>img { width: 100%; height: 100%; } .contents-middle-interactive-three>a>span { position: absolute; left: 50%; transform: translatex(-50%); bottom: 5%; color: #fff; font-weight: 700; } .contents-block-title { width: 98%; margin: 0 auto; } .contents-block-title>span { display: inline-block; text-align: center; margin-bottom: 15px; font-size: 18px; font-weight: 700; width: 100px; text-align: left; } .contents-block-title { margin-top: 15px; height: 35px; border-bottom: 1px solid #ccc; } .contents-block>div { margin-top: 20px; height: 50px; text-align: center; line-height: 50px; } .contents-block>div>a:hover { background-color: #205190; color: #fff; } .contents-block>div>a { display: inline-block; width: 100%; background-color: #f2f2f2; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 10px; padding-right: 10px; } .contents-query { margin: 0 auto; } .contents-query-left { margin-bottom: 20px; } .contents-query-left-title>span { display: inline-block; text-align: center; margin-bottom: 15px; font-size: 18px; font-weight: 700; width: 100px; text-align: left; } .contents-query-right-title>span { display: inline-block; text-align: center; margin-bottom: 15px; font-size: 18px; font-weight: 700; width: 100px; text-align: left; } .contents-query-to { height: 150px; } .contents-query-right>div { display: inline-block; text-align: center; margin-right: 30px; margin-bottom: 20px; } .contents-query-right>div>img { display: block; width: 130px; height: 130px; } .swiper-slide { font-size: 14px !important; position: relative; background-color: #f5f5f5 !important; } .swiper-slide>div { display: inline-block; width: 30%; height: 42%; background-color: #fff; position: absolute; color: #000; border-radius: 5px; } .swiper-slide>div>a:nth-child(1) { position: absolute; top: 50%; left: 15%; transform: translate(-50%, -50%); width: 40px; height: 40px; background-color: #a9c5e4; overflow: hidden; border-radius: 25px; } .swiper-slide>div>a>img { width: 20px; height: 20px; margin-top: 24%; margin-left: 24%; } .swiper-slide>div>a:nth-child(2) { height: 100%; width: 60%; position: absolute; top: 0; left: 25%; margin-left: 10px; margin-right: 10px; white-space: pre-wrap; display: flex; align-items: center; justify-content: center; } .swiper-slide>div:nth-child(1) { top: 0; left: 0; } .swiper-slide>div:nth-child(2) { top: 0; left: 50%; transform: translatex(-50%); } .swiper-slide>div:nth-child(3) { top: 0; right: 0; } .swiper-slide>div:nth-child(4) { bottom: 0; left: 0; } .swiper-slide>div:nth-child(5) { bottom: 0; left: 50%; transform: translatex(-50%); } .swiper-slide>div:nth-child(6) { bottom: 0; right: 0; } /* 轮播图 */ .swiper { width: 100%; height: 100%; overflow: hidden; } .swiper-slide { text-align: center; font-size: 18px; background: #fff; /* center slide text vertically */ display: -webkit-contents; display: -ms-flexcontents; display: -webkit-flex; display: flex; -webkit-contents-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-contents-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; } .swiper-button-next { width: 20px; height: 40px; top: 62%; background-size: 20px 20px; } .swiper-button-prev { width: 20px; height: 40px; top: 62%; background-size: 20px 20px; } .backgroundcolor { background-color: #f5f5f5; padding-top: 30px; padding-bottom: 30px; } /* 按钮样式 */ .highbright { background-color: #205190 !important; color: #fff !important; } @media (max-width: 480px) { .contents-query-to { height: 220px; } .swiper-slide>div { display: inline-block; width: 48%; height: 30%; background-color: #fff; position: absolute; color: #000; border-radius: 5px; } .swiper-slide>div>a:nth-child(1) { position: absolute; top: 50%; left: 20%; transform: translate(-50%, -50%); width: 40px; height: 40px; background-color: #a9c5e4; overflow: hidden; border-radius: 25px; } .swiper-slide>div>a:nth-child(2) { height: 100%; width: 55%; position: absolute; top: 0; left: 30%; margin-left: 10px; margin-right: 10px; white-space: pre-wrap; display: flex; align-items: center; justify-content: center; } .swiper-slide>div:nth-child(1) { top: 0; left: 0; } .swiper-slide>div:nth-child(2) { top: 0; left: 52%; transform: translatex(0); } .swiper-slide>div:nth-child(3) { top: 50%; left: 0; transform: translatey(-50%); } .swiper-slide>div:nth-child(4) { top: 50%; bottom: 0; left: 52%; transform: translatey(-50%) } .swiper-slide>div:nth-child(5) { bottom: 0; left: 0; transform: translatex(0); } .swiper-slide>div:nth-child(6) { bottom: 0; right: 0; } .swiper-button-next { top: 58%; } .swiper-button-prev { top: 58%; } /* 其他样式 */ .contents-middle-interactive-three>a { margin-right: 10px; width: 135px; } .contents-query-right>div { margin-right: 10px; } .contents-middle-list-two>ul>li>a { width: 95%; } .date { display: none; } .contents-middle-list-two { border-right: none; } }