Commit 1e4688d1726532773c429e2caaba250337b24e70
1 parent
6b4e9c6b
首页自适应
Showing
3 changed files
with
34 additions
and
7 deletions
index.html
... | ... | @@ -129,10 +129,10 @@ |
129 | 129 | <div class="col-md-6 col-sm-12 col-xs-12 wow fadeInLeft " data-wow-duration="0.8s" data-wow-delay="0.9s"> |
130 | 130 | <div class="features-container-text"> |
131 | 131 | <ul class="features-container"> |
132 | - <li>高清智能芯片、车辆进出场车牌识别快、准、清。</li> | |
133 | - <li>地磁、视频桩、PDA多级设备联动,路侧车辆入场实时通知。</li> | |
134 | - <li>多级诱导系统 ,车位、路况信息精准、高清展示、为车主快速 ‘指路’。</li> | |
135 | - <li>低照度、高防护、成像高清、违章抓拍系统让 违章停车 无所遁形</li> | |
132 | + <li><span></span>高清智能芯片、车辆进出场车牌识别快、准、清。</li> | |
133 | + <li><span></span>地磁、视频桩、PDA多级设备联动,路侧车辆入场实时通知。</li> | |
134 | + <li><span></span>多级诱导系统 ,车位、路况信息精准、高清展示、为车主快速 ‘指路’。</li> | |
135 | + <li><span></span>低照度、高防护、成像高清、违章抓拍系统让 违章停车 无所遁形</li> | |
136 | 136 | </ul> |
137 | 137 | </div> |
138 | 138 | |
... | ... | @@ -219,6 +219,6 @@ |
219 | 219 | <script type="text/javascript" src="js/swiper.js"></script> |
220 | 220 | <script type="text/javascript" src="js/gmaps.min.js"></script> |
221 | 221 | <script type="text/javascript" src="js/nav-footer.js?a=2"></script> |
222 | -<script type="text/javascript" src="js/main.js?a=2"></script> | |
222 | +<script type="text/javascript" src="js/main.js?a=3"></script> | |
223 | 223 | </body> |
224 | 224 | </html> | ... | ... |
js/nav-footer.js
... | ... | @@ -8,7 +8,7 @@ var headerHtmls='<div class="header-inner">' + |
8 | 8 | '<a href="index.html">' + |
9 | 9 | '<img src="images/logo.png" alt="logo.png" style="margin-right: 16px;">' + |
10 | 10 | '<img src="images/logoname.png" alt="logoname.png" style="margin-right: 26px;">' + |
11 | - '<img src="images/logotitle.png" alt="logotitle.png">' + | |
11 | + '<img src="images/logotitle.png" alt="logotitle.png" class="logotitle">' + | |
12 | 12 | '</a>' + |
13 | 13 | '</div>' + |
14 | 14 | '</div>' + | ... | ... |
style.css
... | ... | @@ -784,9 +784,16 @@ a:hover{ |
784 | 784 | padding-left: 20px; |
785 | 785 | margin-bottom: 10px; |
786 | 786 | font-size: 16px; |
787 | + text-align: center; | |
788 | +} | |
789 | +.features-container li span{ | |
787 | 790 | position: relative; |
791 | + width: 10px; | |
792 | + height: 10px; | |
793 | + display: inline-block; | |
788 | 794 | } |
789 | -.features-container li:before{ | |
795 | + | |
796 | +.features-container li span:before{ | |
790 | 797 | content: ''; |
791 | 798 | width:6px; |
792 | 799 | height:6px; |
... | ... | @@ -2552,3 +2559,23 @@ a:hover{ |
2552 | 2559 | left: 0px; |
2553 | 2560 | } |
2554 | 2561 | |
2562 | + | |
2563 | + | |
2564 | +/*适应规则*/ | |
2565 | +@media screen and (max-width: 992px){ | |
2566 | + /*logotitle消失*/ | |
2567 | + .logotitle{ | |
2568 | + display: none; | |
2569 | + } | |
2570 | + .swiper-slide-large,.swiper-slide-middle{ | |
2571 | + text-align: center; | |
2572 | + } | |
2573 | + .swiper-slide-more{ | |
2574 | + margin: 0 auto; | |
2575 | + } | |
2576 | + #features .feature-left img{ | |
2577 | + width: 80%; | |
2578 | + margin: 0 auto; | |
2579 | + } | |
2580 | +} | |
2581 | + | ... | ... |