collectcaritem.wxml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <template name="collectcaritem">
  2. <view
  3. class="caritem_b">
  4. <navigator
  5. open-type="navigateTo"
  6. url="../cardetail/cardetail?id={{car.id}}"
  7. class="caritem_img"
  8. style="background-image:url({{car.img}})"
  9. />
  10. <view class="caritem_info">
  11. <navigator
  12. open-type="navigateTo"
  13. url="../cardetail/cardetail?id={{car.id}}"
  14. class="caritem_t"
  15. >{{car.title?car.title:'--'}}</navigator>
  16. <view class="caritem_time">
  17. {{car.licensetime}}上牌 | {{car.mileage}}万公里
  18. <navigator
  19. open-type="navigateTo"
  20. catchtap=""
  21. url="../shop/shop?id={{car.store_id}}"
  22. class="caritem_store"
  23. >
  24. {{car.store_name}}
  25. </navigator>
  26. </view>
  27. <view class="caritem_p">
  28. {{car.sale_price}}万
  29. <image class="caritem_p_img" src="../../img/placard.png"/>
  30. </view>
  31. <view class="caritem_guide_p">
  32. 新车指导价:<view class="caritem_guidep">{{car.guide_price}}万</view>
  33. <image class="delete_collect" bindtap="deleteCollect" data-id="{{car.id}}" data-ind="{{index}}" src="../../img/delete.png"/>
  34. </view>
  35. </view>
  36. </view>
  37. </template>