search_result.wxml 4.2 KB

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