applyFor.wxml 2.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <My_DisplayBox title="请求列表" isMore="{{false}}">
  2. <image slot="display-box-img" class="display-title_image" src="/static/icon-05.png" mode="aspectFit"></image>
  3. <scroll-view class="list-scroll-view" scroll-y bindscrolltolower="scrolltolower">
  4. <!-- requestList -->
  5. <view class="company-data" wx:for="{{2}}" data-index="{{index}}" bindtap="showBtnIndex">
  6. <image class="company-data-image" src="{{item.attinfos[0].fobsurl}}"></image>
  7. <view class="company-data-brandName u-line-1">
  8. {{item.fbrand}}
  9. </view>
  10. <!-- 按钮 -->
  11. <view wx:if="{{showBtn==index}}" class="company-data-but">
  12. <view wx:if="{{!pattern}}">
  13. <van-button data-index="{{index}}" custom-class="custom-class-company-data jujue" style="margin-right: 20rpx;" catchtap="refuse">拒绝</van-button>
  14. <van-button data-index="{{index}}" custom-class="custom-class-company-data" catchtap="ratify">同意</van-button>
  15. </view>
  16. <!-- 下拉选择 -->
  17. <view wx:else class="pattern">
  18. <input type="text" disabled="{{!dropDownList}}" readonly bindfocus="chooseCooperationMode" bindblur="hiddenDropDown" style="width: 100%; height: 100%;position: absolute; opacity: 0;" />
  19. 选择合作方式
  20. <van-icon name="arrow-down" />
  21. <van-transition show="{{dropDownList}}" class="pattern-item-box" name="fade-down">
  22. <view class="pattern-item" bindtap="modeSelect">
  23. <view wx:for="{{methodsList}}" data-index="{{index}}">{{item}}</view>
  24. </view>
  25. </van-transition>
  26. </view>
  27. </view>
  28. </view>
  29. <My_pageReachBottom loadMore="{{scrolltolowerThrottle==true}}" dummyStatus="{{requestList.length>1}}"></My_pageReachBottom>
  30. </scroll-view>
  31. </My_DisplayBox>
  32. <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>