order.wxml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!--pages/order/order.wxml-->
  2. <view class="map_text" wx:if="{{order}}" hover-class='active'>
  3. <!-- <view class="map-1" bindtap="getRoute">
  4. <image src="/images/jt.png"></image>
  5. <view>路线</view>
  6. </view> -->
  7. <view class='charging_text_title'>
  8. <view class='charging'>
  9. <image src='/images/charging2.png'></image>
  10. </view>
  11. <view class='charging_text_title1'>
  12. <text class='bold'>{{order.chargStation.chargStationName}}</text>
  13. <text class="h1">{{order.chargPile.chargPileName}}</text>
  14. </view>
  15. </view>
  16. <text>终端编号:{{chargPileId}}</text>
  17. <view class="table">
  18. <view class="tr title">
  19. <view class="th">
  20. <text>{{startTime}}</text>
  21. <text>开始充电</text>
  22. </view>
  23. <view class="th center">
  24. <text>——</text>
  25. </view>
  26. <view class="th">
  27. <text>{{endTime}}</text>
  28. <text>结束充电</text>
  29. </view>
  30. </view>
  31. <view class="tr">
  32. <view class="td">
  33. <text>{{order.chargallmoney}}元</text>
  34. <text>总费用</text>
  35. </view>
  36. <view class="td center">
  37. <text>{{order.chargpower}}度</text>
  38. <text>总电量</text>
  39. </view>
  40. <view class="td">
  41. <text>{{totalTime}}</text>
  42. <text>总时长</text>
  43. </view>
  44. </view>
  45. </view>
  46. <!--<text class="info_title">费用明细</text>
  47. <view class="info">
  48. <text>21:00-24:00充电15.98度</text>
  49. <text>电费:20.66元(1.3元/度)</text>
  50. <text>服务费:9.53元(0.06元/度)</text>
  51. </view>
  52. <view class="info">
  53. <text>21:00-24:00充电15.98度</text>
  54. <text>电费:20.66元(1.3元/度)</text>
  55. <text>服务费:9.53元(0.06元/度)</text>
  56. </view>
  57. <text class="info_title">代金券</text>
  58. <view class="info_view" hover-class='active'>
  59. <view class="zan-text">
  60. <text>2张(可用)</text>
  61. </view>
  62. <view class="zan-ft">
  63. <image src='/images/enter.png'></image>
  64. </view>
  65. </view>-->
  66. </view>
  67. <button class='{{orderFlag?"pay_button1":"pay_button"}}' wx:if="{{order&&order.paystatus==0}}" bindtap="{{orderFlag?'':'payOrder'}}">去支付</button>
  68. <button class='pay_button' wx:if="{{order&&order.paystatus==1}}" bindtap="closeView">已余额扣款,请关闭</button>