details.wxml 1.9 KB

123456789101112131415161718192021222324252627282930
  1. <My_GeneralTemplate overflowHidden="{{false}}" padBot="20rpx">
  2. <view style="padding: 0 30rpx; box-sizing: border-box;">
  3. <My_GreyRectangleForm title="商户名" required>
  4. <view class="right-text">{{partnerDetails.fbrand}}</view>
  5. </My_GreyRectangleForm>
  6. <My_GreyRectangleForm title="商户logo" required>
  7. <image wx:if="{{partnerDetails.attinfos[0].fobsurl}}" style="z-index: 9;" class="logo" src="{{partnerDetails.attinfos[0].fobsurl}}" mode="aspectFill" catchtap="previewImg"></image>
  8. <image wx:else style="z-index: 9;" class="logo" src="/static/tacitly-approve/MRlogo.png" mode="aspectFill" catchtap="previewImg"></image>
  9. </My_GreyRectangleForm>
  10. <My_GreyRectangleForm title="是否合作">
  11. <van-switch checked="{{ checked }}" size="24px" active-color="#4CBECF" bind:change="onChange" />
  12. </My_GreyRectangleForm>
  13. <My_GreyRectangleForm title="合作方式" required>
  14. <view class="right-text" catchtap="dropDown">{{showType}}
  15. <van-icon size="12px" name="arrow-down" />
  16. </view>
  17. <van-transition show="{{dropDownList}}" class="pattern-item-box" style="z-index: 999;" name="fade">
  18. <view class="pattern-item" bindtap="modeSelect">
  19. <view wx:for="{{methodsList}}" data-index="{{index}}" data-name="{{item}}">{{item}}</view>
  20. </view>
  21. </van-transition>
  22. </My_GreyRectangleForm>
  23. </view>
  24. </My_GeneralTemplate>
  25. <!-- 提交按钮 -->
  26. <view class="submit_but" wx:if="{{!fisadministrator}}">
  27. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">保存</van-button>
  28. </view>
  29. <view wx:if="{{dropDownList}}" style="height: 100vh; width: 100vw; position: absolute; top: 0; left: 0; opacity: 0.3; z-index: 0;" bindtap="closeTheDropDown"></view>