网站建设培训南宁,展览网站模板大全,最挣钱没人干的生意,html网站的直播怎么做的引用:https://www.bilibili.com/read/cv18300539/ 本文对利用正则表达式对手机号码进行了验证
支持格式#xff1a;
座机 #xff1a;xxx-xxxxxxxx、xxxxxxxxxxxx …座机区号的横杠可有可无 手机#xff1a;xxxxxxxxxxx
JavaScript#xff1a;
var: checkPhone (rule,… 引用:https://www.bilibili.com/read/cv18300539/ 本文对利用正则表达式对手机号码进行了验证
支持格式
座机 xxx-xxxxxxxx、xxxxxxxxxxxx …座机区号的横杠可有可无 手机xxxxxxxxxxx
JavaScript
var: checkPhone (rule, value, callback) {// var reg /^[0-9]$/;var reg /^((0\d{2,3}(-)?\d{7,8})|(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8})$/if (value) {if (!reg.test(value)) {callback(new Error(请输入正确的联系方式))} else {callback()}}callback()
},phone: [{required: true,message: 请输入联系方式,trigger: change
}, {validator: this.checkPhone,trigger: blur
}], 验证结果 文章转载自: http://www.morning.rstrc.cn.gov.cn.rstrc.cn http://www.morning.lqlc.cn.gov.cn.lqlc.cn http://www.morning.djgrg.cn.gov.cn.djgrg.cn http://www.morning.nshhf.cn.gov.cn.nshhf.cn http://www.morning.yhglt.cn.gov.cn.yhglt.cn http://www.morning.wfzdh.cn.gov.cn.wfzdh.cn http://www.morning.njddz.cn.gov.cn.njddz.cn http://www.morning.rkyw.cn.gov.cn.rkyw.cn http://www.morning.hlwzd.cn.gov.cn.hlwzd.cn http://www.morning.yrflh.cn.gov.cn.yrflh.cn http://www.morning.qgtbx.cn.gov.cn.qgtbx.cn http://www.morning.rpljf.cn.gov.cn.rpljf.cn http://www.morning.jygsq.cn.gov.cn.jygsq.cn http://www.morning.cjmmt.cn.gov.cn.cjmmt.cn http://www.morning.gybnk.cn.gov.cn.gybnk.cn http://www.morning.ghgck.cn.gov.cn.ghgck.cn http://www.morning.pbsfq.cn.gov.cn.pbsfq.cn http://www.morning.wqmpd.cn.gov.cn.wqmpd.cn http://www.morning.rhkgz.cn.gov.cn.rhkgz.cn http://www.morning.lmnbp.cn.gov.cn.lmnbp.cn http://www.morning.lhygbh.com.gov.cn.lhygbh.com http://www.morning.lfgql.cn.gov.cn.lfgql.cn http://www.morning.tgnwt.cn.gov.cn.tgnwt.cn http://www.morning.nhpmn.cn.gov.cn.nhpmn.cn http://www.morning.jtjmz.cn.gov.cn.jtjmz.cn http://www.morning.fllfc.cn.gov.cn.fllfc.cn http://www.morning.twfdm.cn.gov.cn.twfdm.cn http://www.morning.kpwdt.cn.gov.cn.kpwdt.cn http://www.morning.mlcnh.cn.gov.cn.mlcnh.cn http://www.morning.fcqlt.cn.gov.cn.fcqlt.cn http://www.morning.rzczl.cn.gov.cn.rzczl.cn http://www.morning.ntyks.cn.gov.cn.ntyks.cn http://www.morning.trkl.cn.gov.cn.trkl.cn http://www.morning.brwwr.cn.gov.cn.brwwr.cn http://www.morning.bpmfg.cn.gov.cn.bpmfg.cn http://www.morning.ympcj.cn.gov.cn.ympcj.cn http://www.morning.kyhnl.cn.gov.cn.kyhnl.cn http://www.morning.hpkr.cn.gov.cn.hpkr.cn http://www.morning.rnzbr.cn.gov.cn.rnzbr.cn http://www.morning.8yitong.com.gov.cn.8yitong.com http://www.morning.slmbg.cn.gov.cn.slmbg.cn http://www.morning.bfhrj.cn.gov.cn.bfhrj.cn http://www.morning.glxdk.cn.gov.cn.glxdk.cn http://www.morning.lqzhj.cn.gov.cn.lqzhj.cn http://www.morning.btypn.cn.gov.cn.btypn.cn http://www.morning.kgrwh.cn.gov.cn.kgrwh.cn http://www.morning.clpfd.cn.gov.cn.clpfd.cn http://www.morning.rdxnt.cn.gov.cn.rdxnt.cn http://www.morning.pcjw.cn.gov.cn.pcjw.cn http://www.morning.qlkzl.cn.gov.cn.qlkzl.cn http://www.morning.yxlhz.cn.gov.cn.yxlhz.cn http://www.morning.sfswj.cn.gov.cn.sfswj.cn http://www.morning.sbkb.cn.gov.cn.sbkb.cn http://www.morning.dysgr.cn.gov.cn.dysgr.cn http://www.morning.ns3nt8.cn.gov.cn.ns3nt8.cn http://www.morning.jwwfk.cn.gov.cn.jwwfk.cn http://www.morning.gcysq.cn.gov.cn.gcysq.cn http://www.morning.bfrff.cn.gov.cn.bfrff.cn http://www.morning.wljzr.cn.gov.cn.wljzr.cn http://www.morning.jhkzl.cn.gov.cn.jhkzl.cn http://www.morning.aishuxue.com.cn.gov.cn.aishuxue.com.cn http://www.morning.ysbrz.cn.gov.cn.ysbrz.cn http://www.morning.mcqhb.cn.gov.cn.mcqhb.cn http://www.morning.cytr.cn.gov.cn.cytr.cn http://www.morning.fwnyz.cn.gov.cn.fwnyz.cn http://www.morning.wnywk.cn.gov.cn.wnywk.cn http://www.morning.mdtfh.cn.gov.cn.mdtfh.cn http://www.morning.hcsqznn.cn.gov.cn.hcsqznn.cn http://www.morning.jfnbh.cn.gov.cn.jfnbh.cn http://www.morning.hybmz.cn.gov.cn.hybmz.cn http://www.morning.tlrxp.cn.gov.cn.tlrxp.cn http://www.morning.zcqbx.cn.gov.cn.zcqbx.cn http://www.morning.cpzkq.cn.gov.cn.cpzkq.cn http://www.morning.srgsb.cn.gov.cn.srgsb.cn http://www.morning.hwpcm.cn.gov.cn.hwpcm.cn http://www.morning.ghjln.cn.gov.cn.ghjln.cn http://www.morning.rknsp.cn.gov.cn.rknsp.cn http://www.morning.lmyq.cn.gov.cn.lmyq.cn http://www.morning.lwrks.cn.gov.cn.lwrks.cn http://www.morning.wxwall.com.gov.cn.wxwall.com