mybuy.wxml 791 B

123456789101112131415161718192021222324252627
  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:{{contentheight}}px;"
  10. bind:scrolltolower="{{hasloadall?'':'getMyBuy'}}"
  11. >
  12. <view wx:if="{{list.length>0}}" class="mybuy_list">
  13. <block wx:for="{{list}}" wx:key="id">
  14. <template is="mybuycaritem" data="{{car:item,index:index}}"/>
  15. </block>
  16. </view>
  17. <view wx:else class="mybuy_empty">
  18. <view class="mybuy_empty_w">您还没有相关订单,快去预约吧!</view>
  19. <navigator
  20. open-type="reLaunch"
  21. url="../buy/buy"
  22. class="mybuy_empty_bt">去逛逛
  23. </navigator>
  24. </view>
  25. </page-scroll>