<!-- 搜索 -->
<My_SearchInputBox bind:searchQuery="searchQuery" route="product" fisadministrator="{{fisadministrator}}"></My_SearchInputBox>
<!-- 列表 -->
<My_GeneralTemplate padBot="20rpx">
    <view class="product_list">
        <!-- tabs -->
        <van-tabs swipeable active="{{ active }}" bind:change="tabsChange" color="#4BBECF" title-active-color='#4BBECF'>
            <van-tab title="全部">
                <!-- 占位 -->
                <view style="height: 30rpx;"></view>
                <!-- 滚动区域 -->
                <scroll-view scroll-y="true" style="max-height: 60vh;" lower-threshold="500px" scroll-top="0px" bindscrolltolower="scrolltolower">
                    <!-- 产品列表 -->
                    <My_MembersAndProducts wx:for="{{productList}}" wx:key="{{item.tagents_productid}}" bind:changeMessage="changeProductMessage" data-index="{{index}}" attinfos="{{item.attinfos[0]}}" imgSize="120rpx" radius="8rpx" title="{{item.fprodname}}" twoRow="{{item.fintroduction}}" threeRow="{{item.ftag}}"  fisadministrator="{{fisadministrator}}"></My_MembersAndProducts>
                    <!-- 上拉到底，加载中样式 -->
                    <van-loading wx:if="{{pageTotal>pageNumber}}" style="width: 100%;display: flex; justify-content: center;" size="24px" color="#4BBECF">加载中...</van-loading>
                    <!-- 全部加载完成 -->
                    <van-divider wx:else contentPosition="center">我也是有底线的</van-divider>
                </scroll-view>
            </van-tab>
            <van-tab title="上架中">
                <!-- 占位 -->
                <view style="height: 30rpx;"></view>
                <!-- 滚动区域 -->
                <scroll-view scroll-y="true" style="max-height: 60vh;" bindscrolltolower="scrolltolower">
                    <!-- 产品列表 -->
                    <My_MembersAndProducts wx:for="{{productList}}" wx:key="{{item.tagents_productid}}" bind:changeMessage="changeProductMessage" data-index="{{index}}" attinfos="{{item.attinfos[0]}}" imgSize="120rpx" radius="8rpx" title="{{item.fprodname}}" twoRow="{{item.fintroduction}}" threeRow="{{item.ftag}}"  fisadministrator="{{fisadministrator}}"></My_MembersAndProducts>
                    <!-- 上拉到底，加载中样式 -->
                    <van-loading wx:if="{{pageTotal>pageNumber}}" style="width: 100%;display: flex; justify-content: center;" size="24px" color="#4BBECF">加载中...</van-loading>
                    <!-- 全部加载完成 -->
                    <van-divider wx:else contentPosition="center">我也是有底线的</van-divider>
                </scroll-view>
            </van-tab>
            <van-tab title="已下架">
                <!-- 占位 -->
                <view style="height: 30rpx;"></view>
                <!-- 滚动区域 -->
                <scroll-view scroll-y="true" style="max-height: 60vh;" bindscrolltolower="scrolltolower">
                    <!-- 产品列表 -->
                    <My_MembersAndProducts wx:for="{{productList}}" wx:key="{{item.tagents_productid}}" bind:changeMessage="changeProductMessage" data-index="{{index}}" attinfos="{{item.attinfos[0]}}" imgSize="120rpx" radius="8rpx" title="{{item.fprodname}}" twoRow="{{item.fintroduction}}" threeRow="{{item.ftag}}" fisadministrator="{{fisadministrator}}"></My_MembersAndProducts>
                    <!-- 上拉到底，加载中样式 -->
                    <van-loading wx:if="{{pageTotal>pageNumber}}" style="width: 100%;display: flex; justify-content: center;" size="24px" color="#4BBECF">加载中...</van-loading>
                    <!-- 全部加载完成 -->
                    <van-divider wx:else contentPosition="center">我也是有底线的</van-divider>
                </scroll-view>
            </van-tab>
        </van-tabs>
    </view>
</My_GeneralTemplate>