<view class="address-add">
	<view class="content">
		<view class="top">
			<van-cell-group>
				<view class="pas">
					<view class="left">
						手机号：
					</view>
					<view class="right">
						<input slot="right" type="number" placeholder="请输入手机号" readonly="readonly" value="{{mobile}}" bind:input="mobileinp"/>
					</view>
				</view>
			</van-cell-group>
			<van-cell-group wx:if="{{imgCode}}">
				<view class="pas">
					<view class="left">
						<input type="text" class="imgInput" placeholder="请输入图形验证码" value="{{captcha}}" bind:input="captchainp" />
					</view>
					<view class="right">
						<image src="{{imgCode}}" catchtap="changeImg" mode='widthFix' />
					</view>
				</view>
			</van-cell-group>
			<van-cell-group>
				<view class="code">
					<view class="left">
						<input type="text" placeholder="请输入验证码" value="{{code}}" bind:input="codeinp" />
					</view>
					<view class="right {{start1?'disabled':''}}">
						<view class="codeBtn" catchtap="sendCode">{{codetext}}</view>
					</view>
				</view>
			</van-cell-group>
		</view>
		<view class="bottom">
			<van-cell-group>
				<view class="pas">
					<view class="left">
						提出地址:
					</view>
					<view class="right">
						<input slot="right" value="{{address}}" type="text" placeholder="请输入提出地址" />
					</view>
				</view>
			</van-cell-group>
			<van-cell-group>
				<view class="qr-code">
					<view>上传提出二维码:</view>
					<view class="photoshow" catchtap="onRead">
						<image src="{{qr?qr:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png'}}" mode='widthFix' />
					</view>
					<view>注:提出地址错误，将无法找回，请认真核对，不要填错了</view>
				</view>
			</van-cell-group>
			<van-cell-group>
				<view class="pas">
					<view class="left">
						设置默认地址:
					</view>
					<view class="right">
						<van-switch checked="{{is_default}}" bind:change="rentSelect" />
					</view>
				</view>
			</van-cell-group>
		</view>
		<view class="confirm" catchtap="add">
			<view class="btn span">确定</view>
		</view>
	</view>
</view>
