CINXE.COM

找回密码-供应商管理中心 - 维度网

<!DOCTYPE html> <html> <head> <title>找回密码-供应商管理中心 - 维度网</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="找回密码-供应商管理中心 - 维度网" /> <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/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_zh-cn.css?v=1732700967"> </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: #5FB878 !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; } </style> <div class="user-login-header"> <div class="wapper"> <div class="logo"> <a href="https://www.wedoany.com/zh-cn/"> <img src="https://www.wedoany.com/logo.png"> </a> <span>供应商管理中心</span> </div> <div class="tips"> <a href="https://www.wedoany.com/zh-cn/">网站首页</a> </div> </div> </div> <div class="login-wrapper layui-anim layui-anim-scale"> <form class="layui-form"> <h2>重置密码</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="请输入账户邮箱" 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="请输入验证码" autocomplete="on" lay-verType="tips" lay-verify="required" required/> <button type="button" id="btnGetCode" class="login-captcha login-captcha-btn layui-input getcode">获取验证码</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="请输入新密码" 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="请再次输入新密码" 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/zh-cn/pro/acompany/login.html" class="layui-link pull-right" style="color: #939393!important;">返回登录</a> </div> <div class="layui-form-item" style="margin-bottom: 20px;"> <button class="layui-btn layui-btn-fluid" lay-filter="loginSubmit" lay-submit>修改密码</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/zh-cn/";</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("确认退出登录吗?",{ title:"提示", btn: ["确认", "取消"] },function(){ admin.closeDialog('.layui-layer-btn0'); notice.msg("处理中", {icon: 4, close: false}); $.post("https://www.wedoany.com/zh-cn/pro/acompany/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/zh-cn/pro/api/changeLang.html",{lang:lang},function(res){ if(res.code == 200){ window.location.href = "https://www.wedoany.com/zh-cn/pro/acompany/index.html"; }else{ notice.msg(res.msg,{icon:3}); } },'json'); } }); form.verify({ required: function(value, item){ if(value == ''){ var dom = $(item); if( $('.layui-tab-title li').length > 0 ){ var stepbox = dom.parents('.step_box'); var step_id = stepbox.attr('id'); var tab_id = step_id.replace('step_', ''); $('.step_box').hide(); stepbox.show(); $('.layui-tab-title li').removeClass('layui-this'); $('.layui-tab-title li[data-step='+tab_id+']').addClass('layui-this'); } return("该项必须填写!"); } }, email:function(value, item){ var re = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/ if(!re.test(value)){ return("电子邮箱格式有误"); } }, equalToX:function(value,item){ var name = $(item).attr('lay-equalto'); var to_value = $("input"+name).val(); if( value != to_value ){ return "两次密码输入不一致"; } }, pass: [ /^[a-zA-Z0-9!@#$%^&*]{6,}$/,"密码应该为不少于6位字符的数字、字母或特殊符号:!@#$%^&*" ], username: function(value, item){ //value:表单的值、item:表单的DOM对象 if(/\W/.test(value)){ return "用户名只能使用数字、字母或者下划线"; } if(/(^\_)|(\__)|(\_+$)/.test(value)){ return "用户名首尾不能出现下划线"; } if( value.length < 6 || value.length > 20 ){ return "用户名长度应该在6-20个字符之间"; } }, 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("字数请在" + length + "字之内",{time:1000}); } else { $('.'+'a'+obj.id).text(currleg); } } // 登录im 暂时不启用 var from_user = {"name":null,"userid":null,"usertype":"company","usertype_name":"\u4f9b\u5e94\u5546","username":"company_","mobile":null,"func":"watch"}; var unread = 1; 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/zh-cn/pro/acompany/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("请输入账户邮箱",{icon:2}); smscode_can = 1; return; } var re = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/ if(!re.test(email)){ notice.msg("电子邮箱格式有误",{icon:2}); smscode_can = 1; return; } notice.msg("处理中",{icon:4}); //验证图片验证码 获取短信验证码 $.post("https://www.wedoany.com/zh-cn/pro/api/ck_code.html",{email:email,submit:'company_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("获取验证码"); }else{ $('.getcode').addClass('layui-btn-disabled').html(time+"秒后获取"); 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/zh-cn/pro/acompany/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