<!--pages/mine/wxml/Connect/Connect.wxml--> 
<view class='container'>
<form bindsubmit="formSubmit" id="container" bindreset="formReset">
  <view class='count'>
    <view class='phone'>
      <text>手机号</text>
      <input name="phone" placeholder="请填写手机号" type='number' bindinput ="phone"></input>
    </view>
    <view class='phone'>
      <view class='verification'>
        <text> 验证码</text>
      </view>
      <input class='inp' placeholder="请填写验证码" bindinput='verification'></input>
      <button bindtap='obtain' style="background:{{setInformation?'#00db00':'#ccc'}}" disabled="{{!setInformation}}">
        {{setInformation?'获取验证码': countdown+'s后重新发送'}}
      </button>
    </view>
    <view class="tip">
      <text>如手机号未注册，验证后将自动注册。</text>
    </view>
    <button class='btn' bindtap='signin'>
     登录
    </button>
  </view>
  </form>
</view>