如果你对该文章中的内容有疑问/不解,可以点击此处链接提问
要注明问题和此文章链接地址 点击此处跳转
name="data[tel]" []内不加单引
<form id="register"> <div class="login_form"> <i class="iconfont icon-shoujihaoma"></i> <input type="text" name="data[tel]" placeholder="请输入手机号" required data-rule-mobile="true" data-msg-required="请输入手机号" data-msg-mobile="请输入正确的手机号码"> </div> <div class="login_form"> <i class="iconfont icon-mima"></i> <input type="text" name="verify" placeholder="验证码" required data-msg-required="请输入验证码"> <input type="button" class="get" value="发送验证码" > </div> <div class="login_form"> <i class="iconfont icon-mima"></i> <input type="password" name="data[password]" placeholder="密码" required data-msg-required="请输入您的密码"> </div><br> <input type="submit" class="login_tijiao" value="注册"> <div class="toregister">已有账号?<a href="__APP__/member/login.html">立即登录</a></div> </form>