<view class="apply" data-theme="{{themeStyle}}"><block wx:if="{{status===''}}"><view><view class="{{['image',fenXiaoAgreement.agreement.img?'':'color-base-bg']}}"><block wx:if="{{fenXiaoAgreement.agreement.img}}"><image class="apply-adv" style="width:100%;" src="{{$root.g0}}" mode="widthFix"></image></block><block wx:else><view class="bg ns-gradient-otherpages-fenxiao-apply-apply-bg" data-theme="{{themeStyle}}"><view class="bg-title"><text>请填写申请信息</text></view><view class="bg-img"><image src="{{$root.g1}}" mode="scaleToFill"></image></view></view></block></view><view class="apply-wrap"><view class="app-info"><view class="info"><view class="apply-item"><view class="title">邀请人</view><text class="shuru">{{sourceMemberInfo.fenxiao_name}}</text></view><view class="apply-item"><view class="title">{{fenxiaoWords.fenxiao_name+"名称"}}</view><input class="input" type="text" maxlength="30" placeholder="{{'请输入'+fenxiaoWords.fenxiao_name+'名称'}}" placeholder-class="pla-cla" data-event-opts="{{[['input',[['__set_model',['$0','fenXiaoName','$event',[]],['formData']]]]]}}" value="{{formData.fenXiaoName}}" bindinput="__e"/></view><view class="apply-item"><view class="title">手机号</view><input class="input" type="number" placeholder="请输入手机号" maxlength="11" placeholder-class="pla-cla" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['formData']]]]]}}" value="{{formData.mobile}}" bindinput="__e"/></view><block wx:if="{{isAgreement}}"><view data-event-opts="{{[['tap',[['ckeckedRuler']]]]}}" class="apply-xy" bindtap="__e"><view class="{{['iconfont',isChecked?'iconyuan_checked color-base-text':'iconyuan_checkbox']}}"></view>我已阅读并了解<text data-event-opts="{{[['tap',[['openPopup',['$event']]]]]}}" class="color-base-text" catchtap="__e">{{"【"+fenxiaoWords.fenxiao_name+"申请协议】"}}</text></view></block><view class="apply-btn"><button data-event-opts="{{[['tap',[['applyFenXiao',['$event']]]]]}}" class="color-base-bg" bindtap="__e">{{"申请成为"+fenxiaoWords.fenxiao_name}}</button></view></view></view><block wx:if="{{fenxiaoConfig.fenxiao_condition==2||fenxiaoConfig.fenxiao_condition==3}}"><view class="apply-message-wrap"><view class="apply-message"><view class="apply-message-title color-base-bg-before">分销商申请条件</view><block wx:if="{{fenxiaoConfig.fenxiao_condition==2}}"><text class="apply-message-info font-size-goods-tag">{{'申请成为'+fenxiaoWords.fenxiao_name+",需要您的消费次数需要达到"+fenxiaoConfig.consume_count+'次'}}</text></block><block wx:if="{{fenxiaoConfig.fenxiao_condition==3}}"><text class="apply-message-info font-size-goods-tag">{{'申请成为'+fenxiaoWords.fenxiao_name+",需要您的消费金额需要达到"+fenxiaoConfig.consume_money+'元'}}</text></block></view></view></block></view></view></block><block wx:else><view class="empty"><image src="{{$root.g2}}" mode="widthFix"></image><block wx:if="{{status==1}}"><text>{{"您已提交"+fenxiaoWords.fenxiao_name+"申请，等待平台审核"}}</text></block><block wx:else><block wx:if="{{status==-1}}"><block><text>{{"您提交的"+fenxiaoWords.fenxiao_name+"申请，已被拒绝，请再接再厉"}}</text><view data-event-opts="{{[['tap',[['againApply',['$event']]]]]}}" class="again-btn color-base-bg" bindtap="__e">重新申请</view></block></block></block></view></block><block wx:if="{{fenXiaoAgreement.document}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" bindtouchmove="__e"><uni-popup class="wap-floating vue-ref" vue-id="e4148f72-1" type="center" data-ref="applyPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="conten-box"><text data-event-opts="{{[['tap',[['toClose',['$event']]]]]}}" class="iconfont iconclose" bindtap="__e"></text><view class="title">{{fenXiaoAgreement.document.title}}</view><view class="content-con"><scroll-view class="con" scroll-y="true" show-scrollbar="true"><rich-text nodes="{{fenXiaoAgreement.document.content}}"></rich-text></scroll-view></view></view></uni-popup></view></block><loading-cover class="vue-ref" vue-id="e4148f72-2" data-ref="loadingCover" bind:__l="__l"></loading-cover></view>