<view class="extension">
	<view class="myextension">
		<view class="banner">
			<image src="{{info_img}}" wx:if="{{!(info_img=='' ||info_img==undefined||info_img==null)}}" mode='widthFix' />
			<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/myextension.png"
				wx:if="{{(info_img=='' ||info_img==undefined||info_img==null)}}" mode='widthFix' />
		</view>
		<view class="main">
			<view class="welcome apply-info" wx:if="{{becomeType_1}}">
				<view class="text">
					<view class="p">欢迎加入<text class="span">{{become_1_info_2}}</text>，请填写申请信息</view>
					<view class="p">邀请人：
						<text class="span">{{become_1_info_1}}</text> 请核实
					</view>
				</view>
				<view class="info">
					<view class="name">
						<van-cell-group>
							<van-field label="姓名:" value="{{para_name}}" placeholder="请填写真实姓名" border="{{ false }}"
								bind:blur="paraNameinp" />
						</van-cell-group>
					</view>
					<view class="member">
						<van-cell-group>
							<van-field label="电话:" type="number" value="{{para_phone}}" placeholder="请填写手机号码方便联系" border="{{ false }}"
								bind:blur="paraPhoneinp" />
						</van-cell-group>
					</view>
				</view>
				<view class="btn" catchtap="become_1_click">申请推广</view>
			</view>
			<view class="new_extension">
				<view class="title" wx:if="{{!becomeType_1}}">
					<view class="h1">推广申请</view>
					<view class="p">{{extensionTips}}</view>
				</view>
				<view class="ul text">
					<block wx:for="{{become_term_id}}" wx:key="index">
						<view class="li" wx:if="{{item == 2}}">
							<icon class="iconfont icon-finger"></icon>
							<view class="p">本店累计消费满<text class="span">{{become_3_info_1}}</text> {{language['元']}}， 才可成为推广员，您已消费<text
									class="span">{{become_3_info_2?become_3_info_2:0}}</text>
								{{language['元']}}，请继续努力！</view>
						</view>
						<view class="li" wx:if="{{item == 3}}">
							<icon class="iconfont icon-finger"></icon>
							<view class="p">本店累计消费满 <text class="span">{{become_2_info_1}}</text>次， 才可成为推广员，您已消费<text
									class="span">{{become_2_info_2?become_2_info_2:0}}</text>次，请继续努力！</view>
						</view>
						<view class="li" wx:if="{{item == 4}}">
							<icon class="iconfont icon-finger"></icon>
							<view class="p">本店需购买指定专区商品，才可以成为推广员，请去挑选购买吧！<text class="btn span" catchtap="gotoShopGood">进入专区商品
									>>></text></view>
						</view>
						<view class="li" wx:if="{{item == 5}}">
							<icon class="iconfont icon-finger"></icon>
							<view class="p">自购销售佣金累计达到<text class="span">{{become_selfmoney}}</text>{{language['元']}}</view>
						</view>
					</block>

				</view>
				<view class="info" wx:if="{{!becomeType_1}}">
					<view class="btn" catchtap="become_3_click">
						<van-icon color="#fff" size="36rpx" name="shopping-cart" /> 继续去购物
					</view>
				</view>
			</view>
			<view class="vip_main" wx:if="{{!isCheck}}">
				<view class="title">推广特权</view>
				<view class="vip vip1">
					<view class="ico1">
						<van-icon color="#fff" size="36rpx" name="qr" />
					</view>
					<view class="text">
						<view class="t1">专属二维码</view>
						<view class="t2">拥有专属推广二维码，用于推广客户；</view>
					</view>
				</view>
				<view class="vip">
					<view class="ico2">
						<van-icon color="#fff" size="40rpx" name="gold-coin-o" />
					</view>
					<view class="text">
						<view class="t1">推广收入</view>
						<view class="t2">推广的客户购买商品后，您将获得相应的推广收入；</view>
					</view>
				</view>
			</view>
		</view>
		<view class="success" wx:if="{{isCheck}}">
			<view class="ico">
				<van-icon name="passed" size="160rpx" color="#32cd32" />
			</view>
			<view class="text">您的申请已经提交，请等待审核！</view>
			<view class="a" catchtap="goHome">
				<view class="sub">去商城逛逛</view>
			</view>
		</view>
	</view>
</view>
<!--<shopfoot></shopfoot>-->