<template name="mybuycaritem">
  <view>
    <veiw
      class="caritem_b"
      >
      <navigator 
        url="../orderdetail/orderdetail?id={{car.id}}"
        open-type="navigateTo"  
        class="caritem_img" 
        style="background-image:url({{car.img}})"
      />
      <view class="caritem_info">
        <navigator 
          url="../orderdetail/orderdetail?id={{car.id}}"
          open-type="navigateTo"  
          class="caritem_t"
        >{{car.title?car.title:'--'}}</navigator>
        <view class="caritem_time">
          <navigator 
            url="../orderdetail/orderdetail?id={{car.id}}"
            open-type="navigateTo"  
            class="caritem_time_i">{{car.licensetime}}年上牌|{{car.mileage}}万公里</navigator>
          <navigator 
            wx:if='{{car.store_id}}'
            open-type="navigateTo"
            url="../shop/shop?id={{car.store_id}}"
            class="caritem_store"
          >
            {{car.store_name}}
          </navigator>
        </view>
        <navigator 
          url="../orderdetail/orderdetail?id={{car.id}}"
          open-type="navigateTo"  
          class="caritem_p">
          {{car.sale_price}}万 
          <image class="caritem_p_img" src="../../img/placard.png"/>
        </navigator>
        <navigator 
          url="../orderdetail/orderdetail?id={{car.id}}"
          open-type="navigateTo"  
          class="caritem_guide_p">
          新手指导价：<view class="caritem_guidep">{{car.guide_price}}万</view>
        </navigator>
      </view>
    </veiw>
    <view class="order_inof_b">
      <view class="order_price">订单总额:{{car.order_price}}万</view>
      <view class="order_earnest">定金:{{car.booking_price}}万</view>
      <view class="order_loans">{{car.paid_type}}</view>
      <view class="order_status">{{car.order_status===0?'已预订':car.order_status===1?'已成交':'已违约'}}</view>
      
      <navigator 
        open-type="navigateTo"
        url="../orderdetail/orderdetail?id={{car.id}}"
        >
        <image class="order_link" src = "../../img/right.png"/>
      </navigator>
    </view>
  </view>
</template>