collect.wxml 1.0 KB

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