chargpilemonitorsearch.wxml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <scroll-view class='context' wx:if='{{chargpiles.length!=0}}' scroll-with-animation='true' scroll-y='true' scroll-top='{{scrollTop}}' bindscrolltoupper="loadInitData" bindscrolltolower="loadMoreData">
  2. <text class="showInit">刷新中...</text>
  3. <view class='context_block'></view>
  4. <view class="map_text" hover-class='active' data-keywords="{{item}}" wx:key='{{key}}' wx:for="{{chargpiles}}">
  5. <view class='charging_text_title'>
  6. <view class='charging'>
  7. <image src='/images/charging1.png'></image>
  8. </view>
  9. <view class='charging_text_title1'>
  10. <text class='bold'>{{item.chargPileName}}</text>
  11. <text class="h1">{{item.chargPileId}}</text>
  12. </view>
  13. </view>
  14. <view style='line-height:0;'>
  15. <text >所属充电站:{{item.chargStationName}}</text>
  16. <text class='inline' wx:if='{{item.chargmode==1}}'>充电模式:自动</text>
  17. <text class='inline' wx:if='{{item.chargmode==2}}'>充电模式:手动</text>
  18. <text decode='true' class='inline' wx:if='{{item.chargway==1}}'>&emsp;&emsp;&emsp;&emsp;&emsp;充电方式:直流</text>
  19. <text decode='true' class='inline' wx:if='{{item.chargway==2}}'>&emsp;&emsp;&emsp;&emsp;&emsp;充电方式:交流</text>
  20. </view>
  21. <!--充电状态0:离线、1:故障、2:空闲中、3:充电中、4:欠压故障、5:过压故障、6:过电流故障、8:预约、9:在线升级、10:操作中、11:已插枪等-->
  22. <text decode='true' class='inline' wx:if='{{item.chargstatus==0}}'>充电桩状态:离线&emsp;&emsp;&emsp;&emsp;</text>
  23. <text decode='true' class='inline' wx:if='{{item.chargstatus==1}}'>充电桩状态:故障&emsp;&emsp;&emsp;&emsp;</text>
  24. <text decode='true' class='inline' wx:if='{{item.chargstatus==2}}'>充电桩状态:空闲中&emsp;&emsp;&emsp;</text>
  25. <text decode='true' class='inline' wx:if='{{item.chargstatus==3}}'>充电桩状态:充电中&emsp;&emsp;&emsp;</text>
  26. <text decode='true' class='inline' wx:if='{{item.chargstatus==4}}'>充电桩状态:欠压故障&emsp;&emsp;</text>
  27. <text decode='true' class='inline' wx:if='{{item.chargstatus==5}}'>充电桩状态:过压故障&emsp;&emsp;</text>
  28. <text decode='true' class='inline' wx:if='{{item.chargstatus==6}}'>充电桩状态:过电流故障&emsp;</text>
  29. <text decode='true' class='inline' wx:if='{{item.chargstatus==8}}'>充电桩状态:预约&emsp;&emsp;&emsp;&emsp;</text>
  30. <text decode='true' class='inline' wx:if='{{item.chargstatus==9}}'>充电桩状态:在线升级&emsp;&emsp;</text>
  31. <text decode='true' class='inline' wx:if='{{item.chargstatus==10}}'>充电桩状态:操作中&emsp;&emsp;&emsp;</text>
  32. <text decode='true' class='inline' wx:if='{{item.chargstatus==11}}'>充电桩状态:已插枪&emsp;&emsp;&emsp;</text>
  33. <!-- 运行状态2,3,8,10,11:正常运行、0,1,4,5,6,9:故障终止-->
  34. <text class='inline' wx:if='{{item.chargstatus==2||item.chargstatus==3||item.chargstatus==8||item.chargstatus==10||item.chargstatus==11}}'>运行状态:正常运行</text>
  35. <text class='inline' wx:if='{{item.chargstatus==0||item.chargstatus==1||item.chargstatus==4||item.chargstatus==5||item.chargstatus==6||item.chargstatus==9}}'>运行状态:故障终止</text>
  36. </view>
  37. <text class="showAll" wx:if='{{showAll}}'>已加载全部</text>
  38. </scroll-view>