CINXE.COM

用户登录

<!DOCTYPE html><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=GBK"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="format-detection" content="telephone=no" /> <title>用户登录</title> <link rel="stylesheet" href="source/plugin/tom_ucenter/images/style.css?v=20210105" /> <script src="source/plugin/tom_ucenter/images/jquery.min-2.1.3.js" type="text/javascript"></script> <script type="text/javascript"> var commonjspath = 'source/plugin/tom_ucenter/images'; </script> <script src="source/plugin/tom_ucenter/images/common.js?v=20210105" type="text/javascript" type="text/javascript"></script> </head><style> .tc-template__color{color:#5cabd7 !important;} .tc-template__bg{background:#5cabd7 !important;} .tc-template__border{ border-color:#5cabd7 !important;} </style><body class="body-white login"> <section class="header-close"> <a class="back" onclick="location.href='plugin.php?id=tom_tongcheng&site=1&mod=index';"></a> </section> <section class="main" style="width: 95%;"> <section class="wrap"> <form name="loginForm" id="loginForm"> <input type="hidden" name="formhash" value="0bcd775f"> <section class="logo1"> <img src="" /> </section> <section class="item"> <section class="sec-input input-user"> <input type="text" name="tel" id="tel" placeholder="请输入手机号" /> </section> </section> <section class="item"> <section class="sec-input input-pwd"> <input type="password" name="pwd" id="pwd" placeholder="请输入密码" /> </section> </section> <section class="login-btn-group"> <a href="javascript:void(0);" class="id_login_form_btn tc-template__bg tc-template__border">登 录</a> </section> <section class="login-no-user dislay-flex"> <a class="no-user__item flex tc-template__color" href="plugin.php?id=tom_ucenter&amp;mod=getpwd&amp;t_from=tongcheng&amp;t_back=https%3A%2F%2Fxck.51hbjob.com%2F">忘记密码?</a> <a class="no-user__item flex" href="plugin.php?id=tom_ucenter&amp;mod=reg&amp;t_from=tongcheng&amp;t_back=https%3A%2F%2Fxck.51hbjob.com%2F">注 册</a> </section> <section class="login-other" style="display: none;"> <div class="login-other__title">第三方登录</div> <div class="login-other__btn"> <div class="other-btn__item other-btn__wx other-btn-wx flex"> <div class="other-item__hd"> <img src="source/plugin/tom_ucenter/images/wx.png"> </div> <div class="other-item__bd">微信</div> </div> </div> </section> </form> </section> </section> <section class="login-popup login-popup__wx " style="display: none;"> <div class="login-popup__header"> <div class="login-popup__close"></div> </div> <div class="login-popup__qrcode"> <img src="https://xck.51hbjob.com/plugin.php?id=tom_qrcode&data=https%3A%2F%2Fxck.51hbjob.com%2F"> </div> <div class="login-popup__text"> <div class="text dislay-flex"> <span class="num">1、</span> <span class="msg flex">将该二维码保存至手机相册。</span> </div> <div class="text dislay-flex"> <span class="num">2、</span> <span class="msg flex">打开微信“扫一扫”功能,从相册选取该二维码进行扫描识别,即可在微信内打开该页面并登录。</span> </div> </div> </section> <script> var submintStatus = 0; $(".id_login_form_btn").click( function () { if(submintStatus == 1){ return false; } var tel = $("#tel").val(); var pwd = $("#pwd").val(); if(tel == '' || !checkMobile(tel)){ tusi("手机号格式错误"); return false; } if(pwd == ""){ tusi("必须填写密码"); return false; } submintStatus = 1; $.ajax({ type: "GET", url: "plugin.php?id=tom_ucenter:ajax&act=login&t_from=tongcheng&formhash=0bcd775f", data: $('#loginForm').serialize(), success: function(msg){ submintStatus = 0; var data = eval('('+msg+')'); if(data.status==200){ tusi("登录成功"); setTimeout(function(){window.location.href='https://xck.51hbjob.com/';},1888); }else if(data.status==301){ tusi("用户不存在"); return false; }else if(data.status==302){ tusi("密码错误"); return false; }else{ tusi("登录出错"); return false; } } }); }); function checkMobile(s){ var regu =/^[1][0-9]{10}$/; var re = new RegExp(regu); if (re.test(s)) { return true; }else{ return false; } } $(document).on('click', '.other-btn-wx',function(){ $(".login-popup").removeClass("popup-fadeInDown").addClass("popup-fadeInUp").show(); }) $(document).on('click', '.login-popup__close',function(){ $(".login-popup").removeClass("popup-fadeInUp").addClass("popup-fadeInDown"); $ }) </script> </body> </html>

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