collect.wxml 807 B

1234567891011121314151617181920212223242526
  1. <!--pages/collect/collect.wxml-->
  2. <import src="../../module/header.wxml"/>
  3. <import src="../../module/caritem/collectcaritem.wxml"/>
  4. <scroll-view
  5. class="conent"
  6. style="height:{{windowh}}rpx;"
  7. scroll-y="{{selectbar==''?'true':'false'}}"
  8. bindscrolltolower="{{hasloadall?'':'getCollect'}}"
  9. >
  10. <template
  11. is="header"
  12. data="{{title:'我的收藏',headerheight:headerheight,hasback:true}}"
  13. />
  14. <view wx:if="{{list.length>0}}" class="collect_list">
  15. <block wx:for="{{list}}" wx:key="id">
  16. <template is="collectcaritem" data="{{car:item,index:index}}"/>
  17. </block>
  18. </view>
  19. <view wx:else class="collect_empty">
  20. <view class="collect_empty_w">还没有收藏哦~</view>
  21. <navigator url="../buy/buy" class="collect_empty_bt">去逛逛</navigator>
  22. </view>
  23. </scroll-view>