yuyt.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <view class="text_context" wx:for="{{reservUserOrderList}}" wx:key="id" hover-class='active'>
  12. <view class="upFlag" >{{item.reservStatusCN}}</view>
  13. <view class="downBtn" wx:if="{{item.cancleBtnFlag}}" bindtap="cancleBtn" data-idx="{{item.id}}">取消预约</view>
  14. <view class="downBtn" wx:if="{{item.customerServiceFlag}}" bindtap="customerServiceBtn">联系客服</view>
  15. <!-- <view class="map-1" bindtap="getRoute">
  16. <image src="/images/jt.png"></image>
  17. <view>路线</view>
  18. </view> -->
  19. <view class='charging_text_title'>
  20. <view class='charging'>
  21. <image src='/images/charging2_1.png'></image>
  22. </view>
  23. <view class='charging_text_title1'>
  24. <text class='bold'>{{item.reservStation.chargStationName}}</text>
  25. <text class="h1">{{item.reservPile.chargPileId}}</text>
  26. </view>
  27. </view>
  28. <text>{{item.reservPile.chargPileName}}</text>
  29. <view class="inline-view">
  30. <view class='inlineView' decode='true'><text space="nbsp">预约时段: </text> <text class="gray2"> {{item.reservChargeStartTime}} 至 {{item.reservChargeEndTime}}</text></view>
  31. </view>
  32. <view class="inline-view">
  33. <view class='inlineView' decode='true'><text space="nbsp">提交预约时间: </text> <text class="gray2">{{item.createTime}}</text></view>
  34. </view>
  35. <view class="inline-view" wx:if="{{chongdianzhuangmingcheng}}">
  36. <text class='inlineView' decode='true'>启动充电桩名称: {{item.chargePile.chargPileName}}</text>
  37. </view>
  38. <view class="inline-view" wx:if="{{chongdianzhuangbianhao}}">
  39. <text class='inlineView' decode='true'>启动充电桩编号: {{item.chargePile.chargPileId}}</text>
  40. </view>
  41. <view class="inline-view" wx:if="{{chongdianshichang}}">
  42. <text class='inline' decode='true'>充电时长:{{item.chargePile.totalTime}}&nbsp;&nbsp;&nbsp;&nbsp;</text>
  43. <text class='inline'>充电电量:{{item.chargePile.chargpower}}度</text>
  44. </view>
  45. <text class='gray' wx:if="{{chongdiankaishijieshu}}">{{item.chargePile.startTime}}-{{item.chargePile.endTime}}</text>
  46. <view style='line-height:0;' wx:if="{{chongdianfeiyong}}">
  47. <text class='inline gray1'>总费用:</text>
  48. <text class='inline red'>{{item.chargePile.chargallmoney}}</text>
  49. <text class='inline gray1' decode='true'>元&nbsp;&nbsp;&nbsp;&nbsp;服务费:</text>
  50. <text class='inline red'>{{item.chargePile.chargservice}}</text>
  51. <text class='inline gray1' decode='true'>元&nbsp;&nbsp;&nbsp;&nbsp;电费:</text>
  52. <text class='inline red'>{{item.chargePile.chargmoney}}</text>
  53. <text class='inline gray1'>元</text>
  54. </view>
  55. </view>
  56. </scroll-view>