mybuy.wxml 845 B

12345678910111213141516171819202122232425262728
  1. <import src="../../module/header.wxml"/>
  2. <import src="../../module/caritem/mybuycaritem.wxml"/>
  3. <template
  4. is="header"
  5. data="{{title:'我买的车',headerheight:headerheight,hasback:true}}"
  6. />
  7. <page-scroll
  8. className="conent"
  9. styleSheet="height:{{windowh-headerheight}}rpx;"
  10. scroll-y="{{selectbar==''?'true':'false'}}"
  11. bind:scrolltolower="{{hasloadall?'':'getMyBuy'}}"
  12. >
  13. <view wx:if="{{list.length>0}}" class="mybuy_list">
  14. <block wx:for="{{list}}" wx:key="id">
  15. <template is="mybuycaritem" data="{{car:item,index:index}}"/>
  16. </block>
  17. </view>
  18. <view wx:else class="mybuy_empty">
  19. <view class="mybuy_empty_w">您还没有相关订单,快去预约吧!</view>
  20. <navigator
  21. open-type="reLaunch"
  22. url="../buy/buy"
  23. class="mybuy_empty_bt">去逛逛
  24. </navigator>
  25. </view>
  26. </page-scroll>