<!--pages/login/login.wxml-->
<view class="loginWrap">
	<image mode="widthFix" class="background" src="../../images/bind_back.png"></image>
	<view class="loginBox">
		<view class="login">
			<view class="head">绑定账户</view>
			<view class="formGroup {{mobileActive?'focus':''}} {{mLine?'active':''}}">
				<view class="label">手机号码</view>
				<input bindinput="getAccount" bindfocus="mfocusInput" bindblur="mblurInput" value="{{mobile}}" class="input" type="number" maxlength="11" />
			</view>
			<view class="formGroup {{codeActive||code?'focus':''}} {{cLine?'active':''}}">
				<view class="label">验证码</view>
				<input bindinput="getSmsCode" bindfocus="cfocusInput" bindblur="cblurInput" value="{{smsCode}}" class="input" type="number" maxlength="6" />
				<button bindtap="sendCode" disabled="{{canSend}}" class="sendCode {{canSend?'disabled':''}}">{{timeText}}</button>
			</view>
			<!-- <view class="forgetPwd">忘记密码?</view> -->
		</view>
		<view class="operaWrap">
			<view class="remember">
				<!-- <view class="iconfont icon-unselected"></view>
        <view class="text">记住账号</view> -->
			</view>
			<button bindtap="login" class="loginBtn">登录</button>
		</view>
	</view>
	<view class="bottomText">成都利锐计算机有限公司提供技术支持</view>
</view>