mybuycaritem.wxml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template name="mybuycaritem">
  2. <view>
  3. <veiw
  4. class="caritem_b"
  5. >
  6. <navigator
  7. url="../orderdetail/orderdetail?id={{car.id}}"
  8. open-type="navigateTo"
  9. class="caritem_img"
  10. style="background-image:url({{car.img}})"
  11. />
  12. <view class="caritem_info">
  13. <navigator
  14. url="../orderdetail/orderdetail?id={{car.id}}"
  15. open-type="navigateTo"
  16. class="caritem_t"
  17. >{{car.title?car.title:'--'}}</navigator>
  18. <view class="caritem_time">
  19. <navigator
  20. url="../orderdetail/orderdetail?id={{car.id}}"
  21. open-type="navigateTo"
  22. class="caritem_time_i">
  23. {{car.licensetime}}上牌 | {{car.mileage}}万公里
  24. </navigator>
  25. <navigator
  26. wx:if='{{car.store_id}}'
  27. open-type="navigateTo"
  28. url="../shop/shop?id={{car.store_id}}"
  29. class="caritem_store"
  30. >
  31. {{car.store_name}}
  32. </navigator>
  33. </view>
  34. <navigator
  35. url="../orderdetail/orderdetail?id={{car.id}}"
  36. open-type="navigateTo"
  37. class="caritem_p">
  38. {{car.sale_price}}万
  39. <image class="caritem_p_img" src="../../img/placard.png"/>
  40. </navigator>
  41. <navigator
  42. url="../orderdetail/orderdetail?id={{car.id}}"
  43. open-type="navigateTo"
  44. class="caritem_guide_p">
  45. 新车指导价:<view class="caritem_guidep">{{car.guide_price}}万</view>
  46. </navigator>
  47. </view>
  48. </veiw>
  49. <view class="order_inof_b">
  50. <view class="order_price">订单总额:{{car.order_price}}万</view>
  51. <view class="order_earnest">定金:{{car.booking_price}}万</view>
  52. <view class="order_loans">{{car.paid_type}}</view>
  53. <view class="order_status">{{car.order_status===0?'已预订':car.order_status===1?'已成交':'已违约'}}</view>
  54. <navigator
  55. open-type="navigateTo"
  56. url="../orderdetail/orderdetail?id={{car.id}}"
  57. >
  58. <image class="order_link" src = "../../img/right.png"/>
  59. </navigator>
  60. </view>
  61. </view>
  62. </template>