<template name="cardetail">
  <navigator    
    open-type="navigate"
    url="../cardetail/cardetail?id={{car.id}}"
    class="car_b">
    <view
      class="car_img" 
      style="background-image:url({{car.img}})"   
    />
    <view class="car_info">
      <view 
        class="car_t"
      >{{car.title?car.title:'--'}}</view>
      <view class="car_time">{{car.licensetime}}年上牌|{{car.mileage}}万公里
      </view>
      <view class="car_p">售价：{{car.sale_price}}万
      </view>
      <view class="car_characteristic">
        <block wx:for="{{car.tag}}" wx:key="{{index}}">
          <view wx:if="{{item}}" class="car_characteristic_i">{{item}}</view>          
        </block>
      </view>
    </view>
  </navigator>
</template>