mychargestation.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--pages/ucenter/mychargestation/mychargestation.wxml-->
  2. <!--<view class='header'>
  3. <view class='header_left'>费用
  4. <view class='inline'>
  5. <image class='asc' src='/images/asc.png'></image>
  6. <image class='desc' src='/images/desc_active.png'></image>
  7. </view>
  8. </view>
  9. <view class='header_right'>距离</view>
  10. </view>-->
  11. <scroll-view class='context' scroll-y='true'>
  12. <view class='context_block'></view>
  13. <view id="{{item.id}}" bindtap="goIndex" class="map_text" hover-class='active' data-keywords="{{item}}" wx:key='{{key}}' wx:for="{{markers}}">
  14. <!-- <view class="map-1" bindtap="getRoute">
  15. <image src="/images/jt.png"></image>
  16. <view>路线</view>
  17. </view> -->
  18. <view class='charging_text_title'>
  19. <view class='charging'>
  20. <image src='/images/charging1.png'></image>
  21. </view>
  22. <view class='charging_text_title1'>
  23. <text class='bold'>{{item.name}}</text>
  24. <text class="h1">{{item.address}}</text>
  25. </view>
  26. <text class="h1 right">{{item.distance}}km</text>
  27. </view>
  28. <view style='line-height:0;'>
  29. <text decode='true' class='inline'>电桩数:{{item.chargPileNum}}</text>
  30. <!--<text decode='true' class='inline'>电桩数:{{item.chargPileNum}}&nbsp;&nbsp;&nbsp;&nbsp;空闲数:</text>
  31. <text class='fast inline' decode='true'>快{{item.fastfreenum==null?0:item.fastfreenum}}&nbsp;&nbsp;</text>
  32. <text class='slow inline'>慢{{item.slowfreenum==null?0:item.slowfreenum}}</text>-->
  33. <!-- 初始,待运营,运营中,暂停营业,关闭,未运营 -->
  34. <text decode='true' class='inline' >&nbsp;&nbsp;&nbsp;&nbsp;状态:</text>
  35. <text decode='true' class='inline' wx:if="{{item.operationState==1}}">初始</text>
  36. <text decode='true' class='inline' wx:if="{{item.operationState==2}}">待运营</text>
  37. <text decode='true' class='inline' wx:if="{{item.operationState==3}}">运营中</text>
  38. <text decode='true' class='inline' wx:if="{{item.operationState==4}}">暂停营业</text>
  39. <text decode='true' class='inline' wx:if="{{item.operationState==5}}">关闭</text>
  40. <text decode='true' class='inline' wx:if="{{item.operationState==6}}">未运营</text>
  41. </view>
  42. <text class='fast'>快桩数:{{item.fastCharg==null?0:item.fastCharg}}</text>
  43. <text class='slow'>慢桩数:{{item.slowCharg==null?0:item.slowCharg}}</text>
  44. <text class='inline'>当前故障桩:</text>
  45. <text class='red inline'>{{item.breaknum==null?0:item.breaknum}}</text>
  46. <!--<text>实时电费:{{item.chargprice}}元/度</text>-->
  47. <!--<text decode='true'>服务费:{{item.serviceprice}}元/次&nbsp;&nbsp;&nbsp;&nbsp;停车费:{{item.stopprice}}元/小时</text>-->
  48. <view id="{{item.id}}" class='navigation' bindtap="getRoute">
  49. <image src='/images/navigation.png'></image>
  50. </view>
  51. </view>
  52. </scroll-view>