<!--pages/ucenter/car/car.wxml-->
<view class="selectpopup_bg">   
 <selectpopup  id="selectpopup" bind:selectPopupItemClick="selectPopupItemClick" 
      bind:selectPopupExit="selectPopupExit"></selectpopup>
</view>

<view class="nocar" wx:if="{{userCarList.length==0}}" >
<view class="t1">暂无车辆</view>
<view class="t2">绑定后可在指定场站享受停车费减免优惠</view>
<button class='login_button' bindtap="bindCar">绑定车辆</button>
</view>
<view class="hascar" wx:if="{{userCarList.length>0}}" >
  <scroll-view class='context' scroll-y='true'>
    <block wx:for="{{userCarList}}" wx:key="*this">
      <view data-idx="{{item}}"  data-idn="{{item.plateNumber}}" class="carView" bindtap="showMore">
        <text class="title">{{item.plateNumber}}</text>
        <text class="def" wx:if="{{item.defaultType==1}}">默认</text>
        <image src="/images/car_more.png"/>
      </view>
    </block>
  </scroll-view>
  <button class='login_button' bindtap="bindCar" >绑定车辆</button>

</view>


