<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <title>{$title}-登录</title> <meta name="renderer" content="webkit"> <meta http-equiv="Cache-Control" content="no-siteapp"/> <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" /> <link href="/static/hplus/css/bootstrap.min.css?v=3.3.7" rel="stylesheet" /> <link href="/static/hplus/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" /> <link href="/static/hplus/css/animate.css" rel="stylesheet" /> <link href="/static/admin/css/style.css?v=4.1.0" rel="stylesheet" /> <link href="/static/admin/css/login.css" rel="stylesheet"> <!--[if lt IE 9]> <meta http-equiv="refresh" content="0;ie.html" /> <![endif]--> <script> if(window.top!==window.self){window.top.location=window.location}; </script> <style> .verifyimg{ width:46%; height: 40px; margin-bottom: 3px; border: 1px solid #ccc; cursor: pointer; } .login-title{ font-size: 18px; color: #222; } .form-control{ } </style> </head> <body> <!--<div class="bg-top"></div>--> <div class="login-box"> <div class="login-box-left"> <div class="login-box-banner"> <img src="/static/admin/img/tu.png" alt=""> </div> <!-- <div class="l-title">--> <!-- <div class="l-title-a">欢迎使用</div>--> <!-- <div class="l-title-a">{$title}</div>--> <!-- </div>--> </div> <div class="login-box-right"> <div class="from-data"> <div class="form-right"> <div class="logo-title"> 欢迎使用<br/>{$title} </div> <form method="post" style="margin: 0 49px;" action="{:url('login')}"> <div class="login-input-box"> <div class="login_input-box"> <input type="text" name="account" class="form-control uname" placeholder="用户名" /> </div> </div> <div class="login-input-box"> <div class="login_input-box"> <input type="password" name="password" class="form-control pword m-b" placeholder="密码" /> </div> </div> <button class="btn btn-info btn-block" >登 录</button> <h5 class="forget"><a href="{:url('forget')}">忘记密码?</a></h5> </form> </div> </div> </div> </div> <!--<div class="l-title"> <div class="l-title-a">欢迎使用</div> <div class="l-title-a">{$title}</div> </div> <div class="from-data"> <div class="form-right"> <div class="logo-title"> 登录 </div> <form method="post" style="margin: 0 39px;" action="{:url('login')}"> <div class="login-input-box"> <div class="login_input-box"> <input type="text" name="account" class="form-control uname" placeholder="用户名" /> </div> </div> <div class="login-input-box"> <div class="login_input-box"> <input type="password" name="password" class="form-control pword m-b" placeholder="密码" /> </div> </div> <button class="btn btn-info btn-block" >登 录</button> <h5 class="forget"><a href="{:url('forget')}">忘记密码?</a></h5> </form> </div> </div>--> <div class="copyright-text"> Copyright © 2023 {$title} 版权所有 <a target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index">豫ICP备2023032306号</a> </div> <script src="/static/hplus/js/jquery.min.js?v=2.1.4"></script> <script src="/static/hplus/js/bootstrap.min.js?v=3.3.7"></script> <script src="/static/layer/layer.js"></script> <script> $(function(){ //表单提交 $(document) .ajaxStart(function(){ $("button:submit").html('登 录 中...').attr("disabled", true); }) .ajaxStop(function(){ $("button:submit").html('登 录').attr("disabled", false); }); $("form").submit(function(){ var self = $(this); self.find(".check-tips").text(''); $.post(self.attr("action"), self.serialize(), success, "json"); return false; function success(data){ if(data.code){ window.location.href = data.url; } else { layer.msg(data.msg) //刷新验证码 $(".reloadverify").click(); } } }); //刷新验证码 var verifyimg = $(".verifyimg").attr("src"); $(".reloadverify").click(function(){ if( verifyimg.indexOf('?')>0){ $(".verifyimg").attr("src", verifyimg+'&random='+Math.random()); }else{ $(".verifyimg").attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random()); } }); }); </script> </body> </html>