charginfo.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--pages/charging/charging.wxml-->
  2. <view class="charginfo" hover-class='active'>
  3. <view class="map_text">
  4. <view class="map_text_info">
  5. <view class='charging_text_title'>
  6. <view class='charging_text_title1'>
  7. <text class='name'>{{name}}</text>
  8. <text class="grey">{{address}}</text>
  9. </view>
  10. </view>
  11. <text class='inline yellow'>{{sumprice == null? '暂无电费' : ' ¥ ' + sumprice}}</text>
  12. <text class='inline grey'>{{chargprice == null? '暂无实时电费' : '实时电费' + chargprice + ' 元/度'}} {{serviceprice == null? '暂无服务费': '服务费' + serviceprice + ' 元/度'}}</text>
  13. <text class='inline red'>电费收费标准详见启动充电页面</text>
  14. <view class="btn_list">
  15. <view class="btn">
  16. <view class="icon">快</view>
  17. <view class="status">空闲 {{fastFree}} / 共 {{fastSum}}</view>
  18. </view>
  19. <view class="btn slow">
  20. <view class="icon slow">慢</view>
  21. <view class="status">空闲 {{slowFree}} / 共 {{slowSum}}</view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="title_list">终端列表</view>
  27. <scroll-view class='context' scroll-y='true' bindscrolltolower="bindScrollTolowerEvent" >
  28. <view class="charg" hover-class='active' data-keywords="{{item}}" wx:key='{{key}}' wx:for="{{chargList}}" bindtap="{{item.chargstatusname=='空闲中'?'goScanResult':''}}">
  29. <view class="runstatus {{item.chargstatusclass}}">
  30. <view class="runstatus_inner ">
  31. {{item.chargstatusname}}
  32. </view>
  33. </view>
  34. <view class="chargInfo_v">
  35. <view class="chargInfo_v_name">{{item.chargStationName}}</view>
  36. <view class="chargInfo_v_id">{{item.chargPileId}}</view>
  37. </view>
  38. <view class="iconleft" >
  39. <view class="icon {{item.pileType=='慢充'?'slowBar':'fastBar'}}">{{item.pileType=='慢充'?'慢':'快'}}</view>
  40. <view class="startpower" wx:if="{{item.chargstatusname=='空闲中'}}" >启动充电 ></view>
  41. </view>
  42. </view>
  43. </scroll-view>
  44. <view class = "bottomm"></view>
  45. </view>