CINXE.COM
企业登录_生物器材网
<!DOCTYPE html> <html> <head> <meta charset="gb2312"> <meta http-equiv="X-UA-Compatible" content="IE=9;IE=8;IE=7;IE=EDGE"> <title>企业登录_生物器材网</title> <meta name="applicable-device" content="pc"> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Control" content="no-siteapp" /> <meta name="mobile-agent" content="format=xhtml; url=https://m.bio-equip.com/"> <meta name="mobile-agent" content="format=html5; url=https://m.bio-equip.com/"> <meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0"> <script type="text/javascript" src="inc/jquery-1.7.2.min.js"></script> <script > //登录 function checkLogin(){ var userName=$('.login_top input').val(); if (userName==null || userName==""){ $('.tip1').css("display","block").text('请输入用户名'); return false; }else{ //判断账号是否存在 $.ajax({ url: "check-company-login.asp?p=name", //后台处理程序 type: "post", dataType: "text", //数据发送方 data: "user=" + $("#user").val(), success: function(data) { //返回结果 var msg = JSON.parse(data); //读取jason数据 if (msg.valid ==false){ //账号不存 $('.tip1').css("display","block").text('用户名不存在'); return false; }else{ //判断密码 var pwd=$('.login_bottom input').val(); if (pwd==null || pwd==""){ $('.tip1').css("display","block").text('请输入密码!'); return false; }else{ //判断密码是否存在 $.ajax({ url: "check-company-login.asp?p=pwd", //后台处理程序 type: "post", dataType: "text", //数据发送方 data:{ "pwd": $("#pwd").val(), "user": $("#user").val()}, success: function(data) { //返回结果 var msg = JSON.parse(data); //读取jason数据 if (msg.valid ==false){ //账号密码不匹 $('.tip1').css("display","block").text('密码错误'); return false; }else { $('.tip').css("display","none"); document.login.action="memberlogin.asp"; document.login.submit(); //alert("成功登录); } } }) } } } }) } } //手机号登 function checkLogin2(){ var userName=$('#user_tel').val(); if (userName==null || userName==""){ $(' .tip2').css("display","block").text('请输入手机号'); return false; }else{ //判断账号是否存在 $.ajax({ url: "check-company-login.asp?p=name", //后台处理程序 type: "post", dataType: "text", //数据发送方 data: "user=" + $("#user_tel").val(), success: function(data) { //返回结果 var msg = JSON.parse(data); //读取jason数据 if (msg.valid ==false){ //账号不存 $('.tip2').css("display","block").text('此手机号还未注册'); return false; }else{ //判断短信验证 var pwd=$('#pwd_code').val(); if (pwd==null || pwd==""){ $('.tip2').css("display","block").text('请输入验证码'); return false; }else{ //判断验证 $.ajax({ url: "getcode_check.asp?tag=clogin", //后台处理程序 type: "post", dataType: "text", //数据发送方 //data:{ "phoneCode": $("#pwd_code").val()}, data: { //要传递的数据 phoneCode: function() { return encodeURI($("#pwd_code").val()); } }, dataType:"html", //发送的数据类型 dataFilter: function(data, type) { //返回结果 if (data == "true"){ $('.tip2').css("display","none"); document.login2.action="memberlogin.asp?tag=moblie"; document.login2.submit(); //alert("成功登录); } else{ $('.tip2').css("display","block").text('验证码错误'); return false; } } }) } } } }) } } </script> <script> function get(obj) { wait = 60; var partten = /^[1][3,4,5,7,8,9][0-9]{9}$/; if (!partten.test(document.getElementById("user_tel").value)) { $('.tip2').css("display","block").text('请输入正确的手机号!'); return false; } //判断账号是否存在 $.ajax({ url: "check-company-login.asp?p=name", //后台处理程序 type: "post", dataType: "text", //数据发送方 data: "user=" + $("#user_tel").val(), success: function(data) { //返回结果 var msg = JSON.parse(data); //读取jason数据 if (msg.valid ==false){ //账号不存 $('.tip2').css("display","block").text('此手机号还未注册~'); return false; }else{ //开始发送验证码 obj.disabled = true; time(obj); $.ajax({ url: "getcode_all.asp?tag=clogin", type: "Post", data: "Tel=" + $("#user_tel").val(), success: function(msg) { obj.disabled = false; if (msg == "ok") { $(obj).siblings("i").html("<div>验证码已经发送到您的手机,注意查收!</div>"); return; } if (msg == "error") { $('.tip2').css("display","block").text('发送失败,请联系网站管理员'); //$(obj).siblings("i").html("<div class='help-own'>发送失败,请联系网站管理员/div>"); return; } alert(msg); } }) //结束发送验证码 } } }) } function time(o) { if (wait == 0) { o.removeAttribute("disabled"); o.value="获取验证码"; wait = 60; } else { o.setAttribute("disabled", true); o.value="重新发送" + wait + ")"; wait--; setTimeout(function() { time(o) }, 1000) } } </script> <style> body{margin:0 auto;padding:0;font-family:微软雅黑;color:#555;} a{color:#555;text-decoration:none;} a:hover{color:#ff0000;text-decoration:underline;} input{outline:none;} img{border:0;} .blank{clear:both;} .login_header{width:960px;margin:0 auto;padding:0;} .login_logo{margin:17px 0 10px;} .login_logo span{color:#666;font-size:24px;position:relative;top:-20px;margin-left:30px;} .login_main{width:100%; height:440px;overflow:hidden; position:relative;} .leftnews{position:absolute;top:30px;left:0;width:580px;height:390px;} .login_part{position:relative;margin:0 auto;width:960px;z-index:99;} .login_partin{width:345px;height:390px;position:absolute;top:20px;right:0;background:#fff;border:1px solid #ecedee;} .login_partin h1{margin:20px 0 5px;text-align:center;font-size:15px;font-weight:normal;border-bottom:1px solid #ecedee; height:40px;} .user_label{background:url(newpic/user.jpg) no-repeat;width:27px;height:36px;position:absolute;margin:1px 0 0 12px;*margin:2px 0 0 12px;} .pwd_label{background:url(newpic/pwd.jpg) no-repeat;width:27px;height:36px;position:absolute;margin:1px 0 0 12px;*margin:2px 0 0 12px;} .login_partin input{width:230px;height:34px;line-height:34px;*height:36px;*line-height:36px;border:1px solid #c7c7c7;font-size:15px;padding-left:50px;color: #999;background:none;} .login_partin input:focus{border:1px solid #16a556;} #Button1:focus{border:1px solid #16a556;} .login_user, .login_pwd{color:#999;position:absolute;top:10px;*top:12px;left:50px;font-family:Arial;font-size:15px;} .login_div{width:280px;margin:0 auto;} .login_top{margin-bottom:20px;position:relative;} .login_bottom{position:relative;} .login_div i{font-style:normal;font-size:12px;float:right;margin:8px 0;} .tip_div{height:30px;*height:8px;} .tip{font-size:13px;color:#ff0000;margin-bottom:10px;border:1px solid #faccc6;background:#ffebeb url(newpic/tip.png) 10px center no-repeat;padding:2px 36px;display:none;} .login_btn a{background:url(newpic/loginbtn.jpg) no-repeat;width:280px;height:44px;line-height:44px;color:#fff;font-size:18px;text-align:center;display:inline-block;} .login_btn a:hover{text-decoration:none;background:url(newpic/loginbtn2.jpg) no-repeat;} .login_que{text-align:center;font-size:12px;margin:20px 0;} .login_reg{float:right;font-size:16px;color:#16a556;} .login_reg a{color:#16a556;} .login_reg a:hover{color:#16a556;} .login_reg img{position:relative;top:3px;margin-right:3px;} .login_banner{width:1920px; height:480px; position:absolute; left:50%; margin-left:-960px;} .login_footer{width:960px;margin:20px auto;padding:0;text-align:center;font-size:12px;line-height:24px;} .login_partin ul{list-style:none;padding:0;margin:0;width:100%;height:60px;margin-bottom:5px;} .login_partin ul li{list-style:none;padding:0;margin:0;width:33%;*width:49.9%;display:inline-block;height:60px;float:left;cursor:pointer;} .login_partin ul li.hit h1{border-bottom:2px solid #16a556;} .login_div{display:none;} .help-own{ font-size: 85%; text-align:center} .i-status{ padding:0px; margin:0px;color:#a94442;} input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { -webkit-transition-delay: 99999s; -webkit-transition: color 99999s ease-out, background-color 99999s ease-out; -webkit-box-shadow: 0 0 0px 1000px white inset;} .qcodeWX{ background:url(newpic/wx_icon.jpg) right no-repeat;} </style> </head> <body> <!-- 头部 start --> <div class="login_header"> <div class="login_logo"><a href="index.asp"><img src="newpic/logo.jpg" alt=""></a><span> 企业版</span></div> </div> <!-- 头部 end --> <!-- 中间 start --> <div class="login_main"> <!-- 登录 start --> <div class="login_part"> <!-- left 广告start --> <div class="leftnews"> </div> <!-- left 广告end --> <div class="login_partin"> <ul> <li class="hit"><h1>账号登录</h1></li> <li><h1>手机登录</h1></li> <li class="qcodeWX"><h1>微信登录</h1></li> </ul> <div class="login_divpage"> <!-- 企业登录 --> <div class="login_div login_div1" style="display:block;"> <div class="tip_div"><div class="tip tip1"></div></div> <form method="POST" action="" name=login id=login> <div class="login_top"> <label for="user" class="user_label"></label> <input type="text" name="user" id="user" autocomplete="off" placeholder="用户名/手机/邮箱" /> <span class="login_user"></span> </div> <div class="login_bottom"> <label for="pwd" class="pwd_label"></label> <input type="password" name="pwd" id="pwd" autocomplete="off" placeholder="密码"/> <span class="login_pwd"></span> </div> <i><a href="getpassword.asp" style="color:#16a556;">忘记密码?</a></i> <div class="blank"></div> <div class="login_btn"><a href="javascript:;" onClick="checkLogin();">登录</a></div> </form> <div class="login_que">如需帮助,请拨打或咨询:<br/><strong style="font-size:13px;color:#222;">021-64166852</strong></div> <div class="login_reg"><a href="reg_cagree.html"><img src="newpic/pic.jpg" alt=""> <strong>立即注册</strong></a></div> <div class="blank"></div> </div> <!-- 手机登录 --> <div class="login_div login_div2"> <div class="tip_div"><div class="tip tip2"></div></div> <form method="POST" action="" name=login2 id=login2 > <div class="login_top login_top2"> <label for="user" class="user_label"></label> <input type="text" name="user_tel" id="user_tel" autocomplete="off" placeholder="手机号码"/> <span class="login_user"></span> </div> <div class="login_bottom"> <label for="pwd" class="pwd_label"></label> <input type="password" name="pwd_code" id="pwd_code" style="width:120px" autocomplete="off" placeholder="短信验证"/> <span class="login_pwd"></span> <input id="Button1" type="button" value="获取验证码" onClick="get(this)" style="height:37px;width:100px;cursor:pointer;padding:0px; background-color:#f2f2f2;color:#666"> <i class="i-status" style="float:left" ></i> </div> <i style="display:block; clear:both"><a href="getpassword.asp" style="color:#16a556;">忘记密码?</a></i> <div class="blank"></div> <div class="login_btn"><a href="javascript:;" onClick="checkLogin2();">登录</a></div> </form> <div class="login_que">如需帮助,请拨打或咨询:<br/><strong style="font-size:13px;color:#222;">021-64166852</strong></div> <div class="login_reg"><a href="reg_cagree.html"><img src="newpic/pic.jpg" alt=""> <strong>立即注册</strong></a></div> <div class="blank"></div> </div> <!-- 微信登录 --> <div class="login_div login_div3" > <div class="tip_div"><div class="tip tip1"></div></div> <script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/jquery.min.js"></script> <script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js" ></script> <script> $('.login_partin ul li').click(function() { var obj = new WxLogin({ self_redirect: false, id:"wx_login_container", appid: "wxff3cb738ad0e8097", //开放号 scope: "snsapi_login", // 开放号 redirect_uri: "https://www.bio-equip.com/memberlogin.asp?tag=weixin", state: "", style: "black", href: "https://www.bio-equip.com/css/weixin.css", //https://某个域名下的css文件 }); }); </script> <div id="wx_login_container"></div> <div class="login_que">如需帮助,请拨打或咨询:<br/><strong style="font-size:13px;color:#222;">021-64166852</strong></div> <div class="login_reg"><a href="reg_cagree.html"><img src="newpic/pic.jpg" alt=""> <strong>立即注册</strong></a></div> <div class="blank"></div> </div> <!-- 微信登录 --> </div> </div> </div> <!-- 登录 end --> <div class="login_banner"> <img src="newpic/banner.jpg" alt=""> </div> </div> <!-- 中间 end --> <!-- 底部 start --> <div class="login_footer"> <a href="about.html">关于我们</a> | <a href="protocol.html">法律声明</a> | <a href="webprice.html">广告报价</a> | <a href="https://www.bio-equip.cn">English</a> | <a href="http://www.bio-equip.com/sitemap.htm">网站地图</a> <br/> Copyright(C) 1998-2023生物器材网 网站电话: 021-64166852, 13621656896 E-mail: info@bio-equip.com </div> <!-- 底部 end --> <script> $(function(){ //登录切换 $('.login_partin ul li').click(function(){ $(this).addClass('hit').siblings().removeClass('hit'); $('.login_divpage>div:eq('+$(this).index()+')').show().siblings().hide(); }) //$('.weixin').click(function(){ // $(".login_div1").toggle(); // $(".login_div2").toggle(); // $(".login_div3").toggle(); //}) //点击对应文字输入框显示光标111111111111 $(".login_div1 .login_user").on("click",function(){ $(".login_div1 .login_top input").focus(); }) $(".login_div1 .login_pwd").on("click",function(){ $(".login_div1 .login_bottom input").focus(); }) //用户名input-键盘按下文字隐藏与显示111111111111 var value = $('.login_div1 .login_top input').val(); txtValue(value); $('.login_div1 .login_top input').keydown(function(){ setTimeout(function(){ value = $('.login_div1 .login_top input').val(); txtValue(value); },0) }) $('.login_div1 .login_top input').keyup(function(){ value = $('.login_div1 .login_top input').val(); txtValue(value); }) function txtValue(value) { if(value == "" || value == null) { $('.login_div1 .login_user').show(); } else { $('.login_div1 .login_user').hide(); } } //密码input-键盘按下文字隐藏与显示 111111111111 var value = $('.login_div1 .login_bottom input').val(); txtPwd(value); $('.login_div1 .login_bottom input').keydown(function(){ setTimeout(function(){ value = $('.login_div1 .login_bottom input').val(); txtPwd(value); },0) }) $('.login_div1 .login_bottom input').keyup(function(){ value = $('.login_div1 .login_bottom input').val(); txtPwd(value); }) function txtPwd(value) { if(value == "" || value == null) { $('.login_div1 .login_pwd').show(); } else { $('.login_div1 .login_pwd').hide(); } } }) </script> <script> //点击对应文字输入框显示光标2222222222 $(".login_div2 .login_user").on("click",function(){ $(".login_div2 .login_top input").focus(); }) $(".login_div2 .login_pwd").on("click",function(){ $(".login_div2 .login_bottom #pwd_code").focus(); }) //用户名input-键盘按下文字隐藏与显示2222222222 var value = $('.login_div2 .login_top input').val(); txtValue(value); $('.login_div2 .login_top input').keydown(function(){ setTimeout(function(){ value = $('.login_div2 .login_top input').val(); txtValue(value); },0) }) $('.login_div2 .login_top input').keyup(function(){ value = $('.login_div2 .login_top input').val(); txtValue(value); }) function txtValue(value) { if(value == "" || value == null) { $('.login_div2 .login_user').show(); } else { $('.login_div2 .login_user').hide(); } } //密码input-键盘按下文字隐藏与显示2222222222 var value = $('.login_div2 .login_bottom input').val(); txtPwd(value); $('.login_div2 .login_bottom input').keydown(function(){ setTimeout(function(){ value = $('.login_div2 .login_bottom input').val(); txtPwd(value); },0) }) $('.login_div2 .login_bottom input').keyup(function(){ value = $('.login_div2 .login_bottom input').val(); txtPwd(value); }) function txtPwd(value) { if(value == "" || value == null) { $('.login_div2 .login_pwd').show(); } else { $('.login_div2 .login_pwd').hide(); } } </script> </body> </html>