CINXE.COM

酷易搜-找回密码

<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <meta name="applicable-device" content="pc"> <title>酷易搜-找回密码</title> <meta name="Keywords" content="找回密码,取回密码" /><meta name="Description" content="帮助用户取回密码" /><base target="_blank" /> <script type="text/javascript">document.domain = 'kuyiso.com';</script> <link rel="shortcut icon" href="//static.kuyiso.com/images/favicon.ico"/> <link rel="bookmark" href="//static.kuyiso.com/images/favicon.ico"/> <meta name="360-site-verification" content="2cce6b94d8dc416d520a51fb4b3faf18" /> <meta name="bytedance-verification-code" content="q7i26X/5P4QG8FqU4QrD" /> <link rel="canonical" href="http://my.kuyiso.com/findpwd.html"> <title>酷易搜-找回密码</title> <meta name="Keywords" content="找回密码,取回密码" /> <meta name="Description" content="帮助用户取回密码" /> <script type="text/javascript" src="//static.kuyiso.com/js/jquery.js"></script> </head> <body> <div class="topbar"> <div class="topbar-inner"> <div class="bar-right"> <div class="login"> <a href="http://www.kuyiso.com/" title="B2B电子商务网站">返回酷易搜首页</a> <span class="gap">|</span> <a target="_self" href="http://my.kuyiso.com/">个人中心</a> </div> </div> </div> </div> <div class="container"> <div class="header"> <a href="http://www.kuyiso.com" class="pull-left"><div class="logo"></div></a><span class="subject">找回密码</span> </div><link rel="stylesheet" href="//static.kuyiso.com/css/zizhu/findpwd.css"> <div class="dele_phone"> <div class="flow_chart"> <span class="one current_one">1 确认账户</span> <span class="two">2 验证信息</span> <span class="three">3 重设密码</span> <span class="four">4 完成</span> </div> <div class="fillin_cont step1"> <p class="user left01"> <span class="name">手机:</span> <input class="input wid" type="text" id="mobile" placeholder="输入注册手机号" autocomplete="off"> <span class="validato"></span> </p> <p class="user left01"> <span class="name">验证码:</span> <input class="input wid" type="text" id="vdcode" placeholder="请输入数字" autocomplete="off"> <span class="validato"></span> </p> <p class="user left01"> <span class="name"></span> <img src="http://my.kuyiso.com/get/virfycoder.do" alt="看不清?点击更换" align="absmiddle" onclick="this.src='http://my.kuyiso.com/get/virfycoder.do?random='+Math.random();"> <span class="hyh" onClick="$(this).prev('img').attr('src', 'http://my.kuyiso.com/get/virfycoder.do?random='+Math.random());"><a>换一张</a></span> </p> <p class="user left01"> <span class="name"></span> <a class="next_butn step1but" id="nextstep">下一步</a><span class="validato"></span> </p> </div> <div class="fillin_cont step2_mobile"> <div class="mobile_confirm"> <i class="success"></i>动态码已通过短信发送到“<a></a>”的手机号! </div> <p class="user left02"> <span class="name">短信动态码:</span> <input class="input w_code" id="smscode" placeholder="请输入手机动态码" autocomplete="off"> <span class="validato"></span> </p> <p class="user left02"> <span class="name"></span> <a class="next_butn step2but">下一步</a> </p> </div> <div class="fillin_cont step3"> <p class="user left01"> <span class="name">输入新密码:</span> <input class="input wid" type="password" id="password" autocomplete="off"> <span class="validato"></span> </p> <p class="user left01"> <span class="name">确认新密码:</span> <input class="input wid" type="password" id="password2" autocomplete="off"> <span class="validato"></span> </p> <p class="user left01"> <span class="name"></span> <a class="next_butn step3but">下一步</a> </p> </div> <div class="fillin_cont step4"> <p class="user center"> <span class="finish">恭喜您,新密码设置成功</span> </p> <p class="user center mtop"> <a class="next_butn" href="http://my.kuyiso.com/login.html">去登录</a> </p> </div> </div> </div> <script> var chkname=false,t=0,m=$('#mobile'),c=$('#vdcode'),s=$('#smscode'),p=$('#password'),p2=$('#password2'); m.on('blur', function() { var v=m.val(),ts=m.next('.validato'); if(/^1\d{10}$/.test(v)) t=1; if(t) { var url = "http://my.kuyiso.com/chk/login_name.do?word=" + encodeURI(m.val()); $.ajax({ type: "get", url: url, async: false, success: function(res) { if (res && res.indexOf("success") > -1) { showmsg({'t':'mobile', 'm':'用户不存在'}); chkname = false; } else { showmsg({'t':'mobile', 'm':''}); chkname = true; } } }); } else { showmsg({'t':'mobile', 'm':'请输入手机'}); chkname = false; } }); $('.step1but').on('click', function() { if(!chkname) return; if(t==1) { var u = "http://my.kuyiso.com/get/sms.do?mobile="+m.val()+"&vdcode="+c.val()+"&t=1&random="+Math.random(); $.ajax({ type: "get", async: false, url: u, dataType: "json", success: function(data) { if(data['r']) { $('.fillin_cont').hide(); $('.step2_mobile').show(); $('.mobile_confirm').find('a').html(m.val()); $('.flow_chart').find('span:eq(0)').removeClass('current_one'); $('.flow_chart').find('span:eq(1)').addClass('current_two'); } else { if(data['t']=='smscode') { $('.hyh').trigger('click'); data['t']='nextstep'; } showmsg(data); } } }); } }); $('.step2but').on('click', function() {console.log(s.val()); if(s.val()) { var u="http://my.kuyiso.com/chk/smscode.do?v="+s.val()+'&m='+m.val();console.log(u); $.ajax({ type: "get", async: false, url: u, success: function(data) {console.log(data); if(data && data.indexOf("success") > -1) { $('.fillin_cont').hide(); $('.step3').show(); $('.flow_chart').find('span:eq(1)').removeClass('current_two'); $('.flow_chart').find('span:eq(2)').addClass('current_three'); } else { var d={'t':'smscode','m':data}; showmsg(d); } } }); } }); $('.step3but').on('click', function() { var errmsg = '密码必须包含字母和数字,长度至少6位'; if(!p.val()){ showmsg({'t':'password', 'm':errmsg}); } else if (!(/[a-zA-Z]+/.test(p.val())) || !(/[0-9]+/.test(p.val()))){ showmsg({'t':'password', 'm':errmsg}) } else { showmsg({'t':'password', 'm':''}); if(p.val()!=p2.val()) showmsg({'t':'password2', 'm':'两次密码不一致'}); else { showmsg({'t':'password2', 'm':''}); var u="http://my.kuyiso.com/findpwd/uppwd.do?a=1"; $.ajax({ type: "post", async: false, url: u, data: {'smscode':s.val(), 'mobile':m.val(), 'pwd':p.val()}, dataType: "json", success: function(data) { if(data['r']) { $('.fillin_cont').hide(); $('.step4').show(); $('.flow_chart').find('span:eq(2)').removeClass('current_three'); $('.flow_chart').find('span:eq(3)').addClass('current_four'); } else { showmsg(data); } } }); } } }); $('input').on('focus', function() { var showmsg=$(this).next('.validato'); showmsg.html(''); showmsg.removeClass('valid'); showmsg.removeClass('error'); }); function showmsg(d) {console.log(d); var showmsg=$('#'+d['t']).next('.validato'); showmsg.html(d['m']); showmsg.removeClass(d['m']?'valid':'error'); showmsg.addClass(d['m']?'error':'valid'); } if(m.val()) {m.trigger('blur');} </script> <p class="bottom">© 2023 kuyiso.com</p> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10