collectcaritem.wxml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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">{{car.licensetime}}上牌 | {{car.mileage}}万公里
  17. <navigator
  18. open-type="navigateTo"
  19. catchtap=""
  20. url="../shop/shop?id={{car.store_id}}"
  21. class="caritem_store"
  22. >{{car.store_name}}
  23. </navigator>
  24. </view>
  25. <view class="caritem_p">{{car.sale_price}}万
  26. <image class="caritem_p_img" src="../../img/placard.png"/>
  27. </view>
  28. <view class="caritem_guide_p">新车指导价:<view class="caritem_guidep">{{car.guide_price}}万</view>
  29. <image class="delete_collect" bindtap="deleteCollect" data-id="{{car.id}}" data-ind="{{index}}" src="../../img/delete.png"/>
  30. </view>
  31. </view>
  32. </view>
  33. </template>