chargpilemonitor.wxml 3.8 KB

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