chooseCar.wxml 1.0 KB

1234567891011121314151617181920212223242526
  1. <!--pages/ucenter/car/chooseCar.wxml-->
  2. <view class="selectpopup_bg">
  3. <selectpopup id="selectpopup" bind:selectPopupItemClick="selectPopupItemClick"
  4. bind:selectPopupExit="selectPopupExit"></selectpopup>
  5. </view>
  6. <view class="nocar" wx:if="{{userCarList.length==0}}" >
  7. <view class="t1">暂无车辆</view>
  8. <view class="t2">绑定后可在指定场站享受停车费减免优惠</view>
  9. <button class='login_button' bindtap="bindCar">绑定车辆</button>
  10. </view>
  11. <view class="hascar" wx:if="{{userCarList.length>0}}" >
  12. <scroll-view class='context' scroll-y='true'>
  13. <block wx:for="{{userCarList}}" wx:key="*this">
  14. <view data-idx="{{item}}" data-idn="{{item.plateNumber}}" class="carView" bindtap="showMore">
  15. <text class="title">{{item.plateNumber}}</text>
  16. <text class="def" wx:if="{{item.defaultType==1}}">默认</text>
  17. <image src="/images/car_more.png"/>
  18. </view>
  19. </block>
  20. </scroll-view>
  21. <button class='login_button' bindtap="bindCar" >绑定车辆</button>
  22. </view>