var phone = that.data.inputvalue if(!(/^1[3456789]\d{9}$/.test(phone))){ alert(\'请填写正确的手机号\') } 相关文章: