<!-- 手机号 -->
<view class='inputphone'>
  <input class='add' value="{{ iphone }}" type="number" placeholder="请输入手机号码" placeholder-style="color:rgba(187, 187, 187, 1)" maxlength='11' bindinput="bindPhoneInput" />
</view>
<!-- 验证码 -->
<view class='inputyzm'>
  <input class='add' value="{{ yzm }}" type="number" placeholder="请输入短信验证码" placeholder-style="color:rgba(187, 187, 187, 1)" maxlength='6' bindinput="bindYzmInput" disabled='{{iphone.length!=11}}' />
  <view class="{{ iphone.length ==11? 'getyzm1':'getyzm'}}" bindtap='sendCode'>{{ djs || '获取验证码'}}</view>
</view>

<view class='tips'>
  <text class='tiplong'>未注册开心工作的手机号将自动注册，且代表您已同意：《</text>
  <text class='tipclick'>用户注册协议</text>
  <text class='tipclick'>》</text>
</view>

<view class="{{ yzm.length ==6? 'login1':'login'}}" bindtap='phone_login'>
  <view class='logintext'>登录</view>
</view>