|
@@ -1,8 +1,12 @@
|
|
|
-<My_DisplayBox title="请求列表" isMore="{{false}}">
|
|
|
+<!-- 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">
|
|
|
- <!-- requestList -->
|
|
|
- <view class="company-data" wx:for="{{2}}" data-index="{{index}}" bindtap="showBtnIndex">
|
|
|
+ <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}}
|
|
@@ -14,8 +18,7 @@
|
|
|
<van-button data-index="{{index}}" custom-class="custom-class-company-data" catchtap="ratify">同意</van-button>
|
|
|
</view>
|
|
|
<!-- 下拉选择 -->
|
|
|
- <view wx:else class="pattern">
|
|
|
- <input type="text" disabled="{{!dropDownList}}" readonly bindfocus="chooseCooperationMode" bindblur="hiddenDropDown" style="width: 100%; height: 100%;position: absolute; opacity: 0;" />
|
|
|
+ <view wx:else class="pattern" catchtap="chooseCooperationMode">
|
|
|
选择合作方式
|
|
|
<van-icon name="arrow-down" />
|
|
|
<van-transition show="{{dropDownList}}" class="pattern-item-box" name="fade-down">
|
|
@@ -29,4 +32,4 @@
|
|
|
<My_pageReachBottom loadMore="{{scrolltolowerThrottle==true}}" dummyStatus="{{requestList.length>1}}"></My_pageReachBottom>
|
|
|
</scroll-view>
|
|
|
</My_DisplayBox>
|
|
|
-<view wx:if="{{dropDownList}}" style="height: 100vh; width: 100vw; position: absolute; top: 0; left: 0; background: #000; opacity: 0.3; z-index: 0;" bindtap="closeTheDropDown"></view>
|
|
|
+<view wx:if="{{dropDownList}}" style="height: 100vh; width: 100vw; position: absolute; top: 0; left: 0; z-index: 0;" bindtap="closeTheDropDown"></view>
|