yuyt.wxml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!--pages/ucenter/charginglog/charginglog.wxml-->
  2. <view class="topBar">
  3. <view class="card {{searchIndex==-1?'active':''}}" data-idx="-1" bindtap="switchBar">全部</view>
  4. <view class="card {{searchIndex==0?'active':''}}" data-idx="0" bindtap="switchBar">待履约</view>
  5. <view class="card {{searchIndex==2?'active':''}}" data-idx="2" bindtap="switchBar">已履约</view>
  6. <view class="card {{searchIndex==1?'active':''}}" data-idx="1" bindtap="switchBar">已取消</view>
  7. <view class="card {{searchIndex==3?'active':''}}" data-idx="3" bindtap="switchBar">已违约</view>
  8. </view>
  9. <scroll-view class='context' scroll-y='true' bindscrolltolower="bindScrollTolowerEvent" >
  10. <view class='context_block'></view>
  11. <block wx:for="{{reservUserOrderList}}" wx:key="id">
  12. <view class="text_context {{item.height}}" hover-class='active'>
  13. <view class="upFlag" >{{item.reservStatusCN}}</view>
  14. <view class="downBtn" wx:if="{{item.cancleBtnFlag}}" bindtap="cancleBtn" data-idx="{{item.id}}">取消预约</view>
  15. <view class="downBtn" wx:if="{{item.customerServiceFlag}}" bindtap="customerServiceBtn">联系客服</view>
  16. <!-- <view class="map-1" bindtap="getRoute">
  17. <image src="/images/jt.png"></image>
  18. <view>路线</view>
  19. </view> -->
  20. <view class='charging_text_title'>
  21. <view class='charging'>
  22. <image src='/images/charging2_1.png'></image>
  23. </view>
  24. <view class='charging_text_title1'>
  25. <text class='bold'>{{item.reservStation.chargStationName}}</text>
  26. <text class="h1">{{item.reservPile.chargPileId}}</text>
  27. </view>
  28. </view>
  29. <text>{{item.reservPile.chargPileName}}</text>
  30. <view class="inline-view">
  31. <view class='inlineView' decode='true'><text space="nbsp">预约时段: </text> <text class="gray2"> {{item.reservChargeStartTime}}-{{item.reservChargeEndTime}}</text></view>
  32. </view>
  33. <view class="inline-view">
  34. <view class='inlineView' decode='true'><text space="nbsp">提交预约时间: </text> <text class="gray2">{{item.createTime}}</text></view>
  35. </view>
  36. <view class="inline-view" wx:if="{{item.chongdianzhuangmingcheng}}">
  37. <text class='inlineView' decode='true'>启动充电桩名称: {{item.chargePile.chargPileName}}</text>
  38. </view>
  39. <view class="inline-view" wx:if="{{item.chongdianzhuangbianhao}}">
  40. <text class='inlineView' decode='true'>启动充电桩编号: {{item.chargePile.chargPileId}}</text>
  41. </view>
  42. <view class="inline-view" wx:if="{{item.chongdianshichang}}">
  43. <text class='inline' decode='true'>充电时长:{{item.pileLog.totalTime}}&nbsp;&nbsp;&nbsp;&nbsp;</text>
  44. <text class='inline'>充电电量:{{item.pileLog.chargpower}}度</text>
  45. </view>
  46. <text class='gray' wx:if="{{item.chongdiankaishijieshu}}">{{item.pileLog.startTime}}-{{item.pileLog.endTime}}</text>
  47. <view style='line-height:0;' wx:if="{{item.chongdianfeiyong}}">
  48. <text class='inline gray1'>总费用:</text>
  49. <text class='inline red'>{{item.pileLog.chargallmoney}}</text>
  50. <text class='inline gray1' decode='true'>元&nbsp;&nbsp;&nbsp;&nbsp;服务费:</text>
  51. <text class='inline red'>{{item.pileLog.chargservice}}</text>
  52. <text class='inline gray1' decode='true'>元&nbsp;&nbsp;&nbsp;&nbsp;电费:</text>
  53. <text class='inline red'>{{item.pileLog.chargmoney}}</text>
  54. <text class='inline gray1'>元</text>
  55. </view>
  56. </view>
  57. </block>
  58. <view class='context_block'></view>
  59. <view class='context_block'></view>
  60. <view class='context_block'></view>
  61. <view class='context_block'></view>
  62. </scroll-view>