作者 anyv
1 个管道 的构建 通过 耗费 0 秒

a

... ... @@ -57,7 +57,7 @@
</div>
<div class="tx_maskCon2">
<!-- 输入手机号 -->
<input class="tx_maskInput" style="margin-bottom: 0.25rem;" type="text" placeholder="请输入手机号" maxlength="11" id="phone"/>
<input class="tx_maskInput" style="margin-bottom: 0.25rem;" type="number" placeholder="请输入手机号" maxlength="11" id="phone"/>
<input class="tx_maskInput" style="margin-bottom: 0.25rem;" id="Ver_code" type="text" placeholder="请输入验证码" />
<input type="button" class="btn" id="code" value="获取验证码" onclick="codeButton()">
<!-- 确定 -->
... ... @@ -209,12 +209,6 @@
*手机号验证点击确定时
*/
function Message_validation(){
// function checkPhone() {
// if(!(/^1[34578]\d{9}$/.test(phone))) {
// alert("手机号码有误,请重填");
// return false;
// }
// }
yzm = $('#Ver_code').val();
phone = $('#phone').val();
if(phone == '' || !(/^1[34578]\d{9}$/.test(phone))){
... ...