CINXE.COM
找回密码
<!doctype html> <html> <head><meta charset="utf-8" /><title> 找回密码 </title><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="stylesheet" href="/fresh/css/ty_regis.css" /><link rel="stylesheet" href="/fresh/layui-v2.7.6/layui/css/layui.css" /> <script src="/fresh/js/ML_jquery.min.js"></script> <script src="/fresh/layui-v2.7.6/layui/layui.js"></script> <link rel="stylesheet" href="/fresh/css/findpwd.css" /><link rel="stylesheet" href="/fresh/css/ML_animate.min.css" /> <script src="/fresh/js/ML_wow.js"></script> <script src="/js/spm.js" type="text/javascript"></script> <style type="text/css"> .msg_erro { height: 0px; line-height: 30px; border: none; max-width: 1000px; background: #FCF1F1; color: #CC3333; margin: 0 auto; margin-bottom: 15px; overflow: hidden; } .er { height: 30px; line-height: 30px; background: url(/images/msg_icon_15x15_8.png) 15px -53px no-repeat; padding-left: 45px; display: block; } </style> </head> <body style="background-color: #f5f5f6;"> <div class="ty_regis_top"> <div class="ty_regis_top_con"> <a href="javascript:window.open('/', '_self');" class="ty_logo"><img src="/fresh/images/loginlogo.png" alt=""></a> <div class="find_top"><a href="javascript:window.open('/', '_self');" class="goback">返回首页</a> <span>|</span> <a href="/register">注册</a></div> </div> </div> <!-- 找回密码 开始--> <div class="findpwd"> <div class="findpwdcon"> <link rel="stylesheet" href="/fresh/css/bwizard.min.css"> <strong>找回密码</strong> <div class="msg_erro"> <span class="er"></span> </div> <!-- --> <div class="mb_step"> <span>1</span> <p>填写账户名</p> </div> <!-- --> <ol class="bwizard-steps clearfix clickable"> <li class="active"><span class="label badge-inverse">1</span><a class="hidden-phone">填写账户名</a></li> <li class=""><span class="label badge-inverse">2</span><a class="hidden-phone">验证身份</a></li> <li class=""><span class="label badge-inverse">3</span><a class="hidden-phone">设置新密码</a></li> <li class=""><span class="label badge-inverse">4</span><a class="hidden-phone">完成</a></li> </ol> <div class="inputGroup"> <div class="inputGroupItem"> <p>用户名:</p> <input name="txt_use_name" type="text" id="txt_use_name" maxlength="11" placeholder="注册时登记的手机号码" /> </div> <div class="inputGroupItem verifyInput"> <p>验证码:</p> <input name="txt_yzm" type="text" id="txt_yzm" maxlength="4" placeholder="请输入验证码" /> <img id="code" src="/tools/Code.aspx" style="cursor:pointer" alt="点击切换验证码" title="点击切换验证码" onclick="ToggleCode(this, '/tools/Code.aspx');return false;"> </div> <a href="javascript:mySubmit()" class="nexttick">下一步</a> </div> </div> </div> <!-- 找回密码 结束 --> <div class="ty_regis_copy"> © 2008- <script type="text/javascript"> var myDate = new Date(); document.write(myDate.getFullYear());</script> 腾云网 版权所有 </div> <script type="text/javascript"> function ToggleCode(obj, codeurl) { $(obj).attr("src", codeurl + "?time=" + Math.random()); } </script> <script type="text/javascript"> //定义提示 function myTips(info) { setTimeout(function() { $(".msg_erro .er").html(info); $(".msg_erro").animate({ height: "30px" }, 300); }, 1); setTimeout(function() { $(".msg_erro").animate({ height: "0px" }, 300); }, 3000); } function mySubmit() { var _use_name = $("#txt_use_name").val(); var _code = $("#txt_yzm").val(); if (!_use_name) { myTips("请输入用户名"); $("#txt_use_name").focus(); return false; } if (!_code) { myTips("请输入验证码"); $("#txt_yzm").focus(); return false; } //校验验证码 var match; $.ajax({ type: "get", async: false, // 设置同步方式 ******** url: "/Tools/Bida/CheckCode.aspx?Code=" + _code, datatype: "json", success: function(msg) { match = msg; } }); if (match == "0") //验证码错误 { myTips("验证码错误"); $("#txt_yzm").focus(); return false; } //校验验证码是否存在 var match_name; $.ajax({ type: "get", async: false, // 设置同步方式 ******** url: "/Tools/GetPassword/CheckUserName.aspx?con=" + _use_name, datatype: "json", success: function(msg) { match_name = msg; } }); if (match_name == "0") //用户名不存在 { myTips("用户名不存在"); $("#txt_use_name").focus(); return false; } else { window.location = "/findpwd/way?userName=" + _use_name + "&spm=" + GetCode(6); } } </script> </body> </html>