outlet.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0" />
  6. <meta name="apple-mobile-web-app-capable" content="yes" />
  7. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  8. <title>门店列表</title>
  9. <style>
  10. #head{
  11. width:100%;
  12. padding:0.6rem 0.4rem;
  13. position:relative;
  14. }
  15. #head input{
  16. width: 100%;
  17. padding: 0.34rem 0 0.3rem 2.5rem;
  18. border: none;
  19. }
  20. #head input::-webkit-input-placeholder{
  21. color:#848484;
  22. }
  23. #head img{
  24. width: 0.8rem;
  25. height: 0.8rem;
  26. position: absolute;
  27. top: 1.1rem;
  28. left: 1rem;
  29. }
  30. #head span{
  31. display: inline-block;
  32. width: 0.08rem;
  33. height: 0.75rem;
  34. /*background: gray;*/
  35. background-color: #cbcbcb;
  36. position: absolute;
  37. top: 1.1rem;
  38. left: 2.3rem;
  39. }
  40. #box{
  41. background: #fff;
  42. padding: 0.6rem 0;
  43. }
  44. #box h3{
  45. /*font-size: 1rem;*/
  46. font-size: 1.2rem;
  47. color: #313131;
  48. margin-left: 1.2rem;
  49. /**/
  50. font-weight: 400;
  51. }
  52. #box .mot{
  53. margin-top:0.4rem;
  54. overflow: hidden;
  55. position:relative;
  56. }
  57. #box .mot b{
  58. display: inline-block;
  59. width: 0.01rem;
  60. height: 2rem;
  61. background-color:#e4e4e4;
  62. position: absolute;
  63. top: 0.5rem;
  64. left: 20.8rem;
  65. font-weight: 400;
  66. }
  67. #box .mot .wrea{
  68. float:left;
  69. }
  70. #box .mot .wrea p{
  71. font-size: 0.9rem;
  72. position: relative;
  73. padding: 0 2rem;
  74. margin-bottom: 0.2rem;
  75. color:#848484;
  76. }
  77. #box .mot .wrea .map{
  78. display: inline-block;
  79. background: url(/static/images/timg10.png) no-repeat;
  80. background-size: 100% 100%;
  81. width: 0.9rem;
  82. height: 0.9rem;
  83. position: absolute;
  84. top: 0.2rem;
  85. left: 1rem;
  86. }
  87. #box .mot .wrea .time{
  88. display: inline-block;
  89. background: url(/static/images/timg11.png) no-repeat;
  90. background-size: 100% 100%;
  91. width: 1.1rem;
  92. height: 1.1rem;
  93. position: absolute;
  94. top: 0.17rem;
  95. left: 0.85rem;
  96. }
  97. #box .mot .wreb{
  98. float: right;
  99. position: relative;
  100. padding: 0 1.6rem;
  101. }
  102. #box .mot .wreb img{
  103. width: 1.4rem;
  104. height: 1.4rem;
  105. }
  106. #box .mot .wreb span{
  107. font-size: 0.9rem;
  108. position: absolute;
  109. top: 1.6rem;
  110. right: 1.1rem;
  111. color:#848484;
  112. }
  113. </style>
  114. <script src="http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js"></script>
  115. <script src="/static/js/common.js"></script>
  116. <link href="/static/css/style.css" type="text/css" rel="stylesheet">
  117. </head>
  118. <body style="background:#f5f5f5">
  119. {if empty($Think.cookie.lng)}
  120. {include file='Index/common'}
  121. {/if}
  122. <!--<div id="head">-->
  123. <!--<input type="text" placeholder="输入门店名">-->
  124. <!--<img src="/static/images/timg9.png" alt="" />-->
  125. <!--<span></span>-->
  126. <!--</div>-->
  127. {if !empty($allStore)}
  128. {foreach $allStore as $key=>$store}
  129. <div id="box" {if $key>0}style="margin-top: 0.6rem"{/if}>
  130. <h3>{$store.store_name}</h3>
  131. <div class="mot">
  132. <div class="wrea">
  133. <p>
  134. <span class="map"></span>
  135. {$store.address}
  136. </p>
  137. <p>
  138. <span class="time"></span>
  139. 营业时间 {$store.start_time_business}-{$store.end_time_business}
  140. </p>
  141. </div>
  142. <b></b>
  143. <div class="wreb">
  144. <a href="{:url('/index/index/map')}?store_id={$store.store_id}">
  145. <img src="/static/images/timg12.png" alt="" />
  146. <span>{$store.distance}</span>
  147. </a>
  148. </div>
  149. </div>
  150. </div>
  151. {/foreach}
  152. {/if}
  153. </body>
  154. <script>
  155. $(function(){
  156. })
  157. </script>
  158. </html>