<!--pages/setting/pages/changePhone/changePhone.wxml-->

<view class="container">
	<view class="phone-now">
		<text>当前绑定账号</text>
		<text class="phone-now-number">{{phoneNow}}</text>
	</view>
	<view class="content">
		<view class="input-content">
			<view class="label">+86</view>
			<view class="input">
				<input type="text" maxlength="13" name="phone" value="{{format_phone}}" id="" placeholder="请输入新手机号码" bindinput="savePhone"/>
			</view>
		</view>
		<view class="input-content">
			<view class="label">
				<image src="../images/setting-phone.png"></image>
			</view>

			<view class="input">
				<input type="text" name="code" id="" placeholder="请输入验证码" bindinput="saveCode"/>
				<view class="yanzheng" bindtap="toTCaptcha">
					{{yanzheng}}
				</view>
			</view>
		</view>
	</view>
	<view class="tips">
		长时间收不到验证码，可尝试再次获取验证码
	</view>
	<view class="button-content {{cansubmit?'':'opacity'}}" bindtap="submit">
		<text>确认更改手机号码</text>
	</view>
	<view class="result">
		<view>修改手机号后，可以使用新手机号登录开心工作</view>
		<view>使用原有手机号则作为新用户登录</view>
	</view>
</view>