CINXE.COM

Retrieve password-Member Centre - Wedoany

<!DOCTYPE html> <html> <head> <title>Retrieve password-Member Centre - Wedoany</title> <meta name="Generator" content="秦皇岛百图网络科技有限公司--专注高端网站建设-https://www.bytul.com " /> <meta charset="utf-8" /> <link rel="shortcut icon" href="" /> <link rel="bookmark" href="" /> <meta name="title" content="Retrieve password-Member Centre - Wedoany" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"> <!--[if lt IE 9]> <script src="https://www.wedoany.com/statics/images/pro/js/html5shiv.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/respond.min.js"></script> <![endif]--> <!-- <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/js/easytpl/libs/layui/css/layui.css"/> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/js/easytpl/module/admin.css?v=318"> --> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/easytpl/libs/layui/css/layui.css"/> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/easytpl/module/admin.css?v=318"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/reset.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/css.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/acompany.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/acompany_en.css?v=1732378677"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/keyframes.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/iconfont.css"> <link rel="stylesheet" href="https://www.wedoany.com/statics/images/pro/css/css_en.css?v=1732378677"> </head> <body class="layui-layout-body theme-white"><style> body { background-image: url("https://www.wedoany.com/statics/images/easytpl/images/bg-login.jpg"); background-repeat: no-repeat; background-size: cover; min-height: 100vh; background-position: top center; } body:before { content: ""; background-color: rgba(0, 0, 0, .2); position: fixed; top: 0; left: 0; right: 0; bottom: 0; } .login-wrapper { max-width: 420px; padding: 20px; margin: 0 auto; position: relative; box-sizing: border-box; z-index: 2; font-size: 14px; } .login-wrapper > .layui-form { padding: 25px 30px; background-color: #fff; box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.19); box-sizing: border-box; border-radius: 4px; } .login-wrapper > .layui-form > h2 { color: #333; font-size: 18px; text-align: center; margin-bottom: 25px; } .login-wrapper > .layui-form > .layui-form-item { margin-bottom: 25px; position: relative; } .login-wrapper > .layui-form > .layui-form-item:last-child { margin-bottom: 0; } .login-wrapper > .layui-form > .layui-form-item > .layui-input { height: 46px; line-height: 46px; border-radius: 2px !important; } .login-wrapper .layui-input-icon-group > .layui-input { padding-left: 46px; } .login-wrapper .layui-input-icon-group > .layui-icon { width: 46px; height: 46px; line-height: 46px; font-size: 20px; color: #909399; position: absolute; left: 0; top: 0; text-align: center; } .login-wrapper > .layui-form > .layui-form-item.login-captcha-group { padding-right: 135px; } .login-wrapper > .layui-form > .layui-form-item.login-captcha-group > .login-captcha { height: 46px; width: 120px; cursor: pointer; box-sizing: border-box; border: 1px solid #e6e6e6; border-radius: 2px !important; position: absolute; right: 0; top: 0; } .login-wrapper > .layui-form > .layui-form-item > .layui-form-checkbox { margin: 0 !important; padding-left: 25px; } .login-wrapper > .layui-form > .layui-form-item > .layui-form-checkbox > .layui-icon { width: 15px !important; height: 15px !important; } .login-wrapper > .layui-form .layui-btn-fluid { height: 48px; line-height: 48px; font-size: 16px; border-radius: 2px !important; } .login-wrapper > .layui-form > .layui-form-item.login-oauth-group > a > .layui-icon { font-size: 26px; } .login-copyright { color: #eee; padding-bottom: 20px; text-align: center; position: relative; z-index: 1; } @media screen and (min-height: 550px) { .login-wrapper { margin: -250px auto 0; position: absolute; top: 50%; left: 0; right: 0; width: 100%; } .login-copyright { position: absolute; bottom: 0; right: 0; left: 0; } } .layui-btn { background-color: var(--color-red)!important; border-color: var(--color-red)!important; font-size: 14px!important; } .layui-link { color: #636363 !important; } .login-captcha-btn { line-height: 44px; text-align: center; background-color: transparent; outline: none; color: #666; padding: 0 !important; } /** 获取图形验证码弹窗 */ .layer-get-code { padding: 25px 25px; } .layer-get-code > p { color: #666; font-size: 16px; } .layer-get-code > .lay-code-group { position: relative; padding-right: 135px; margin: 15px 0; } .layer-get-code > .lay-code-group > .layui-input { border-radius: 0; height: 46px; line-height: 46px; background-color: transparent; border-color: rgba(111, 121, 122, 0.3); } .layer-get-code > .lay-code-group > img { position: absolute; right: 0; top: 0; height: 46px; width: 120px; box-sizing: border-box; cursor: pointer; } .layer-get-code .layui-btn-fluid { line-height: 50px; height: 50px; } /** //获取图形验证码弹窗 */ .layui-btn-disabled { cursor: not-allowed !important; color: #999 !important; } .layui-btn { background-color: #E64545!important; border-color: #E64545!important; } </style> <div class="user-login-header"> <div class="wapper"> <div class="logo"> <a href="https://www.wedoany.com/en/"> <img src="https://www.wedoany.com/logo.png"> </a> <span>Member Centre</span> </div> <div class="tips"> <a href="https://www.wedoany.com/en/">Website Homepage</a> </div> </div> </div> <div class="login-wrapper layui-anim layui-anim-scale"> <form class="layui-form"> <h2>Reset Password</h2> <div class="layui-form-item layui-input-icon-group"> <i class="layui-icon layui-icon-cellphone"></i> <input class="layui-input" name="email" placeholder="Please enter your account email" autocomplete="on" lay-verType="tips" lay-verify="email" required/> </div> <div class="layui-form-item layui-input-icon-group login-captcha-group"> <i class="layui-icon layui-icon-auz"></i> <input class="layui-input" name="code" placeholder="Please enter code" autocomplete="on" lay-verType="tips" lay-verify="required" required/> <button type="button" id="btnGetCode" class="login-captcha login-captcha-btn layui-input getcode">Get verification code</button> </div> <div class="layui-form-item layui-input-icon-group"> <i class="layui-icon layui-icon-password"></i> <input class="layui-input" name="password" placeholder="Please enter a new password" type="password" lay-verType="tips" lay-verify="required|pass" required/> </div> <div class="layui-form-item layui-input-icon-group"> <i class="layui-icon layui-icon-key"></i> <input class="layui-input" name="password2" placeholder="Please enter the new password again" type="password" lay-verType="tips" lay-verify="equalToX" lay-equalTo="[name=password]" required/> </div> <div class="layui-form-item"> <a href="https://www.wedoany.com/en/pro/amember/login.html" class="layui-link pull-right">Back to login</a> </div> <div class="layui-form-item" style="margin-bottom: 20px;"> <button class="layui-btn layui-btn-fluid" lay-filter="loginSubmit" lay-submit>Change Password</button> </div> </form> </div> <script type="text/javascript">var APP_PATH = "https://www.wedoany.com/";</script> <script type="text/javascript">var APP_PATH_LANG = "https://www.wedoany.com/en/";</script> <script src="https://www.wedoany.com/statics/images/pro/js/jquery.min.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/lazyload.min.js"></script> <!-- <script src="https://www.wedoany.com/statics/images/pro/js/easytpl/libs/layui/layui.js"></script> <script src="https://www.wedoany.com/statics/images/pro/js/easytpl/js/common.js?v=318"></script> --> <script src="https://www.wedoany.com/statics/images/easytpl/libs/layui/layui.js"></script> <script src="https://www.wedoany.com/statics/images/easytpl/js/common.js?v=318"></script> <script src="https://www.wedoany.com/statics/images/pro/js/member_js.js"></script> <script type="text/javascript" src="https://www.wedoany.com/statics/js/NIM/vue2.js"></script> <script src='https://www.wedoany.com/statics/js/socket.io.js'></script> </body> </html> <script> var wordLeg; layui.use(['layer','admin','notice','form','util'], function () { var $ = layui.jquery; var layer = layui.layer; var admin = layui.admin; var notice = layui.notice; var form = layui.form; var util = layui.util; //退出登录 util.event('lay-active', { logout: function(othis){ admin.confirm("Are you sure you want to log out?",{ title:"Tip", btn: ["Confirm", "Cancel"] },function(){ admin.closeDialog('.layui-layer-btn0'); notice.msg("Processing", {icon: 4, close: false}); $.post("https://www.wedoany.com/en/pro/amember/logout.html",{},function(res){ notice.destroy(); if( res.code == 200 ){ window.location.reload(); }else{ notice.msg(res.msg, {icon: 2}); } },'json'); }); }, changeLang:function(othis){ var _this = $(othis); var lang = _this.attr('data-lang'); $.post("https://www.wedoany.com/en/pro/api/changeLang.html",{lang:lang},function(res){ if(res.code == 200){ window.location.href = "https://www.wedoany.com/en/pro/amember/index.html"; }else{ notice.msg(res.msg,{icon:3}); } },'json'); } }); form.verify({ required: function(value, item){ if(value == ''){ return("This must be filled in!"); } }, email:function(value, item){ var re = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/ if(!re.test(value)){ return("Email address format is wrong"); } }, equalToX:function(value,item){ var name = $(item).attr('lay-equalto'); var to_value = $("input"+name).val(); if( value != to_value ){ return "The passwords inputted twice are inconsistent"; } }, pass: [ /^[a-zA-Z0-9!@#$%^&*]{6,}$/,"Password must be at least 6 characters long" ], username: function(value, item){ //value:表单的值、item:表单的DOM对象 if(/\W/.test(value)){ return "The username can only use numbers, letters or underlines"; } if(/(^\_)|(\__)|(\_+$)/.test(value)){ return "The username cannot have underlines at the beginning and end."; } if( value.length < 6 || value.length > 20 ){ return "Username's length should be between 6-20 characters"; } }, checkbox: function(value, item){ //value:表单的值、item:表单的DOM对象 if(!$(item).is(':checked')){ return $(item).attr('tipstext'); } } }); wordLeg = function(obj) { var currleg = $("#"+obj.id).val().length; var length = $("#"+obj.id).attr('maxlength'); if (currleg > length) { layer.msg("You can also enter " + length + " letters",{time:1000}); } else { $('.'+'a'+obj.id).text(currleg); } } // 登录im 暂时不启用 var from_user = {"name":null,"userid":null,"usertype":"member","usertype_name":"\u4f1a\u5458","username":"member_","mobile":null,"func":"watch"}; var unread = 0; var app = new Vue({ el: '#app', data:{ from_user:from_user, webSocket:'', unread:unread }, created:function(){ this.init(this.from_user.username); }, methods:{ init:function(username){ var _this = this; _this.wsInit(); }, wsInit:function(){ var _this = this; _this.webSocket = new WebSocket("wss://im.wedoany.com:2888"); _this.webSocket.onopen = _this.wsOnopen; _this.webSocket.onerror = _this.wsOnerror; _this.webSocket.onclose = _this.wsOnclose; _this.webSocket.onmessage = _this.wsOnmessage; }, wsOnopen:function(e){ var _this = this; // 登录 var login_data = { type:'login', data:_this.from_user }; _this.webSocket.send( JSON.stringify(login_data) ); // 心跳 _this.wsPing(); }, wsOnerror:function(e){ }, wsOnclose:function(e){ }, wsOnmessage:function(e){ var _this = this; var msg = JSON.parse(e.data); if( msg.type == 'pong' ){ // 有新的会话进入 }else if( msg.type == 'now_session' ){ this.playSound(); }else if( msg.type == 'new_msg' ){ this.getUnread(); this.playSound(); }else if( msg.type == 'comein' ){ this.playSound(); } }, wsPing(){ var _this = this; var pp_data = { type:'ping' }; _this.webSocket.send( JSON.stringify(pp_data) ); setTimeout(function(){ _this.wsPing( JSON.stringify(pp_data) ); },10000); }, getUnread:function(){ var _this = this; $.post("https://www.wedoany.com/en/pro/amember/getUnread.html",{},function(res){ _this.unread = res.data; },'json'); }, playSound:function (){ var src = APP_PATH_LANG + 'statics/images/easytpl/module/notice/4.wav'; if (!!window.ActiveXObject || "ActiveXObject" in window) { // IE var embed = document.noticePlay; if (embed) { embed.remove(); } embed = document.createElement('embed'); embed.setAttribute('name', 'noticePlay'); embed.setAttribute('src', src); embed.setAttribute('autostart', true); embed.setAttribute('loop', false); embed.setAttribute('hidden', true); document.body.appendChild(embed); embed = document.noticePlay; embed.volume = 100; } else { // 非IE var audio = document.createElement('audio'); audio.setAttribute('hidden', true); audio.setAttribute('src', src); document.body.appendChild(audio); audio.addEventListener('ended', function () { audio.parentNode.removeChild(audio); }, false); audio.play(); } }, openIM:function(url){ this.unread = 0; window.open(url); } } }) }); </script><script> layui.use(['layer','notice','form','carousel','formX'], function () { var $ = layui.jquery; var layer = layui.layer; var notice = layui.notice; var form = layui.form; $('.login-wrapper').removeClass('layui-hide'); var time = 60; var smscode_can = 1; $('.getcode').click(function(){ if(smscode_can == 1){ smscode_can = 0; var email = $('input[name=email]').val(); if( !email ){ notice.msg("Please enter your account email",{icon:2}); smscode_can = 1; return; } var re = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/ if(!re.test(email)){ notice.msg("Email address format is wrong",{icon:2}); smscode_can = 1; return; } notice.msg("Processing",{icon:4}); //验证图片验证码 获取短信验证码 $.post("https://www.wedoany.com/en/pro/api/ck_code.html",{email:email,submit:'member_forget_password'},function(res){ notice.destroy(); if( res.code == 200 ){ notice.msg(res.msg,{icon:1}); //短信获取倒计时 smscode_time(); }else{ smscode_can = 1; notice.msg(res.msg,{icon:2}); } },'json'); } }); function smscode_time(){ setTimeout(function(){ time--; if( time <= 0 ){ smscode_can = 1; $('.getcode').removeClass('layui-btn-disabled').html("Get verification code"); }else{ $('.getcode').addClass('layui-btn-disabled').html(time+"s"); smscode_time(); } },1000); } /* 表单提交 */ form.on('submit(loginSubmit)', function (obj) { data = obj.field; data.dosubmit = 1; $.post("",data,function(res){ if( res.code == 200 ){ notice.msg(res.msg,{icon:1}); setTimeout(function(){ window.location.replace("https://www.wedoany.com/en/pro/amember/login.html"); },1000) }else{ smscode_can = 1; notice.msg(res.msg,{icon:2}); } },'json'); return false; }); }); </script>

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