<!-- pages/index.wxml -->
<!-- <import src="/components/circle-progress/circle-progress.wxml"/> -->
<!-- <view style="width:400rpx;height:400rpx;background-color: green;">
    <circle-progress name="circle-progress" progress="{{progressPercentage}}" disabled="{{false}}"/>
</view> -->

<!--pages/scan_result/scan_result.wxml-->
<view wx:if="{{chargPile}}"  class="map_text" hover-class='active' >

    <view class='charging_text_title'>
      <view class='charging'>
        <image src='/images/charging2_1.png'></image>
      </view>
      <view class='charging_text_title1'>
        <text class='bold'>{{chargPile.chargStationName}}</text>  <!-- xxxxx场站 -->
        <!-- <text class="h1">{{chargPile.chargStationId}}号车位</text>  -->
        <text class="h1">{{parkObj.pointShowName}}</text> <!-- xxx号车位 -->
      </view>
    </view>
    <!-- <text style='margin-bottom:10rpx;'>地址：{{chargPile.address}}</text> -->
    <text style='line-height:24rpx;height:24rpx;font-size:24rpx;margin-top: 16rpx;' >地址：{{chargPile.address}}</text>
    <text style="line-height:24rpx;height:24rpx;font-size:24rpx;margin: 20rpx 0;">请选择电池包</text>
    <view class="cardHub {{!hid?'hid':''}}" >
        <block wx:for="{{eleList}}" wx:key="*this"  >
        <view class="card {{item.active?'':'dis'}}" bindtap="selectEle" data-idx="{{index}}">
                <view class="circleOut">{{index + 1}}</view>
                <view class="main">
                    <view style="width:60rpx;height:60rpx;margin: 0 auto;margin-top: 30rpx;">
                        <circle-progress name="circle-progress" progress="{{item.currentSoc}}" disabled="{{!item.active}}"/>
                    </view>
                    <view class="no">编号:{{item.chargPileId}}</view>
                </view>
                <view class="foot">电池包可用
                </view>
            </view>
        </block>

<!--
        <view class="card dis">
            <view class="circleOut"><view class="circleIn">1</view></view>
            <view class="main">
                <view style="width:60rpx;height:60rpx;margin: 0 auto;margin-top: 40rpx;">
                    <circle-progress name="circle-progress" progress="100" disabled="{{true}}" width="{{15}}" r="{{14}}" lw="{{1}}"/>
                </view>
                <view class="no">编号:123456789</view>
            </view>
            <view class="foot">电池包不可用
            </view>
        </view>
-->
    </view>



  </view>
  <button wx:if="{{chargPile}}" class="{{car_active?'login_button':'login_button_disable'}}" bindtap="callCar" >呼叫充电车</button>