Commit 42402a6eeaa7ccdf2122e499a9951103aaab06ab

Authored by dlstatic
1 parent 9cb7b5d3

Add bottom fixed css.

css/common.css
... ... @@ -1354,3 +1354,10 @@ Pagination Styles
1354 1354 font-size: 18px;
1355 1355 }
1356 1356 }
  1357 +.bottom-fixed {
  1358 + position: fixed;
  1359 + bottom: 0;
  1360 + left: 0;
  1361 + width: 100%;
  1362 + z-index: 999;
  1363 +}
... ...
css/common.less
... ... @@ -215,3 +215,11 @@
215 215 font-size: 18px;
216 216 }
217 217 }
  218 +
  219 +.bottom-fixed {
  220 + position: fixed;
  221 + bottom: 0;
  222 + left: 0;
  223 + width: 100%;
  224 + z-index: 999;
  225 +}
... ...
html/index.html
... ... @@ -499,6 +499,18 @@
499 499 </li>
500 500 </ul>
501 501  
  502 + <div class="scroll-wrap background-white bottom-fixed">
  503 + <ul class="m-tab border-1px border-bottom">
  504 + <li class="on"><a href="#">今日必抢1</a></li>
  505 + <li><a href="#">12名古屋</a></li>
  506 + <li><a href="#">1我是吃货</a></li>
  507 + <li><a href="#">1我是吃货</a></li>
  508 + <li><a href="#">1我是吃货</a></li>
  509 + <li><a href="#">1我是吃货</a></li>
  510 + <li><a href="#">1我是吃货</a></li>
  511 + </ul>
  512 + </div>
  513 +
502 514 <script src="../js/swipe.min.js"></script>
503 515 <script>
504 516 var swiper = new Swiper('.swiper-container', { /*轮播图*/
... ...