storeDetails.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <template>
  2. <view class="container">
  3. <view class="store-img-view">
  4. </view>
  5. <view class="p-bg">
  6. <view class="store-info-view">
  7. <view class="store-name">门店名字</view>
  8. <view class="flex-row align-center" style="margin-bottom: 24rpx;">
  9. <view class="store-type">租车</view>
  10. <view class="store-type">租车</view>
  11. <view class="store-type">租车</view>
  12. <view class="store-num-type"> <text class="store-num">7</text> 款车型</view>
  13. <view class="store-phone"><img style="width: 84rpx;height: 64rpx;" src="https://qiniu.bms16.com/Ft0YA1JYmq66hdoeEN-PgBHy5vLa" alt=""></view>
  14. </view>
  15. <view class="flex-row flex-between">
  16. <view :class="isWorkTimer ? 'left_grid_2' : 'left_grid_1'">
  17. <view class="flex-row">
  18. <img style="width: 40rpx;height: 40rpx;"
  19. :src="!isWorkTimer ? 'https://zxappfile.bms16.com/zx_admin/cab_timer.png' : 'https://zxappfile.bms16.com/zx_admin/cab_timer_work.png'">
  20. <view :class="isWorkTimer ? 'grid_text_1' : 'grid_text_rest' ">{{isWorkTimer ? '营业中' : '已休息'}}
  21. </view>
  22. </view>
  23. <view class="grid_text_2">{{shopInfo.work_begin_time}}-{{shopInfo.work_end_time}}</view>
  24. </view>
  25. <view @tap="bindToNav" class="right_grid flex-between">
  26. <view>
  27. <view class="cab_distance">
  28. 直线距您{{distance}}
  29. </view>
  30. <view class="cab_address">{{shopInfo.address}}</view>
  31. </view>
  32. <view >
  33. <img class="icon_grid_1" src="https://zxappfile.bms16.com/zx_admin/cab_nav.png">
  34. <view class="grid_nav">导航</view>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="tip-view">
  40. <view class="tip-title-view flex-row align-center">
  41. <img style="width: 144rpx;height: 40rpx;" src="https://qiniu.bms16.com/FjUW1kuRvXWTEftyn9nH1AbGWuxK" alt="">
  42. <img style="width: 86rpx;height: 80rpx;" src="https://qiniu.bms16.com/FibAaPERzqi6m95EP2jREUKixjUi" alt="">
  43. <view class="w-bg flex-row"></view>
  44. </view>
  45. <view class="step-view flex-row align-center">
  46. <view class="icon-list-view"><img src="https://qiniu.bms16.com/Fp0BE27Q0VTD8qUJRHUVhWO6VEbO" alt=""></view>
  47. <view class="dashed-line"></view>
  48. <view class="icon-list-view"><img src="https://qiniu.bms16.com/FqDzYwAbnSEgf3yv9SAb92Vq4ZEB" alt=""></view>
  49. <view class="dashed-line"></view>
  50. <view class="icon-list-view"><img src="https://qiniu.bms16.com/FlFMHzco6j9XOpMI21tSnR9500Un" alt=""></view>
  51. </view>
  52. <view class="step-tip-view flex-row align-center">
  53. <view class="step-tip-text"><img class="step-num-1" src="https://qiniu.bms16.com/Fm4gMRmW6UOwLcU-eW8LDLNfiUJe" alt="">线上选择用车方案生成待支付订单</view>
  54. <view class="step-tip-text"><img class="step-num-2" src="https://qiniu.bms16.com/FvYN7SxOYIhXEqSAJZrQIBQuTx79" alt="">导航到店向商家支付订单金额</view>
  55. <view class="step-tip-text"><img class="step-num-3" src="https://qiniu.bms16.com/FhZ7w0X8iVuxFPdetEF9C3YYkJ7Z" alt="">支付完成后直接现场取车</view>
  56. </view>
  57. </view>
  58. <view class="unit-type-view">
  59. <view class="unit-type ">日租</view>
  60. <view class="unit-type unit-type-i">日租</view>
  61. <view class="unit-type ">日租</view>
  62. <view class="unit-type ">日租</view>
  63. </view>
  64. <view class="car-info-list-view">
  65. <view class="car-info-view align-center flex-row">
  66. <img class="car-img" src="https://qiniu.bms16.com/FsxOysJT2V3KNYev2YWadvjyKn2j" alt="">
  67. <view class="car-info">
  68. <view class="car-name flex-row">基础智能电动车</view>
  69. <view class="car-model-info">续航70km|重量54kg</view>
  70. <view class="flex-row flex-between">
  71. <view class="unit-type-price flex-row"><text style="margin-right: 8rpx;">日租</text><priceTool :price="50" :font_size="40"/></view>
  72. <view class="lease-btn">立即租</view>
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </template>
  80. <script module="tools" lang="wxs" src="@/pages/common/wxs/tools.wxs"></script>
  81. <script module="tools" lang="sjs" src="@/pages/common/wxs/tools.sjs"></script>
  82. <script>
  83. var config = require('../../common/config.js');
  84. var common = require('../../common/common.js');
  85. var http = require('../../common/http.js');
  86. var storage = require('../../common/storage.js');
  87. import priceTool from '@/component/priceTool/priceTool';
  88. export default {
  89. components: {
  90. priceTool
  91. },
  92. data() {
  93. return {
  94. };
  95. }
  96. /**
  97. * 生命周期函数--监听页面加载
  98. */
  99. ,
  100. onLoad: function(options) {
  101. },
  102. /**
  103. * 生命周期函数--监听页面显示
  104. */
  105. onShow: function() {
  106. },
  107. methods: {
  108. }
  109. };
  110. </script>
  111. <style>
  112. @import './storeDetails.css';
  113. </style>