修改短信验证
This commit is contained in:
parent
33ea1082f1
commit
6a4d5ac0ad
26
index.html
26
index.html
@ -1168,7 +1168,31 @@
|
|||||||
|
|
||||||
//发送二维码
|
//发送二维码
|
||||||
$('#sendRegCode').click(function () {
|
$('#sendRegCode').click(function () {
|
||||||
Btnsettimeou()
|
|
||||||
|
if(!$("#mobile").val()){
|
||||||
|
Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text: '请填写联系方式!',
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定'
|
||||||
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if($("#mobile").val().length != 11){
|
||||||
|
Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text: '请填写正确联系方式!',
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定'
|
||||||
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Btnsettimeou()
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user