indexv2.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>昆仑医疗</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
  7. <link href="/h5/style/style.css" rel="stylesheet" />
  8. <script src="/h5/js/jquery-2.1.1.min.js"></script>
  9. <script src="/h5/js/nav.js"></script>
  10. </head>
  11. <body>
  12. <!--顶部-->
  13. <div class="index-top">
  14. <button class="l left"></button>
  15. <div class="txt">
  16. <form id="searchForm" action="/h5/index" method="post">
  17. <input id="search" name="search" type="search" placeholder="搜索商品" />
  18. </form>
  19. </div>
  20. </div>
  21. <div class="bgDiv"></div>
  22. <div class="leftNav">
  23. <h3>商品分类</h3>
  24. <a href="/h5/index">全部</a>
  25. <a th:each="label : ${labels}" th:attr="href='/h5/index?label=' + ${label.id}" th:text="${label.name}"></a>
  26. </div>
  27. <!--轮播-->
  28. <style>
  29. .relative { position: relative; left: 0; top: 0;}
  30. .scroll { margin: 46px auto 0; max-width: 750px; height:180px; }
  31. .scroll_box { overflow: hidden; visibility: hidden; position: relative; }
  32. .scroll_wrap { overflow: hidden; position: relative; }
  33. .scroll_wrap li { position: relative; display: block; width: 100%; float: left; }
  34. .scroll_wrap li a { display: block; margin: 0 auto; position: relative; }
  35. .scroll_position { position: absolute; left: 45%; z-index: 400px; bottom: 10px; }
  36. .scroll_position li { display: inline-block; width: 5px; height: 5px; border-radius: 5px; margin-left: 3px; background: url(/h5/style/white_50_1x1.png); }
  37. .scroll_position li a { font-size: 0; }
  38. .scroll_position li.on { background-color: #FFF; }
  39. </style>
  40. <article>
  41. <!--scroll-->
  42. <div class="scroll relative">
  43. <div class="scroll_box" id="scroll_img">
  44. <ul class="scroll_wrap">
  45. <li>
  46. <a href="#"><img src="/h5/images/1.jpg" width="100%" /></a>
  47. </li>
  48. <li>
  49. <a href="#"><img src="/h5/images/2.jpg" width="100%" /></a>
  50. </li>
  51. <li>
  52. <a href="#"><img src="/h5/images/3.jpg" width="100%" /></a>
  53. </li>
  54. </ul>
  55. </div>
  56. <div class="scroll_bottom_bg"></div>
  57. <span class="scroll_position_bg opacity6"></span>
  58. <ul class="scroll_position" id='scroll_position'>
  59. <li class="on"><a href="javascript:void(0);">1</a></li>
  60. <li><a href="javascript:void(0);">2</a></li>
  61. <li><a href="javascript:void(0);">3</a></li>
  62. </ul>
  63. </div>
  64. <!--scroll-->
  65. </article>
  66. <script src="js/jquery-2.1.1.min.js"></script>
  67. <script src='js/hhSwipe.js'></script>
  68. <script>
  69. var slider = Swipe(document.getElementById('scroll_img'), {
  70. auto: 3000,
  71. continuous: true,
  72. callback: function(pos) {
  73. var i = bullets.length;
  74. while (i--) {
  75. bullets[i].className = ' ';
  76. }
  77. bullets[pos].className = 'on';
  78. }
  79. });
  80. var bullets = document.getElementById('scroll_position').getElementsByTagName('li');
  81. $(function() {
  82. $('.scroll_position_bg').css({
  83. width: $('#scroll_position').width()
  84. });
  85. });
  86. </script>
  87. <!--公告-->
  88. <a href="#" class="notice">新春放假通知</a>
  89. <div class="line-1-EEE ml10 mr10"></div>
  90. <!--入口-->
  91. <ul class="nav ml10 mr10">
  92. <li><a href="/h5/index"><img src="style/index-tj-icon.png" /><p>体检套餐</p></a></li>
  93. <li><a href="/h5/index"><img src="style/index-yx-icon.png" /><p>影像检查</p></a></li>
  94. <li><a href="/h5/buy/completedorders"><img src="style/index-bg-icon.png" /><p>报告查询</p></a></li>
  95. <li><a href="/h5/buy/mypayedorders"><img src="style/index-yy-icon.png" /><p>我的预约</p></a></li>
  96. </ul>
  97. <div class="line-10-EEE"></div>
  98. <!--热销-->
  99. <div class="v-list">
  100. <div class="t">热销体检套餐</div>
  101. <a th:each="bean : ${beans}" th:attr="href='/h5/detail/' + ${bean.gid}">
  102. <div class="img l mr10"><img th:attr="src=${bean.icon}"/></div>
  103. <dl>
  104. <dt th:text="${bean.name}"></dt>
  105. <dd th:text="${bean.describe}"></dd>
  106. <span class="price-new l">
  107. <em>¥</em>
  108. <span th:text="${bean.price.discountPrice}"></span>
  109. </span>
  110. </dl>
  111. </a>
  112. </div>
  113. <!--底部-->
  114. <div style="height:60px; "></div>
  115. <table class="n-tab">
  116. <tr>
  117. <td><a href="/h5/index" class="n-1-c">首页</a></td>
  118. <td><a href="/h5/buy/completedorders" class="n-2">报告</a></td>
  119. <td><a href="#" class="n-3">我的</a></td>
  120. </tr>
  121. </table>
  122. </body>
  123. </html>