index.wxml 1.4 KB

123456789101112131415161718192021222324
  1. <!-- 搜索 -->
  2. <My_SearchInputBox flexd='{{true}}' bind:searchQuery="searchQuery" route="product" fisadministrator="{{fisadministrator}}" bindisOnShow='isOnShow'></My_SearchInputBox>
  3. <!-- 列表 -->
  4. <My_GeneralTemplate padBot="20rpx">
  5. <view class="product_list">
  6. <!-- tabs -->
  7. <van-tabs swipeable active="{{ active }}" bind:change="tabsChange" color="#4BBECF" title-active-color='#4BBECF'>
  8. <van-tab title="全部">
  9. </van-tab>
  10. <van-tab title="上架中">
  11. </van-tab>
  12. <van-tab title="已下架">
  13. </van-tab>
  14. </van-tabs>
  15. <!-- 占位 -->
  16. <view style="height: 30rpx;"></view>
  17. <!-- 滚动区域 -->
  18. <scroll-view scroll-y="true" style="max-height: 60vh;" scroll-top='500rpx' bindscrolltolower="scrolltolower">
  19. <!-- 产品列表 -->
  20. <My_MembersAndProducts wx:for="{{productList}}" wx:key="{{item.tagents_productid}}" bind:changeMessage="changeProductMessage" data-index="{{index}}" attinfos="{{item.attinfos}}" imgSize="120rpx" radius="8rpx" title="{{item.fprodname}}" twoRow="{{item.fintroduction}}" threeRow="{{item.ftag}}" fisadministrator="{{fisadministrator}}"></My_MembersAndProducts>
  21. <My_pageReachBottom dummyStatus="{{productList.length>=1}}" loadMore="{{pageNumber>=pageTotal}}"></My_pageReachBottom>
  22. </scroll-view>
  23. </view>
  24. </My_GeneralTemplate>