index.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <!-- <image src='/images/good_banner.png' mode="widthFix" style='width:100%;'></image> -->
  2. <view class="common_fix common_back" hidden="{{!showBack}}" bindtap="toTop">
  3. <text class="icon icon-toTop"></text>
  4. </view>
  5. <view class="fixed-box">
  6. <view class="topCol">
  7. <navigator url='/pages/public/search/search?type=goods' class="searchBox">
  8. <text class="icon iconfont icon-search"></text>
  9. <view class="input">请输入商品关键词</view>
  10. </navigator>
  11. </view>
  12. <view class="goods-label">
  13. <view class="goods-label-box">
  14. <view class="label-el {{tagActive==-1?'tag-active':''}}" data-index="-1" data-tid="" bindtap="activeTag">优选</view>
  15. <view class="label-el {{tagActive==index?'tag-active':''}}" data-index="{{index}}" data-tid="{{item.tid}}" bindtap="activeTag" wx:for="{{tags}}" wx:key="*this">{{item.tagValue}}</view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="article">
  20. <scroll-view
  21. class="waterfall-page-wrapper"
  22. scroll-y="{{true}}"
  23. scroll-top="{{scrollTop}}"
  24. lower-threshold="{{100}}"
  25. bindscrolltolower="handleScrollLower"
  26. >
  27. <goodList list="{{dataList}}" updateLoading="{{updateLoading}}" goodsTypeId="{{typeTid}}" isAllLoaded="{{isHideLoadMore}}"></goodList>
  28. </scroll-view>
  29. </view>
  30. <!-- <view class='load-more' wx:if="{{isHideLoadMore}}">下面没有了哦</view> -->
  31. <navigator class="common_fix common_home" wx:if="{{currentPages == 1}}" open-type="reLaunch" url="/pages/home/index" hover-class="none">
  32. <text class="icon icon-home"></text>
  33. </navigator>