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