order.wxml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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_1.png'></image>
  10. </view>
  11. <view class='charging_text_title1'>
  12. <text class='bold'>{{order.chargPile.chargPileName}}</text>
  13. <text class="h1">终端编号:{{chargPileId}}</text>
  14. </view>
  15. </view>
  16. <text>地址:{{order.chargStation.address}}</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 style="width: 100%;margin-top:50rpx">
  67. <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
  68. </view> -->
  69. </view>
  70. <button class='{{orderFlag?"pay_button1":"pay_button"}}' wx:if="{{order.paystatus==0}}" bindtap="{{orderFlag?'':'payOrder'}}">去支付</button>
  71. <button class='pay_button' wx:if="{{order.paystatus==1}}" bindtap="closeView">已余额扣款,请关闭</button>