<div class="register"> <form action="../../db/adduser.php" class="d-b ta-c" name="form" method="post"> <div class="form-line ta-l p-r"> <span class="icon account va-t d-ib"></span> <input name="phone" ng-model="user.phone" validator="required,phone" class="d-ib" type="text" placeholder="输入手机号"> </div> <div class="form-line ta-l p-r"> <span class="icon lock va-t d-ib"></span> <input name="password" ng-model="user.password" validator="required,password" class="d-ib" type="password" placeholder="设置6位以上的密码"> </div> <div class="message-wrap ta-l p-r"> <input name="code" validator="required" ng-model="user.code" class="message-box" placeholder="短信验证码" type="text"> <span class="message f-r {{time?'disabled':''}}" ng-click="time?1==1:send();" ng-bind="time?time:'发送短信'"></span> <div class="clear"></div> </div> <button class="login-btn" ui-sref="login">登录</button> <button class="register-btn" validation-submit="form" ng-click="submit()">注册</button> </form></div>
1 回答
我爱钱端
TA贡献14条经验 获得超3个赞
<div class="register"> <form action="../../db/adduser.php" class="d-b ta-c" name="form" method="post"> <div class="form-line ta-l p-r"> <span class="icon account va-t d-ib"></span> <input name="phone" ng-model="user.phone" validator="required,phone" class="d-ib" type="text" placeholder="输入手机号"> </div> <div class="form-line ta-l p-r"> <span class="icon lock va-t d-ib"></span> <input name="password" ng-model="user.password" validator="required,password" class="d-ib" type="password" placeholder="设置6位以上的密码"> </div> <div class="message-wrap ta-l p-r"> <input name="code" validator="required" ng-model="user.code" class="message-box" placeholder="短信验证码" type="text"> <span class="message f-r {{time?'disabled':''}}" ng-click="time?1==1:send();" ng-bind="time?time:'发送短信'"></span> <div class="clear"></div> </div> <button class="login-btn" ui-sref="login">登录</button> <button class="register-btn" validation-submit="form" ng-click="submit()">注册</button> </form> </div>
- 1 回答
- 0 关注
- 1606 浏览
添加回答
举报
0/150
提交
取消