<view class="container">
    <image class="logo" src="/img/logo.png"></image>
    <form bindsubmit="bindsubmit" class="form" reportSubmit="true">
        <view class="item">
            <input bindinput="input" data-name="mobile" placeholder="请输入{{type=='reset'?'新的':''}}手机号码" placeholderClass="placeholder" type="number" value="{{info.mobile}}"></input>
            <view bindtap="sendMsg" class="sendMsg" wx:if="{{!countdowntime}}">发送验证码</view>
            <view class="sendMsg" wx:if="{{countdowntime}}">{{countdowntime}}秒后重新发送</view>
        </view>
        <view class="item">
            <input bindinput="input" data-name="smscode" placeholder="验证码" placeholderClass="placeholder" value="{{info.smscode}}"></input>
        </view>
        <view class="tips"> 点击注册并登录，代表您已同意 <navigator class="a" url="/pages/webview/webview?url={{protocol.url}}">《{{protocol.name}}》</navigator>
        </view>
        <button class="{{issubmit?'btn btnsubmit':'btn '}}" formType="submit">{{type=='reset'?'绑定账号':'注册并登录'}}</button>
    </form>
</view>
