Browse Source

修改账号申诉bug

linehang 6 years ago
parent
commit
474b3d2669
2 changed files with 2 additions and 2 deletions
  1. 1 1
      html/yjfk/html/account_back.html
  2. 1 1
      html/yjfk/js/account_back.js

+ 1 - 1
html/yjfk/html/account_back.html

@ -65,7 +65,7 @@
                    <li class="ptb10 ml0 ui-grid-middle">
                        <div class="c-list-key">手机号码:</div>
                        <div class="c-list-info pr0">
                            <input id='phone' class="border-input" type="text" placeholder="请输入申诉人手机号码">
                            <input id='phone' class="border-input" type="text" placeholder="请输入申诉人手机号码" maxlength="11">
                        </div>
                    </li>
                </ul>

+ 1 - 1
html/yjfk/js/account_back.js

@ -203,7 +203,7 @@ function validate(){
        dialog({contentType:'tipsbox',bottom:true, skin:'bk-popup' , content:'手机号码不能为空'}).show();
        return false;
    }else{
        if(!/^(17[0-9]|13[0-9]|14[0-9]|15[0-9]|18[0-9])\d{8}$/i.test(telephone)){
        if(!/^0?(13[0-9]|15[0-9]|18[0-9]|14[57]|17[0-9]|16[0-9]|19[0-9])[0-9]{8}$/i.test(telephone)){
            dialog({contentType:'tipsbox',bottom:true, skin:'bk-popup' , content:'请输入有效的手机号码'}).show();
            return false;
        }