<ion-view view-title="注册" hide-nav-bar="false">
    <ion-content >
        <div class="list">
            <label class="item item-input item-select item-select-width">
                <span class="input-label">
                    类型
                </span>
                <select ng-model="vm.type" ng-options="x.value as x.name for x in typeOpt"></select>
            </label>
    
            <label class="item item-input item-select item-select-width">
                <span class="input-label">
                    证件类型
                </span>
                <select ng-model="vm.idcard_type" ng-options="x.value as x.name for x in idcard_typeOpt"></select>
            </label>
            <label class="item item-input">
                <input type="text" ng-model="vm.idcard_no" placeholder="证件号码">
            </label>
            <div class="item item-input">
                <input type="tel" ng-model="vm.mobile" placeholder="手机号码">
                <button   ng-click="getVerifyCode()" class="button button-assertive" style="margin-right:5px">{{vm.waitSeconds}}</button>
            </div>
           
            <label class="item item-input">
                <input type="text" ng-model="vm.verifyCode" placeholder="手机验证码">
            </label>
            <label class="item item-input">
                <input type="password" ng-model="vm.password" placeholder="密码(6位以上数字和字母)">
            </label>
            <label class="item item-input">
                <input type="password" ng-model="vm.password1" placeholder="再次输入密码">
            </label>
            
        </div>
        <div class="padding">
            <button class="button button-block button-positive" ng-click="save()">注册使用</button>
            <span>已有帐号？<a ui-sref="login">去登陆</a></span>
        </div>
    </ion-content>
</ion-view>