<!-- tabs -->
<My_NavTabs tabsList="{{tabsList}}" bindsetIndex="setIndex"></My_NavTabs>
<!-- 二维码 -->
<My_TwoDimensionalCode wx:if="{{tabsIndex==0}}" title="合作二维码" codeName="合作二维码"></My_TwoDimensionalCode>
<!-- 列表 -->
<My_DisplayBox wx:else title="请求列表" isMore="{{false}}">
    <image slot="display-box-img" class="display-title_image" src="/static/icon-05.png" mode="aspectFit"></image>
    <scroll-view class="list-scroll-view" scroll-y bindscrolltolower="scrolltolower">
        <view class="company-data" wx:for="{{requestList}}" data-index="{{index}}" bindtap="showBtnIndex">
            <image class="company-data-image" src="{{item.attinfos[0].fobsurl}}"></image>
            <view class="company-data-brandName u-line-1">
                {{item.fbrand}}
            </view>
            <!-- 按钮 -->
            <view wx:if="{{showBtn==index}}" class="company-data-but">
                <view wx:if="{{!pattern}}">
                    <van-button data-index="{{index}}" custom-class="custom-class-company-data jujue" style="margin-right: 20rpx;" catchtap="refuse">拒绝</van-button>
                    <van-button data-index="{{index}}" custom-class="custom-class-company-data" catchtap="ratify">同意</van-button>
                </view>
                <!-- 下拉选择 -->
                <view wx:else class="pattern" catchtap="chooseCooperationMode">
                    选择合作方式
                    <van-icon name="arrow-down" />
                    <van-transition show="{{dropDownList}}" class="pattern-item-box" name="fade-down">
                        <view class="pattern-item" bindtap="modeSelect">
                            <view wx:for="{{methodsList}}" data-index="{{index}}">{{item}}</view>
                        </view>
                    </van-transition>
                </view>
            </view>
        </view>
        <My_pageReachBottom loadMore="{{scrolltolowerThrottle==true}}" dummyStatus="{{requestList.length!=0}}"></My_pageReachBottom>
    </scroll-view>
</My_DisplayBox>
<view wx:if="{{dropDownList}}" style="height: 100vh; width: 100vw; position: absolute; top: 0; left: 0; z-index: 0;" bindtap="closeTheDropDown"></view>