.content{ padding-top: 80px; padding-bottom: 97px; .topContentBox{ position: relative; margin-bottom: 40px; margin-top: 40px; .pic{ width: 100%; } .infoBox{ position: absolute; width: 480px; height: 100%; left: 0; top: 0; padding-left: 60px; display: flex; align-items: center; .text{ font-size: 20px; line-height: 40px; color: #333436; font-weight: bold; } } .button{ position: absolute; left: 60px; bottom: 50px; } } .contentBox{ position: relative; background: #F1F3F5; padding: 80px; margin-bottom: 20px; .num{ position: absolute; left: 30px; top: 30px; font-size: 80px; line-height: 72px; color: #E8ECF0; font-weight: bold; } .title{ position: relative; font-size: 27px; line-height: 37px; color: #222326; font-weight: bold; } .text{ position: relative; font-size: 15px; line-height: 32px; color: #333436; font-weight: 300; margin-top: 20px; } .button{ margin-top: 20px; } } } .content2{ background: #F1F3F5; padding-top: 110px; padding-bottom: 70px; .newsList{ margin-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; } } // 中等屏幕 @media (max-width: 1199px) { } @media (max-width: 767px) { #banner{ .titleBox{ padding: 0 60px; .title{ text-align: center; font-size: 32px; line-height: 42px; } } } .content{ padding-top: 40px; padding-bottom: 35px; .topContentBox{ margin-top: 30px; margin-bottom: 30px; &:last-child{ margin-bottom: 0; } .infoBox{ position: relative; width: 100%; padding: 0; left: auto; top: auto; .text{ font-size: 15px; line-height: 30px; margin-top: 15px; } } .button{ position: relative; bottom: auto; left: auto; margin-top: 15px; margin-bottom: 15px; } } .contentBox{ padding: 55px 20px; padding-top: 60px; padding-bottom: 40px; margin-bottom: 20px; .num{ font-size: 68px; line-height: 72px; left: 10px; top: 10px; } .title{ font-size: 24px; line-height: 30px; } .text{ margin-top: 10px; font-size: 14px; line-height: 32px; } .button{ margin-top: 10px; } } } .content2{ padding-top: 50px; padding-bottom: 25px; .newsList{ margin-top: 20px; } .button.visible-xs{ display: flex !important; } } }