<!--components/phone-input/phone-input.wxml-->
<view class="container">
	<image src="{{imgServerUrl}}/images/happyjob/login_xiaobai.png" class="bg"></image>
	<view class="header">
		<view class="title">{{title}}</view>
		<view class='inputphone'>
			<input class='inputphone-input' value="{{ iphone }}" focus='{{focus}}' type="number" placeholder="请输入手机号码" placeholder-style="color:#ccc" maxlength='11' bindinput="bindPhoneInput" />
			<view class="clear" bindtap="clear">
				<image src="/images/happyjob/clear_login.png" class="clear-image"></image>
			</view>
		</view>
	</view>
	<view class="agreement" wx:if='{{is_login}}'>
		<text>未注册开心工作的手机号码将自动注册，且代表您已经同意：</text>
		<text class="agreement-content">《用户注册协议》</text>
	</view>
	<view class="button" bindtap="toSend" style="margin-top:{{is_login?90:200}}rpx">
		<view class="button-content {{disabled?'':'opacity_5'}}">
			<text>获取短信验证码</text>
		</view>
	</view>
</view>