mention_store_list.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <template>
  2. <view class="pageBg">
  3. <map :longitude="longitude" :latitude="latitude" :markers="markers" zIndex="1" class="map_style"></map>
  4. <view class="address_line">
  5. <image src="http://139.9.103.171:1888/img/image/address_line.png"></image>
  6. </view>
  7. <view class="mention_store_list">
  8. <view class="mention_store_item">
  9. <view class="info_list">
  10. <view class="item">
  11. <text class="store_text"></text>
  12. <text class="store_name">广州店<text class="store_distance">距离40.5km</text></text>
  13. </view>
  14. <view class="item">
  15. <text class="contact_phone_text">联系电话:</text>
  16. <text class="contact_phone">123333333<text class="contact">(有货)拨打电话</text></text>
  17. </view>
  18. <view class="item">
  19. <text class="address_text">具体地址:</text>
  20. <text class="address">广东省广州市天河区车陂660号</text>
  21. </view>
  22. <view class="item">
  23. <text class="open_time_text">营业时间:</text>
  24. <text class="opten_time">08:00-22:00</text>
  25. </view>
  26. </view>
  27. <image class="operation_icon" src="http://139.9.103.171:1888/img/image/no_selected_icon.png"></image>
  28. </view>
  29. <view class="mention_store_item">
  30. <view class="info_list">
  31. <view class="item">
  32. <text class="store_text"></text>
  33. <text class="store_name">广州店<text class="store_distance">距离40.5km</text></text>
  34. </view>
  35. <view class="item">
  36. <text class="contact_phone_text">联系电话:</text>
  37. <text class="contact_phone">123333333<text class="contact">(有货)拨打电话</text></text>
  38. </view>
  39. <view class="item">
  40. <text class="address_text">具体地址:</text>
  41. <text class="address">广东省广州市天河区车陂660号</text>
  42. </view>
  43. <view class="item">
  44. <text class="open_time_text">营业时间:</text>
  45. <text class="opten_time">08:00-22:00</text>
  46. </view>
  47. </view>
  48. <image class="operation_icon" src="http://139.9.103.171:1888/img/image/no_selected_icon.png"></image>
  49. </view>
  50. <view class="mention_store_item">
  51. <view class="info_list">
  52. <view class="item">
  53. <text class="store_text"></text>
  54. <text class="store_name">广州店<text class="store_distance">距离40.5km</text></text>
  55. </view>
  56. <view class="item">
  57. <text class="contact_phone_text">联系电话:</text>
  58. <text class="contact_phone">123333333<text class="contact">(有货)拨打电话</text></text>
  59. </view>
  60. <view class="item">
  61. <text class="address_text">具体地址:</text>
  62. <text class="address">广东省广州市天河区车陂660号</text>
  63. </view>
  64. <view class="item">
  65. <text class="open_time_text">营业时间:</text>
  66. <text class="opten_time">08:00-22:00</text>
  67. </view>
  68. </view>
  69. <image class="operation_icon" src="http://139.9.103.171:1888/img/image/no_selected_icon.png"></image>
  70. </view>
  71. <view class="mention_store_item">
  72. <view class="info_list">
  73. <view class="item">
  74. <text class="store_text"></text>
  75. <text class="store_name">广州店<text class="store_distance">距离40.5km</text></text>
  76. </view>
  77. <view class="item">
  78. <text class="contact_phone_text">联系电话:</text>
  79. <text class="contact_phone">123333333<text class="contact">(有货)拨打电话</text></text>
  80. </view>
  81. <view class="item">
  82. <text class="address_text">具体地址:</text>
  83. <text class="address">广东省广州市天河区车陂660号</text>
  84. </view>
  85. <view class="item">
  86. <text class="open_time_text">营业时间:</text>
  87. <text class="opten_time">08:00-22:00</text>
  88. </view>
  89. </view>
  90. <image class="operation_icon" src="http://139.9.103.171:1888/img/image/no_selected_icon.png"></image>
  91. </view>
  92. </view>
  93. <view class="bottom_height"></view>
  94. <view class="bottom_btn">
  95. <button class="btn">确定</button>
  96. </view>
  97. </view>
  98. </template>
  99. <script>
  100. import DtGoodsList from '../comps/dt_goods_list'
  101. import DtNoData from '../comps/dt_no_data'
  102. import DtNoMore from '../comps/dt_no_more'
  103. export default {
  104. components: {
  105. DtGoodsList,
  106. DtNoData,
  107. DtNoMore
  108. },
  109. data() {
  110. return {
  111. methodsIndex: 1,
  112. hasAddress: false,
  113. mentionMember: '',
  114. mentionMobilephone: '',
  115. msgValue: '',
  116. latitude: 23.12631, //纬度
  117. longitude: 113.385, //经度
  118. markers: [
  119. {
  120. latitude: 23.12631, //纬度
  121. longitude: 113.385, //经度
  122. iconPath: "http://139.9.103.171:1888/img/image/map_remark_icon.png",
  123. height: uni.upx2px(52) + "px",
  124. width: uni.upx2px(38) + "px"
  125. }
  126. ],
  127. }
  128. },
  129. computed: {
  130. },
  131. methods: {
  132. onPageLoad(options) {
  133. },
  134. },
  135. }
  136. </script>
  137. <style lang="scss" scoped>
  138. .map_style {
  139. width: 100%;
  140. height: 400upx;
  141. }
  142. .address_line {
  143. width: 100%;
  144. height: 8upx;
  145. display: flex;
  146. flex-direction: row;
  147. image {
  148. height: 8upx;
  149. width: 100%;
  150. }
  151. }
  152. .mention_store_item {
  153. display: flex;
  154. flex-direction: row;
  155. align-items: center;
  156. background: #fff;
  157. padding: 30upx;
  158. border-top:1upx solid #e5e5e5;
  159. .info_list {
  160. flex: 1;
  161. display: flex;
  162. flex-direction: column;
  163. .item {
  164. display: flex;
  165. flex-direction: row;
  166. font-size: 26upx;
  167. color: #666666;
  168. margin-bottom: 10upx;
  169. text:last-child {
  170. flex: 1;
  171. }
  172. .store_name,
  173. .contact_phone {
  174. display: flex;
  175. flex-direction: row;
  176. }
  177. .store_distance,
  178. .contact {
  179. text-decoration: underline;
  180. color: $dt-color-primary;
  181. font-size: 18upx;
  182. margin-left: 10upx;
  183. letter-spacing: 1upx;
  184. padding: 10upx;
  185. }
  186. }
  187. .item:first-child {
  188. font-size: 28upx;
  189. color: #333;
  190. }
  191. .item:last-child {
  192. margin-bottom: 0;
  193. }
  194. }
  195. .operation_icon {
  196. width: 40upx;
  197. height: 40upx;
  198. padding: 20upx 20upx 20upx 30upx;
  199. }
  200. }
  201. .mention_store_item:first-child {
  202. border-top: none;
  203. }
  204. .bottom_height {
  205. height: 130upx;
  206. }
  207. .bottom_btn {
  208. position: fixed;
  209. width: 100%;
  210. height: 110upx;
  211. left: 0;
  212. bottom: 0;
  213. background: #fff;
  214. display: flex;
  215. flex-direction: row;
  216. align-items: center;
  217. .btn {
  218. background: $dt-color-primary;
  219. border-radius: 10upx;
  220. margin: 0 30upx;
  221. width: 100%;
  222. font-size: 30upx;
  223. color: #fff;
  224. }
  225. }
  226. </style>