
<view class="pg">
    <!-- <view class='charging_text_title'>
      <view class='charging'>
        <image src='/images/charging2_1.png' bindtap="wxTestDebugClick"></image>
      </view>
      <view class='charging_text_title1'>
        <text class='bold'>{{chargPile.chargPileName}}</text>
        <text class="h1">终端编号：{{chargPile.chargPileId}}</text>
      </view>
    </view>
    <rich-text space='nbsp' nodes="地址：{{chargPile.address}}" style='line-height:30rpx;font-size:24rpx;margin-bottom:10rpx;word-wrap: break-word;' ></rich-text>
    <text class="stitle" >电池包举升控制</text>
    <view class="vbtn v2">
        <button class='btn b2 active' bindtap="upBtn" >上升</button>
        <button class='btn b2 active' bindtap="downBtn" >下降</button>
    </view> -->
    <text class="stitle" >选择车辆</text>
    <view class="vbtn v3">
        <block wx:for="{{cars}}" wx:key="id">
            <button class="btn b3 {{carIndex==index?'active':''}}" bindtap="carTap" data-idx="{{index}}">{{item.carName}}</button>
        </block>
    </view>
    <text class="stitle" >选择点位</text>
    <view class="vbtn v3">
        <block wx:for="{{locations}}" wx:key="id">
            <button class="btn b3 {{locationIndex==index?'active':''}}" bindtap="locationTap" data-idx="{{index}}" >{{item.pointShowName}}</button>
        </block>
    </view>
    <text class="stitle" >选择任务类型</text>
    <view class="vbtn v3">
        <block wx:for="{{tractorTaskTypeList}}" wx:key="id">
            <button class="btn b3 {{tractorTaskTypeIndex==index?'active':''}} char4" bindtap="tractorTaskTypeTap" data-idx="{{index}}" >{{item.txt}}</button>
        </block>
    </view>

    <view class="vbtn v1">
        <button class='btn b1 active' bindtap="submit" >调度车辆</button>
    </view>


</view>
