details.wxml 1.7 KB

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