charginfo.wxml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!--pages/charging/charging.wxml-->
  2. <view style="height: 100%;width: 100%;overflow: scroll;">
  3. <view class="charginfo" hover-class='active'>
  4. <view class="map_text">
  5. <view class="map_text_info">
  6. <view class='charging_text_title'>
  7. <view class='charging_text_title1'>
  8. <text class='name'>{{name}}</text>
  9. <text class="grey">{{address}}</text>
  10. </view>
  11. </view>
  12. <text class='inline yellow'>{{seeInfoChargPile.totalprice == null? '暂无费用' : ' ¥ ' + seeInfoChargPile.totalprice}}</text>
  13. <view style='line-height:0;margin: 5rpx 0;'>
  14. <rich-text space='nbsp' nodes="{{seeInfoChargPile.chargprice == null? '暂无实时电费' : '实时电费 ' + seeInfoChargPile.chargprice + ' 元/度'}} {{seeInfoChargPile.serviceprice == null? '暂无实时服务费' : '实时服务费 ' + seeInfoChargPile.serviceprice + ' 元/度'}}" style='line-height:30rpx;font-size:20rpx;word-wrap: break-word;color:#AAAAAA' ></rich-text>
  15. </view>
  16. <text class='inline yellow' style="margin: 5rpx 0;">全天时段费用</text>
  17. <view style='line-height:0;margin: 5rpx 0;'>
  18. <rich-text space="nbsp" nodes="电 费:尖峰 {{seeInfoChargPile.sharpChargPrice == null? '暂无费用':seeInfoChargPile.sharpChargPrice + ' 元'}} 高峰 {{seeInfoChargPile.peakChargPrice== null? '暂无费用':seeInfoChargPile.peakChargPrice + ' 元'}} 平段 {{seeInfoChargPile.flatChargPrice == null? '暂无费用':seeInfoChargPile.flatChargPrice + ' 元'}} 低谷 {{seeInfoChargPile.valleyChargPrice == null? '暂无费用':seeInfoChargPile.valleyChargPrice + ' 元'}} " style='line-height:30rpx;font-size:20rpx;word-wrap: break-word;color:#AAAAAA;'></rich-text>
  19. </view>
  20. <view style='line-height:0;margin: 5rpx 0;'>
  21. <rich-text space='nbsp' nodes="服务费:尖峰 {{seeInfoChargPile.sharpServicePrice == null? '暂无费用':seeInfoChargPile.sharpServicePrice + ' 元'}} 高峰 {{seeInfoChargPile.peakServicePrice== null? '暂无费用':seeInfoChargPile.peakServicePrice + ' 元'}} 平段 {{seeInfoChargPile.flatServicePrice== null? '暂无费用':seeInfoChargPile.flatServicePrice + ' 元'}} 低谷 {{seeInfoChargPile.valleyServicePrice== null? '暂无费用':seeInfoChargPile.valleyServicePrice + ' 元'}} " style='line-height:30rpx;font-size:20rpx;color:#AAAAAA;word-wrap: break-word;'></rich-text>
  22. </view>
  23. <view style='line-height:0;margin: 5rpx 0;'>
  24. <rich-text space='nbsp' nodes="总费用:尖峰 {{seeInfoChargPile.sharpTotalPrice == null? '暂无费用':seeInfoChargPile.sharpTotalPrice + ' 元'}} 高峰 {{seeInfoChargPile.peakTotalPrice == null? '暂无费用':seeInfoChargPile.peakTotalPrice + ' 元'}} 平段 {{seeInfoChargPile.flatTotalPrice == null? '暂无费用':seeInfoChargPile.flatTotalPrice + ' 元'}} 低谷 {{seeInfoChargPile.valleyTotalPrice == null? '暂无费用':seeInfoChargPile.valleyTotalPrice + ' 元'}} " style='line-height:30rpx;font-size:20rpx;color:#c13e32;word-wrap: break-word;'></rich-text>
  25. </view>
  26. <!-- <view style='line-height:0;'>
  27. <text decode='true' class='inline'>费用:&nbsp;&nbsp;</text>
  28. <text decode='true' class='slow inline'>{{seeInfoChargPile.sharpChargPrice}}</text>
  29. <text decode='true' class='inline'>元尖&nbsp;&nbsp;</text>
  30. <text decode='true' class='slow inline'>{{seeInfoChargPile.peakChargPrice}}</text>
  31. <text decode='true' class='inline'>元峰&nbsp;&nbsp;</text>
  32. <text decode='true' class='slow inline'>{{seeInfoChargPile.flatChargPrice}}</text>
  33. <text decode='true' class='inline'>元平&nbsp;&nbsp;</text>
  34. <text decode='true' class='slow inline'>{{seeInfoChargPile.valleyChargPrice}}</text>
  35. <text decode='true' class='inline'>元谷&nbsp;&nbsp;</text>
  36. </view> -->
  37. <!-- <text class="inline"></text> -->
  38. <view>
  39. <!-- <rich-text style='line-height:30rpx;word-break:break-all;color: #575757;font-size:26rpx;'><span style="font-weight:bold;color:#000">北京地区</span>峰谷时段划分如下所示(如有峰谷差异电价,详情请咨询场站现场负责人):</rich-text> -->
  40. </view>
  41. <text class='inline yellow'>尖峰平谷时段</text>
  42. <view style='line-height: 30rpx'>
  43. <text decode='true' style='font-size:20rpx;color:#aaaaaa;line-height: 0rpx;'>高峰:10:00-15:00&nbsp;&nbsp;18:00-21:00</text>
  44. </view>
  45. <view style='line-height: 30rpx'>
  46. <text decode='true' style='font-size:20rpx;color:#aaaaaa;line-height: 0rpx;'>平段:07:00-10:00&nbsp;&nbsp;15:00-18:00&nbsp;&nbsp;21:00-23:00</text>
  47. </view>
  48. <view style='line-height: 30rpx'>
  49. <text decode='true' style='font-size:20rpx;color:#aaaaaa;line-height: 0rpx;'>低谷:23:00至次日07:00</text>
  50. </view>
  51. <view style='line-height: 30rpx'>
  52. <text decode='true' style='font-size:20rpx;color:#aaaaaa;'>尖峰:7\8月11:00-13:00&nbsp;&nbsp;16:00-17:00</text>
  53. </view>
  54. <scroll-view class='pictureScroll' scroll-x='true'>
  55. <view wx:for="{{chargfeatureList}}" wx:key="unique" data-index="{{index}}" bindtap="previewImage" class="chargfeatureImage">
  56. <image src="{{item}}" ></image>
  57. </view>
  58. </scroll-view>
  59. <view class="btn_list">
  60. <view class="btn">
  61. <view class="icon">快</view>
  62. <view class="status">空闲 {{fastFree}} / 共 {{fastSum}}</view>
  63. </view>
  64. <view class="btn slow">
  65. <view class="icon slow">慢</view>
  66. <view class="status">空闲 {{slowFree}} / 共 {{slowSum}}</view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="title_list">终端列表</view>
  72. <scroll-view class='context' scroll-y='true' bindscrolltolower="bindScrollTolowerEvent" >
  73. <view class="charg" hover-class='active' data-keywords="{{item}}" wx:key='{{key}}' wx:for="{{chargList}}" bindtap="{{(!userInfo.flag && item.chargstatusname=='已插枪')?'goScanResult':''}}">
  74. <view class="runstatus {{item.chargstatusclass}}">
  75. <view class="runstatus_inner ">
  76. {{item.chargstatusname}}
  77. </view>
  78. </view>
  79. <view class="chargInfo_v">
  80. <view class="chargInfo_v_name">{{item.chargPileName}}</view>
  81. <view class="chargInfo_v_id">{{item.chargPileId}}</view>
  82. </view>
  83. <view class="iconleft" >
  84. <view class="icon {{item.pileType=='慢充'?'slowBar':'fastBar'}}">{{item.pileType=='慢充'?'慢':'快'}}</view>
  85. <view class="startpower" wx:if="{{!userInfo.flag && item.chargstatusname=='已插枪'}}" >启动充电 ></view>
  86. </view>
  87. </view>
  88. <view class = "bottomm"></view>
  89. </scroll-view>
  90. </view>
  91. </view >