my_riding.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <map id="map" scale='14' style="height:{{windowHeight-310}}px" markers="{{markers}}" latitude="{{latitude}}" longitude="{{longitude}}" polyline="{{polyline}}"></map>
  2. <view class="box" style="height:{{windowHeight-293}}px">
  3. <view class="title">
  4. <text>我的骑行</text>
  5. <text></text>
  6. </view>
  7. <view class="list">
  8. <view>
  9. <text>订 单 号</text>
  10. <text>{{date.no}}</text>
  11. </view>
  12. <view>
  13. <text>车 牌 号 </text>
  14. <text>{{date.bike_no}}</text>
  15. </view>
  16. <view>
  17. <text>订单时间</text>
  18. <text>{{date.start_use_bike_time}}</text>
  19. </view>
  20. <view>
  21. <text>骑行时长</text>
  22. <text>{{date.use_bike_time_length}}</text>
  23. </view>
  24. <view>
  25. <text>骑行里程</text>
  26. <text>{{date.use_bike_distance_length}}</text>
  27. </view>
  28. </view>
  29. <view class="bottom">
  30. <view class="left">
  31. <view style="margin-bottom:18rpx;">
  32. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(42,42,42,1);">调度费用:</text>
  33. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(24,213,185,1);">¥{{date.dispatch_money}}</text>
  34. </view>
  35. <view style="margin-bottom:18rpx;" wx:if="{{url!='/rent/order?no='}}">
  36. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(42,42,42,1);">优惠费用:</text>
  37. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(24,213,185,1);">¥{{date.preferential_money}}</text>
  38. </view>
  39. <view style="margin-bottom:18rpx;">
  40. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(42,42,42,1);">骑行费用:</text>
  41. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(24,213,185,1);">¥{{date.time_money}}</text>
  42. </view>
  43. <view style="margin-bottom:18rpx;" wx:if="{{url=='/rent/order?no='}}">
  44. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(42,42,42,1);">超时费用:</text>
  45. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(24,213,185,1);">¥{{date.time_money}}</text>
  46. </view>
  47. <view>
  48. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(42,42,42,1);">骑行总计:</text>
  49. <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(24,213,185,1);">¥{{date.total_money}}</text>
  50. <!-- <text style="font-size:24rpx;font-family:PingFang-SC-Regular;color:rgba(24,213,185,1);" wx:else>¥{{date.total_money}}</text> -->
  51. </view>
  52. </view>
  53. <view class="right" bindtap="payment" wx:if="{{date.status==2}}" style="color:#18D5B9;">
  54. <text>去支付</text>
  55. <image src="{{img}}weapp/you.png" style="width:40rpx;height:56rpx;"></image>
  56. </view>
  57. <view class="right" wx:if="{{date.status==1}}">
  58. <text>骑行中</text>
  59. </view>
  60. <view class="right" wx:if="{{date.status==3}}">
  61. <text>订单完成</text>
  62. </view>
  63. <view class="right" wx:if="{{date.status==4}}" style="color:#F4915B;">
  64. <text>订单关闭(不够计费直接关闭)</text>
  65. </view>
  66. <view class="right" wx:if="{{date.status==0}}">
  67. <text>临时停车中</text>
  68. </view>
  69. </view>
  70. </view>