.container{ overflow: hidden; } #Home{ padding-top: 80px; #banner{ .titleBox{ justify-content: start; .title{ font-size: 60px; line-height: 76px; text-align: left; margin-left: 136px; margin-top: -100px; } .button{ margin-left: 144px; margin-top: 20px; .txt{ color: #fff; } } } .banner1{ .titleBox{ justify-content: center; .title{ text-align: center; margin-left: 0; } } } } #content1{ padding-top: 100px; padding-bottom: 100px; .container{ display: flex; align-items: center; justify-content: space-between; } .pic{ display: block; width: 540px; } .textInfo{ margin-left: 60px; .title{ font-size: 28px; line-height: 40px; color: #333436; font-weight: bold; margin-bottom: 15px; } .text{ font-size: 16px; color: #333436; font-weight: 300; line-height: 40px; } .button{ margin-top: 55px; } } } #content2{ position: relative; padding-top: 80px; padding-bottom: 100px; background: hsl(210, 17%, 95%); .newsSwiper{ position: relative; .pagination{ margin-bottom: 0; text-align: center; .swiper-pagination-bullet{ background: #fff; opacity: 1; border-radius: 3px; width: 10px; height: 10px; } .swiper-pagination-bullet-active{ background: #E60012; } } } .swiperBtn{ position: absolute; width: 100%; height: 0; top: 50%; margin-top: 50px; z-index: 1; .left{ position: absolute; left: 40px; top: -60px; width: 60px; } .right{ position: absolute; right: 40px; top: -60px; width: 60px; } } .newsList{ margin-top: 40px; height: auto; .newsBox{ width: auto; } } .button{ // margin: auto; margin-top: 10px; } } #content3{ position: relative; padding-top: 80px; padding-bottom: 100px; .container{ position: relative; overflow: initial; } .fanganSwiper{ margin-top: 40px; } .pagination{ display: inherit; margin-bottom: 0; text-align: center; .swiper-pagination-bullet{ background: #D1D3D5; opacity: 1; border-radius: 3px; width: 10px; height: 10px; margin: 0px 4px; } .swiper-pagination-bullet-active{ background: #E60012; } } .swiper-slide{ opacity: 0.5; transform: scale(0.9); } .swiper-slide-active{ opacity: 1; z-index: 1; transform: scale(1); } .swiperBtn{ position: absolute; width: 100%; height: 0; top: 50%; z-index: 1; .left{ position: absolute; left: 40px; top: 20px; width: 60px; } .right{ position: absolute; right: 40px; top: 20px; width: 60px; } } .itemBox{ overflow: hidden; position: relative; // display: flex; background: #F6F8FA; .textInfo{ position: absolute; width: 465px; height: 100%; left: 60px; top: 60px; .title{ font-size: 30px; color: #333436; line-height: 40px; font-weight: bold; } .text{ font-size: 15px; line-height: 32px; color: #515356; font-weight: 300; margin-top: 20px; } } .button{ position: absolute; left: 60px; bottom: 50px; } .picInfo{ position: relative; width: 100%; float: right; .pic{ width: 100%; display: block; } } } .infoList{ display: flex; justify-content: center; flex-wrap: wrap; margin-top: 50px; margin-left: -30px; margin-right: -30px; .item{ display: block; cursor: pointer; width: 270px; height: 270px; box-shadow: 0 4px 32px rgba(0, 0, 0, 0.05); text-align: center; padding-top: 51px; margin-bottom: 30px; margin-left: 15px; margin-right: 15px; .icon{ width: 88px; height: 88px; } .title{ font-size: 20px; font-weight: bolder; color: #515356; margin-top: 10px; } .bar{ width: 48px; height: 5px; background: #EAECEE; border-radius: 3px; margin: auto; margin-top: 15px; } } } } #content4{ padding-top: 80px; padding-bottom: 98px; background: #F1F3F5; .infoBox{ display: flex; justify-content: space-between; margin-top: 47px; .textInfo{ .title{ font-size: 32px; color: #222326; font-weight: bold; margin-top: 18px; .en{ font-weight: 300; } } .labels{ display: flex; margin-top: 14px; .label{ position: relative; height: 33px; padding-left: 5px; padding-right: 5px; margin-right: 30px; .txt{ font-size: 20px; color: #F85F5F; font-weight: bold; } .bar{ position: absolute; width: 90px; height: 15px; background: #E60012; border-radius: 8px; opacity: 0.1; bottom: 0px; left: 0; } } } .texts{ margin-top: 29px; .text{ position: relative; font-size: 18px; color: #505558; line-height: 40px; padding-left: 25px; .dian{ position: absolute; width: 10px; height: 10px; left: 0; top: 16px; background: #E60012; } } } .qrcodeBox{ margin-top: 52px; .qrcode{ width: 150px; height: 150px; } .text{ font-size: 15px; color: #505558; line-height: 40px; margin-top: 10px; } } } .pic{ width: 770px; height: 588px; } } .contentInfo{ margin-top: 30px; .infoList{ border-bottom: 1px solid rgba(0, 0, 0, 0.08); .listTitleBox{ position: relative; display: flex; align-items: center; justify-content: space-between; height: 60px; .title{ font-size: 18px; line-height: 24px; color: #333436; font-weight: bold; } .icon{ width: 20px; height: 20px; } .off{ display: none; } } .listBox{ display: flex; justify-content: space-between; flex-wrap: wrap; height: 0; overflow: hidden; .listItem{ position: relative; display: flex; align-items: center; justify-content: space-between; width: 49%; background: rgba(138, 141, 146, 0.06); padding: 13px 15px; margin-bottom: 8px; text-decoration: none; .txt{ font-size: 14px; line-height: 22px; color: #333436; font-weight: 300; padding-right: 20px; text-decoration: none; } .arrow{ width: 14px; height: 14px; opacity: 0.5; } } } &.active{ border-bottom: 0; .on{ display: none; } .off{ display: block; } .listBox{ height: auto; } } } } } } // 中等屏幕 @media (max-width: 1199px) { #Home{ #content1{ .container{ .pic{ width: 420px; } .textInfo{ .title{ margin-bottom: 0; } .text{ line-height: 30px; } .button{ margin-top: 20px; } } } } #content3{ .itemBox{ .textInfo{ left: 20px; top: 20px; } .button{ left: 20px; bottom: 20px; } } } #content4{ .container{ .infoBox{ .textInfo{ .title{ font-size: 26px; } .labels{ margin-top: 10px; } .texts{ margin-top: 20px; } .qrcodeBox{ margin-top: 15px; .qrcode{ width: 120px; height: 120px; } } } .pic{ width: 615px; height: 470px; } } } .contentInfo{ margin-top: 10px; .infoList{ .listTitleBox{ height: 48px; .title{ font-size: 15px; line-height: 20px; } } .listBox{ .listItem{ width: 100%; align-items: flex-start; padding: 12px 15px; .txt{ font-size: 13px; line-height: 20px; } .arrow{ margin-top: 3px; } } } } } } } } // 小屏幕 @media (max-width: 991px) { #Home{ #content1{ .container{ .pic{ width: 340px; } .textInfo{ .title{ margin-bottom: 0; font-size: 16px; .sml{ font-size: 12px; } } .text{ font-size: 13px; line-height: 25px; } .button{ margin-top: 10px; } } } } #content3{ .itemBox{ .textInfo{ .title{ font-size: 26px; line-height: 38px; } .text{ font-size: 14px; line-height: 28px; margin-top: 10px; } } .button{ left: 20px; bottom: 20px; } } } #content4{ .container{ .infoBox{ .textInfo{ .title{ font-size: 26px; } .labels{ margin-top: 10px; .label{ height: 20px; margin-right: 18px; .txt{ font-size: 12px; } .bar{ width: 60px; } } } .texts{ margin-top: 20px; .text{ font-size: 14px; line-height: 30px; .dian{ top: 10px; } } } .qrcodeBox{ margin-top: 15px; .qrcode{ width: 100px; height: 100px; } .text{ font-size: 12px; } } } .pic{ width: 523px; height: 400px; } } } } } } // 手机屏幕 @media (max-width: 767px) { #Home{ padding-top: 50px; #banner{ .titleBox{ justify-content: start; .title{ font-size: 24px; line-height: 32px; text-align: left; margin-left: 30px; margin-top: 0px; } .button{ margin-left: 34px; margin-top: 0; .txt{ font-size: 13px; } .arrow{ width: 15px; height: auto; margin-left: 6px; } } } } .button{ height: 40px; } #content1{ padding-top: 50px; padding-bottom: 50px; .container{ flex-wrap: wrap; .textInfo{ margin-left: 0; .title{ line-height: 32px; margin-top: 30px; margin-bottom: 10px; font-size: 20px; } .text{ font-size: 13px; line-height: 32px; } .button{ width: 100%; margin-top: 10px; } } .pic{ width: 100%; } } } #content2{ padding-top: 50px; padding-bottom: 50px; .newsList{ margin-top: 20px; } .titleBox{ .text{ margin-top: 9px; line-height: 33px; } } .button{ width: 100%; margin-top: 5px; } } #content3{ padding-top: 50px; padding-bottom: 50px; .pagination{ margin-bottom: 0; text-align: center; margin-top: 0px; .swiper-pagination-bullet{ width: 6px; height: 6px; } } .fanganSwiper{ margin-top: 20px; } .itemBox{ padding-bottom: 20px; .textInfo{ position: relative; width: 100%; padding: 20px; left: 0; top: 0; .title{ font-size: 22px; line-height: 29px; } .text{ margin-top: 12px; } } .button{ position: relative; margin-top: 40px; bottom: auto; left: auto; margin-left: 20px; } .picInfo{ position: relative; width: 100%; float: none; .pic{ width: 100%; display: block; } } } .infoList{ margin-top: 20px; justify-content: center; margin-left: -14px; margin-right: -14px; .item{ width: 168px; height: 168px; padding-top: 30px; margin-bottom: 14px; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); margin-right: 7px; margin-left: 7px; .icon{ width: 56px; height: 56px; } .title{ font-size: 15px; line-height: 21px; margin-top: 10px; } .bar{ margin-top: 15px; width: 40px; height: 4px; } } } } #content4{ padding-top: 50px; padding-bottom: 50px; .container{ .infoBox{ flex-wrap: wrap; margin-top: 40px; .textInfo{ width: 100%; text-align: center; margin-bottom: 30px; .title{ margin-top: 0; font-size: 22px; line-height: 29px; } .labels{ justify-content: center; .label{ height: 27px; margin-right: 20px; &:last-child{ margin-right: 0; } .txt{ font-size: 17px; line-height: 22px; } .bar{ width: 78px; height: 12px; } } } .texts{ max-width: 414px; margin: auto; margin-top: 20px; .text{ display: inline-block; font-size: 16px; line-height: 24px; margin-bottom: 20px; padding-right: 22px; .dian{ top: 7px; } } } .qrcodeBox{ margin-top: 10px; .qrcode{ width: 132px; height: 132px; } .text{ font-size: 13px; line-height: 24px; margin-top: 12px; } } } .pic{ width: 100%; height: auto; } } } } } }