CINXE.COM
账密登录
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="robots" content="nofollow" /> <title>账密登录</title> <link rel="stylesheet" href="https://oss.114ic.com/layuiadmin/layui/css/layui.css" media="all"> <link href="https://oss.114ic.com/member/css/login.css" type="text/css" rel="stylesheet" /> <link rel="stylesheet" href="inc/css.css" type="text/css"> <script src="//apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js" type="text/javascript"></script> <script src="//res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js" type="text/javascript"></script> </head> <body> <div class="header"> <div class="content ptb10"> <a title="114ic电子网" href="//www.114ic.com"><img src="https://oss.114ic.com/img/logo.gif" alt="114ic电子网" class="headlogo"></a> <span class="headtit">用户登录</span> <div class="f_r"> <span class="headtxt">找IC,尽在114IC!</span> </div> </div> </div> <div class="loginmain"> <div class="loginbanner"> <div class="layui-carousel" id="loginbanner"> <div carousel-item> <div><a href="javascript:;"><img src="https://oss.114ic.com/member/image/wad1.jpg" /></a></div> <div><a href="javascript:;"><img src="https://oss.114ic.com/member/image/wad2.jpg" /></a></div> </div> </div> </div> <div class="content rel"> <div class="loginform"> <form onSubmit="return docheck()" name="loginForm" class="layui-form" method="post"> <input type="hidden" name="loginsort" value="-1"> <input type="hidden" name="reurl" value="/member/main.asp"> <input type="hidden" name="t1" value=""> <input type="hidden" name="sort" value="0"> <div class="logintab"> <div class="logintabtit"> <div class="tabtititem"> 账密登录 </div> <div class="logintip"></div> </div> <div class="logintabcon"> <div class="tabconitem"> <!--账号密码登录--> <div class="logintext"> <i class="layui-icon layui-icon-username"></i> <input type="text" name="uname" value="" placeholder="请输入账号" autocomplete="off" /> </div> <div class="logintext"> <i class="layui-icon layui-icon-password"></i> <input type="password" name="pwd" value="" placeholder="请输入密码" autocomplete="off" /> <span class="iconvis"></span> </div> <div class="logintext"> <i class="layui-icon layui-icon-vercode"></i> <input type="text" name="code" placeholder="请输入验证码" autocomplete="off" class="logincode" /> <img id="codeimg" onClick="this.src='inc/checkcode.asp?t='+(new Date().getTime());" class="codeimg" alt="验证码,看不清楚?请点击刷新验证码" src="inc/checkcode.asp" /> </div> <div class="loginsave"> <input type="checkbox" name="IsSaveUname" title="保存账密" lay-skin="primary" > <!-- <input type="checkbox" name="ismod2021" title="新版(beta)" lay-skin="primary" checked="checked" > --> <a href="/reg/forgetpwd.asp" class="f_r font14">忘记密码</a> </div> <div class="loginbtn"> <input type="submit" value="登 陆" /> </div> </div> <div class="tabconitem"> <!--微信登录--> <div id="wxlogin"></div> </div> </div> </div> </form> <div class="loginother">快捷登录: <a href="loginqqapi.asp" class="js_qq"><!--<a href="javascript:;" class="js_qq">--> <i class="layui-icon layui-icon-login-qq loginqq"></i></a> <a href="javascript:;" class="js_wx"> <i class="layui-icon layui-icon-login-wechat loginwechat"></i></a> <a href="javascript:;" onClick="wxgzhlogo()">公众号</a> <div class="f_r"> <a href="/reg/" class="colororange">免费注册</a> </div> </div> </div> </div> </div> <div class="footer"> <div class="content"> <p style="font-size:14px;">Copyright © 2003-2021 114ic.com All Rights Reserved <a rel="nofollow" href="//beian.miit.gov.cn/" target="_blank">粤ICP备05011613号</a><a rel="nofollow" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030402000933" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">粤公网安备 44030402000933号</a></p> </div> </div> <script type="text/javascript" src="https://oss.114ic.com/layuiadmin/layui/layui.js"></script> <script type="text/javascript" src="inc/checklogin.js"></script> <script> layui.config({ base: 'https://oss.114ic.com/layuiadmin/' //静态资源所在路径 }).extend({ index: 'lib/index' //主入口模块 }).use(['index', 'user','carousel'], function(){ var $ = layui.$ ,carousel = layui.carousel ,setter = layui.setter ,admin = layui.admin ,form = layui.form ,router = layui.router() ,search = router.search; form.render(); //轮播 carousel.render({ elem: '#loginbanner' , width: '100%' , height: '480px' , arrow: 'always' , indicator: 'inside' , arrow: 'none' , anim: 'default' , interval: 3000 //,anim: 'updown' }); //微信登录 window.wxlogin = function() { delTextTip(null, true); $(".logintab .logintabcon .tabconitem").hide().eq(1).show(); var obj = new WxLogin({ self_redirect: false, id: "wxlogin", appid: "wxe09f1d490eada14c", scope: "snsapi_login", redirect_uri: "https%3A%2F%2Fmember%2E114ic%2Ecom%2Fmember%2Finc%2Fwxbind%2Easp", state: "733435", style: "black", href: "data:text/css;base64,QGNoYXJzZXQgIlVURi04IjsKLndycF9jb2RlIHsgd2lkdGg6MTAwJTsgbWF4LXdpZHRoOiAzMDBweCB9Ci5pbXBvd2VyQm94IC5xcmNvZGUgeyB3aWR0aDogMTgwcHg7IH0KLmltcG93ZXJCb3ggLnRpdGxlIHsgZGlzcGxheTogbm9uZTsgfQouaW1wb3dlckJveCAuaW5mbyB7IHdpZHRoOiAxODBweDsgfQouc3RhdHVzX2ljb24geyBkaXNwbGF5OiBub25lIH0KLmltcG93ZXJCb3ggLnN0YXR1cyB7IHRleHQtYWxpZ246IGNlbnRlcjsgcGFkZGluZzogN3B4IDA7IH0KI3d4X2RlZmF1bHRfdGlwIHA6bGFzdC1jaGlsZHsgZGlzcGxheTpub25lfQouaW1wb3dlckJveCAuaWNvbjM4X21zZy5zdWNjIHsgYmFja2dyb3VuZC1wb3NpdGlvbjogMCAtMjRweDsgYmFja2dyb3VuZC1zaXplOiBhdXRvOyBiYWNrZ3JvdW5kLXNpemU6IDIwcHggYXV0bzsgfQouaW1wb3dlckJveCAuaWNvbjM4X21zZyB7IHdpZHRoOiAyMHB4OyBoZWlnaHQ6IDIxcHg7IH0KLnN0YXR1c190eHQgaDR7IGZvbnQtc2l6ZToxNHB4O30KLmltcG93ZXJCb3ggLnN0YXR1c190eHQgcCB7IGRpc3BsYXk6IG5vbmU7IH0=" }); } //公众号登录 window.wxgzhlogo = function() { //var qrCodeSrc = "inc/wxgzh2img.asp?sort=2"; // 二维码图片地址//img.114ic.com/img/wxgzh400400.jpg // 打开弹窗 var layerIndex = layer.open({ type: 1, area: ['295px', '360px'], title: '微信扫码登录', shade: 0.6, maxmin: true, anim: 0, content: '<div id="wxgzhlogin"><div class="wrp_code"><img class="qrcode" onclick="this.src=\'inc/wxgzh2img.asp?sort=2&t=\'+(new Date().getTime())" src="inc/wxgzh2img.asp?sort=2&t='+(new Date().getTime())+'"></div> </div><div class="login_WeChatTips"> <span class="weChatScannerDesc"> <span class="login_WeChatScanner" title="绑定公众号"></span>扫一扫关注,授权登陆</span> </div>' }); // 开始轮询 var intervalId = setInterval(function() { // 调用接口查询用户是否已扫码完成 $.post('json/wxgzhbindj.asp?sort=2', function(res) { if (res.success == "true") { // 扫码成功 if (res.code == "2"){ layer.msg(res.msg, { icon: 1, time: 3000 }, function() {location.href='/reg/unamelist.asp';}); } else{ layer.msg(res.msg, { icon: 1, time: 3000 }, function() {location.href='main.asp';}); } clearInterval(intervalId); // 停止轮询 // 处理扫码成功的逻辑 layer.close(layerIndex); // 关闭弹窗 // TODO: 扫码成功后的处理逻辑 } }, 'json').fail(function(xhr, status, error) { //layer.msg(res.msg, { icon: 5, time: 5000 }); //console.log(error); }); }, 3000); // 轮询间隔为2秒 } }); </script> </body> </html>