鎵嬫満鍙风櫥褰旤/h1>

鐧诲綍

浼氬煿涓績|琛屼笟浼氳|琛屼笟鍩硅|浼氬憳涓績

鍏充簬鎴戜滑|濯掍綋鍚堜綔|鍏嶈矗澹版槑|鏈嶅姟鍐呭

(c)2008-2099 椋熷搧浼欎即缃 All Rights Reserved

椴両CP澶?4027462鍙?1

椴佸叕缃戝畨澶 37060202000128鍙饵/a>



杩斿洖椤堕儴灏忕伀绠?>     </span> </div>  <script> function isPhoneNumber(phoneNum) {     let reg = /^\d{11}$/;     return reg.test(phoneNum); }   $(document).ready(function(e) {    $('#code').click(function(){   $(this).attr('src','/mobile/index/img_captcha?r='+Math.random());  });    $('#get_sms_captcha').click(function(){   var phone=$('#phone').val();   var img_captcha=$('#img_captcha').val();   if(!phone){    mui.alert('璇疯緭鍏ユ墜鏈哄彿');    return;    }   if(!isPhoneNumber(phone)){    mui.alert('鎵嬫満鍙锋牸寮忎笉姝g‘');     return;   }   if(!img_captcha){    mui.alert('鍥惧舰楠岃瘉鐮佷笉鑳戒负绌?);    return;    }      //妫€鏌ユ墜鏈哄彿鏄惁娉ㄥ唽   var has_register=false;   $.ajaxSetup({async:false});   $.post('/mobile/login/check_phone',{phone:phone},function(data){    if(data.data.phone_exist){     has_register=true;    }    $.ajaxSetup({async:true});   },'json');      if(!has_register){    mui.alert('鎮ㄧ殑鎵嬫満鍙锋湭娉ㄥ唽锛屾棤娉曠櫥褰?,'',function(){         });        return;    }      var that = $(this);   $.post('/mobile/sms/send', {phone: phone,img_captcha: img_captcha,type:'login'}, function (data) {    that.attr('disabled', 'disabled');    if (parseInt(data.code)>0) {     that.html('60绉掑悗閲嶆柊鑾峰彇');     var count = 60;     var countdown = setInterval(function () {      count--;      if (0 == count) {       clearInterval(countdown);       that.html('鑾峰彇鐭俊楠岃瘉鐮?);       that.removeAttr('disabled');      } else {       that.html('' + count + '绉掑悗閲嶆柊鑾峰彇');      }     }, 1000);    } else {     that.removeAttr('disabled');     mui.alert(data.msg);     if(data.msg=='鍥惧舰楠岃瘉鐮佷笉姝g‘'){      $('#img_captcha').val('');      $('#img_captcha').focus();      $('#code').click();     }    }   },'json');     });     $('#myform').submit(function(){     var options = {    type:0){ mui.alert(data.msg,'',function(){ if(data.url){ location.href=data.url; }else{ location.href='/mobile/home/index'; } }); }else{ mui.alert(data.msg); if(data.msg=='鐭俊楠岃瘉鐮佷笉姝g‘'){ $('#sms_captcha').val(''); $('#sms_captcha').focus(); } $.post('/mobile/login/reload_token',{},function(data){ $('input[name=__token__]').val(data.data.token); },'json'); } }, dataType: "json", clearForm: false, resetForm: false, timeout: 5000 }; $(this).ajaxSubmit(options); return false; }); });
Baidu
map