<view class='header'>
  <view class='header_left {{moneyActive?"active":""}}' wx:if="{{!userInfo.flag}}" bindtap='moneyOrder'>费用
    <view class='inline'>
      <image class='asc' src='/images/asc{{moneyPng=="asc"?"_active":""}}.png'></image>
      <image class='desc' src='/images/desc{{moneyPng=="desc"?"_active":""}}.png'></image>
    </view>
  </view>
  <view class='header_left {{distanceActive?"active":""}}' wx:if="{{userInfo.flag}}" bindtap='distanceOrder'>距离
    <view class='inline'>
      <image class='asc' src='/images/asc{{distancePng=="asc"?"_active":""}}.png'></image>
      <image class='desc' src='/images/desc{{distancePng=="desc"?"_active":""}}.png'></image>
    </view>
  </view>
  <view class='header_right {{distanceActive?"active":""}}' wx:if="{{!userInfo.flag}}" bindtap='distanceOrder'>距离
    <view class='inline'>
      <image class='asc' src='/images/asc{{distancePng=="asc"?"_active":""}}.png'></image>
      <image class='desc' src='/images/desc{{distancePng=="desc"?"_active":""}}.png'></image>
    </view>
  </view>
  <view class='header_right {{myChargeStationsActive?"active":""}}' bindtap='myChargeStationsOrder' wx:if="{{userInfo.flag}}">责任场站</view>
</view>
<scroll-view class='context' scroll-y='true'>
  <view class='context_block'></view>
  <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}}">
    <!-- <view class="map-1" bindtap="getRoute">
      <image src="/images/jt.png"></image>
      <view>路线</view>
    </view> -->
    <view class='charging_text_title'>
      <view class='charging'>
        <image src='/images/charging1.png'></image>
      </view>
      <view class='charging_text_title1'>
        <text class='bold'>{{item.brandName != null ? item.brandName : ''}}{{item.name}}</text>
        <text class="h1">{{item.address}}</text>
      </view>
      <text class="h1 right">{{item.distance}}km</text>
    </view>
    <view style='line-height:0;'>
      <text decode='true' class='inline' wx:if="{{userInfo.flag}}">电桩数：{{item.chargPileNum}}</text>
      <text decode='true' class='inline' wx:if="{{!userInfo.flag}}">电桩数：{{item.chargPileNum}}&nbsp;&nbsp;&nbsp;&nbsp;空闲数：</text>
      <text class='fast inline' decode='true' wx:if="{{!userInfo.flag}}">快{{item.fastfreenum==null?0:item.fastfreenum}}&nbsp;&nbsp;</text>
      <text class='slow inline' wx:if="{{!userInfo.flag}}">慢{{item.slowfreenum==null?0:item.slowfreenum}}</text>
    <!-- 初始，待运营，运营中，暂停营业，关闭，未运营 -->
      <text  decode='true'  class='inline' >&nbsp;&nbsp;&nbsp;&nbsp;状态：</text>
      <text  decode='true'  class='inline' wx:if="{{item.operationState==1}}">初始</text>
      <text  decode='true'  class='inline' wx:if="{{item.operationState==2}}">待运营</text>
      <text  decode='true'  class='inline' wx:if="{{item.operationState==3}}">运营中</text>
      <text  decode='true'  class='inline' wx:if="{{item.operationState==4}}">暂停营业</text>
      <text  decode='true'  class='inline' wx:if="{{item.operationState==5}}">关闭</text>
      <text  decode='true'  class='inline' wx:if="{{item.operationState==6}}">未运营</text>
    </view>
    <text class='fast'>快桩数：{{item.fastCharg==null?0:item.fastCharg}}</text>
    <text class='slow'>慢桩数：{{item.slowCharg==null?0:item.slowCharg}}</text>
    <text class='inline' wx:if="{{userInfo.flag}}">当前故障桩：</text>
    <text class='red inline' wx:if="{{userInfo.flag}}">{{item.breaknum==null?0:item.breaknum}}</text>
    <text wx:if="{{!userInfo.flag}}">实时参考电费：{{item.chargprice ==null ? '暂无电费' : item.chargprice + ' 元/度'}}</text>
    <!--<text decode='true' wx:if="{{!userInfo.flag}}">实时参考服务费：{{item.serviceprice}}元/度&nbsp;&nbsp;&nbsp;&nbsp;停车费：{{item.stopprice}}元/小时</text>-->
    <text decode='true' wx:if="{{!userInfo.flag}}">实时参考服务费：{{item.serviceprice ==null ? '暂无服务费' : item.serviceprice + ' 元/度'}}</text>
    <view id="{{item.id}}" class='navigation' bindtap="getRoute">
      <image src='/images/navigation.png'></image>
    </view>
  </view>
</scroll-view>