<My_GeneralTemplate overflowHidden="{{false}}" padBot="20rpx">
    <view style="padding: 0 30rpx; box-sizing: border-box;">
        <My_GreyRectangleForm title="商户名" required>
            <view class="right-text">{{partnerDetails.fbrand}}</view>
        </My_GreyRectangleForm>
        <My_GreyRectangleForm title="商户logo" required>
            <image style="z-index: 9;" class="logo" src="{{partnerDetails.attinfos[0].fobsurl}}" mode="aspectFill" catchtap="previewImg"></image>
        </My_GreyRectangleForm>
        <My_GreyRectangleForm title="是否合作">
            <van-switch checked="{{ checked }}" bind:change="onChange" />
        </My_GreyRectangleForm>
        <My_GreyRectangleForm title="合作方式" required>
            <view class="right-text" catchtap="dropDown">{{showType}}
                <van-icon size="12px" name="arrow-down" />
            </view>
            <van-transition show="{{dropDownList}}" class="pattern-item-box" style="z-index: 999;" name="fade">
                <view class="pattern-item" bindtap="modeSelect">
                    <view wx:for="{{methodsList}}" data-index="{{index}}" data-name="{{item}}">{{item}}</view>
                </view>
            </van-transition>
        </My_GreyRectangleForm>
    </view>
</My_GeneralTemplate>
<!-- 提交按钮 -->
<view class="submit_but" wx:if="{{!fisadministrator}}">
    <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">保存</van-button>
</view>
<view wx:if="{{dropDownList}}" style="height: 100vh; width: 100vw; position: absolute; top: 0; left: 0; opacity: 0.3; z-index: 0;" bindtap="closeTheDropDown"></view>