http://caibaojian.com/regexp-example.htmlhtml
var phone = this.d.phone if(!(/^1[34578]\d{9}$/.test(phone))){ this.msg("店长手机号码有误"); return false; }this