
<view class='view'>
  <!-- <map longitude="{{longitude}}" latitude="{{latitude}}" markers="{{markers}}" covers="{{covers}}" show-location> -->
  <view class="mapBox">
<map longitude="{{longitude}}" latitude="{{latitude}}" markers="{{markers}}" scale="{{scale}}" bindcallouttap="callouttap">
    <cover-view slot="callout">
        <!--  电池包 -->
        <block wx:for="{{ele_chargList}}" wx:key="*this">
            <cover-view  class="cardView {{item.active?'c_active':''}}  {{item.objType}}" marker-id="{{item.id}}" >
                <cover-image class="imgLeft" src='/images/ele_lock.png' wx:if="{{item.ele_lock}}"></cover-image>
                <cover-image class="imgLeft" src='/images/ele_unlock.png' wx:if="{{item.ele_unlock}}"></cover-image>
                <cover-image class="imgLeft" src='/images/park_lock.png' wx:if="{{item.park_lock}}"></cover-image>
                <cover-image class="imgLeft" src='/images/park_unlock.png' wx:if="{{item.park_unlock}}"></cover-image>
                <cover-view  class="infoView ">
                    <cover-view  class="topView">
                        <cover-view class="title">{{item.title}}</cover-view>
                        <cover-image class="power" src='/images/power.png' wx:if="{{item.objType=='ele'}}"></cover-image>
                    </cover-view>
                    <cover-view  class="typeView">{{item.type}}</cover-view>
                </cover-view>
            </cover-view>
            <cover-view  class="triangle"></cover-view>

        </block>
      </cover-view>
  </map>
</view>
  <view class="txt">请选择可用车位和电池包</view>
  <button class="{{car_active?'login_button':'login_button_disable'}}" bindtap="callCar">呼叫充电车</button>
</view>

