*{ margin: 0; padding: 0; } html { font-size: 12px; height: 100%; /* 10÷16=62.5% */ } body{ font-size: 12px; height: 100%; background: #fff;} ul,li{ list-style: none; } a:hover{ text-decoration: none; } /* banner */ .banner{ width: 100%; margin-bottom: 36px; position: relative; } .banner .swiper-slide img{ width: 100%; height: auto; } .banner .top_logo{ width: 1100px; height: 193px; position: absolute; left: 50%; top: 0; margin-left: -550px; z-index: 99999; } .swiper-pagination-bullet{ width: 20px; height: 20px; background: #fff; text-align: center; line-height: 20px; margin: 0 8px !important; } /* banner-end */ /* container */ .container{ width: 1100px; margin: 10px auto 70px; } .container .title{ margin: 90px auto 0; } .container .title img{ width: 100%; height: auto; } .container .title.img1{ width: 224px; height: 76px; } .container .title.img2{ width: 564px; height: 98px; } .container h2{ width: 250px; height: 40px; padding: 0 15px; box-sizing: border-box; line-height: 40px; font-size: 18px; font-weight: bold; color: #fff; background: #ff5527; margin: 40px 0; } .container p{ font-size: 18px; color: #333; line-height: 28px; } .container p.img{ margin-top: 180px; margin-bottom: 140px; } .container p.img img{ margin: 0 60px; } .container ul{ width: 500px; padding-left: 0; margin: 60px auto 0; } .container ul li{ padding-left: 40px; margin-bottom: 30px; line-height: 24px; font-size: 16px; color: #333; position: relative; } .container ul li span{ display: block; text-align: center; width: 26px; height: 26px; border-radius: 50%; background: #ff5527; line-height: 26px; font-size: 16px; color: #fff; position: absolute; left: 0; top: 0; } .container .imgSwiper{ margin: 30px; } .container .imgSwiper img{ width: 100%; border-radius: 30px; } .container .qrcode{ margin-top: 60px; text-align: center; } .container .qrcode h2{ font-size: 18px; } .container .qrcode .info{ width: 171px; height: 171px; background: url("../images/df.png") no-repeat; background-size: 100% 100%; margin: 30px auto 20px; } .container .qrcode .info img{ width: 144px; height: 144px; margin: 13px auto 0; } .container .qrcode b{ font-size: 20px; color: #000; font-weight: bold; } .container .qrcode p{ font-size: 14px; color: #ff5527; } .container .address{ width: 800px; margin: 20px auto 0; display: flex; display: -webkit-flex; } .container .address .left{ flex: 1; -webkit-flex: 1; text-align: right; font-size: 18px; line-height: 28px; } .container .address .right{ flex: 2; -webkit-flex: 2; } /* container end */ /* footer */ footer{ width: 100%; background: #f4f4f4; padding-top: 30px; padding-bottom: 30px; } footer .title{ text-align: center; font-size: 28px; font-weight: bold; } footer .checkbox{ width: 385px; margin: 50px auto 0; } footer .checkbox .info{ display: inline-block; margin: 0 10px; } footer .checkbox label{ font-size: 16px; cursor: pointer; } footer ul{ width: 385px; margin: 25px auto 0; padding-left: 0; } footer ul li{ margin-bottom: 20px; } footer ul li input{ width: 383px; height: 50px; border: 1px solid #c1c1c1; background: #fff; border-radius: 50px; padding: 0 20px; box-sizing: border-box; line-height: 50px; font-size: 18px; } footer ul li a{ margin: 0 auto; display: block; width: 250px; height: 50px; font-size: 18px; color: #fff; background: #ff5527; text-align: center; line-height: 50px; border-radius: 50px; text-decoration: none; } /* footer end */ /* 适应移动端 */ @media only screen and (max-width: 767px){ @media only screen and (min-width: 320px){ html { font-size: 7px!important; } } @media only screen and (min-width: 360px){ html { font-size: 8px!important; } } @media only screen and (min-width: 375px){ html { font-size: 9px!important; } } @media only screen and (min-width: 414px){ html { font-size: 10px!important; } } @media only screen and (min-width: 480px){ html { font-size: 12px!important; } } @media only screen and (min-width: 640px){ html { font-size: 14px!important; } } .banner{ width: 100%; margin-bottom: 1rem; } .banner .swiper-slide img{ width: 100%; height: auto; } .banner .swiper-button-next,.banner .swiper-button-prev{ width: 10%; height: 16%; background-size: 100% 100%; margin-top: -3%; } .banner .top_logo{ width: 8.5rem; height: 7.356rem; left: 1rem; margin-left: 0; } .banner .top_logo img{ width: 100%; height: 100%; } .banner .swiper-pagination{ text-align: right; } .banner .swiper-pagination span{ width: 0.8rem; height: 0.8rem; margin: 0 0.3rem !important; } .container{ width: 100%; margin: 0.5rem 0 3.8rem 0; padding: 0 2rem; box-sizing: border-box; } .container .title{ margin-top: 2rem; } .container .title.img1{ width: 14rem; height: auto; } .container .title.img1 img{ width: 100%; height: auto; } .container h2{ display: inline-block; width: auto; height: 3rem; line-height: 3rem; font-size: 1.5rem; padding: 0 0.8rem; margin: 2.5rem 0 1rem 0; } .container p{ font-size: 1.5rem; line-height: 2.5rem; } .container p.img{ margin-top: 2rem; margin-bottom: 2rem; text-align: center; } .container p.img img{ margin: 0 0 4rem 0; width: 80%; } .container .title.img2{ width: 90%; height: auto; } .container .title.img2 img{ width: 100%; height: auto; } .container ul{ width: 100%; margin-top: 3rem; } .container ul li{ font-size: 1.5rem; line-height: 2.5rem; padding-left: 2.5rem; margin-bottom: 2rem; } .container ul li span{ width: 1.8rem; height: 1.8rem; line-height: 1.8rem; font-size: 1.5rem; } .container .imgSwiper{ margin: 2rem 0; } .container .imgSwiper img{ border-radius: 1.5rem; } .container .qrcode{ margin-top: 2rem; } .container .qrcode h3{ font-size: 2rem; } .container .qrcode .info{ width: 13.61rem; height: 13.61rem; margin: 1.5rem auto 1rem; } .container .qrcode .info img{ width: 11.38rem; height: 11.38rem; margin-top: 1.1rem; } .container .qrcode b{ font-size: 2rem; } .container .qrcode p{ font-size: 1.5rem; } .container .address{ width: 100%; margin-top: 1.2rem; } .container .address .right{ flex: 3; -webkit-flex: 3; } .container .address .left{ font-size: 1.5rem; line-height: 2rem; } footer{ padding: 2rem 0; } footer .title{ font-size: 3rem; } footer .checkbox{ width: 100%; margin-top: 2rem; text-align: center; } footer .checkbox .info{ margin: 0 0.5rem; } footer .checkbox label{ font-size: 1.8rem; } footer ul{ width: 100%; margin-top: 2rem; } footer ul li{ margin-bottom: 2rem; } footer ul li input{ width: 85%; margin: 0 auto; display: block; height: 4rem; line-height: 4rem; font-size: 2rem; padding: 0 1.5rem; } footer ul li a{ width: 60%; height: 4rem; line-height: 4rem; font-size: 2rem; margin-top: 3rem; } }