|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
|
|
|
|
<%@ include file="/common/ctx.jsp"%>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<%-- <title><%=sysname%></title> --%>
|
|
|
|
|
<title>旅游产业运行监测与应急指挥平台</title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
|
<meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc." />
|
|
|
|
|
<meta name="author" content="Coderthemes" />
|
|
|
|
|
<!-- <link rel="shortcut icon" href="images/favicon_1.ico" /> -->
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="${ctx }/hbcyjc/resource/js/jquery-3.7.0.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="${ctx }/hbcyjc/resource/js/layer/layer.js"></script>
|
|
|
|
|
|
|
|
|
|
<!-- 自定义样式 -->
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="${ctx }/hbcyjc/resourceNew/css/cjy_style.css" />
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="${ctx }/hbcyjc/resourceNew/css/cjy_style2.css" />
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="${ctx }/hbcyjc/resourceNew/css/cjy_zlmxg.css" />
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
if (window != top) {
|
|
|
|
|
top.location.href = location.href;
|
|
|
|
|
}
|
|
|
|
|
var msg = '${mesg}';
|
|
|
|
|
if (msg != '') {
|
|
|
|
|
layer.msg(msg);
|
|
|
|
|
}
|
|
|
|
|
refresh();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//回车登录
|
|
|
|
|
document.onkeyup = function(e) {
|
|
|
|
|
var code = e.charCode || e.keyCode;
|
|
|
|
|
if (code == 13) { //回车键
|
|
|
|
|
doLogin();
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
//登录
|
|
|
|
|
function doLogin() {
|
|
|
|
|
var loginName = $("#loginName").val();
|
|
|
|
|
if (isEmpty(loginName)) {
|
|
|
|
|
layer.msg("请输入用户名");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var password = $("#password").val();
|
|
|
|
|
if (isEmpty(password)) {
|
|
|
|
|
layer.msg("请输入密码");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var verifyCode = $("#verifyCode").val();
|
|
|
|
|
if (isEmpty(verifyCode)) {
|
|
|
|
|
layer.msg("请输入验证码");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
url : "${ctx}/hbcyjclogin/yanzheng.do",
|
|
|
|
|
dataType : "json",
|
|
|
|
|
type : "post",
|
|
|
|
|
data : {"code" : verifyCode},
|
|
|
|
|
success : function(json) {
|
|
|
|
|
if (json.state == 1) {
|
|
|
|
|
layer.msg("验证码错误");
|
|
|
|
|
}else{
|
|
|
|
|
document.loginform.submit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//刷新验证码
|
|
|
|
|
function refresh() {
|
|
|
|
|
$("#captchaImage").attr("src", "${ctx }/servlet/imageRandServlet?" + Math.random());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function isEmpty(text) {
|
|
|
|
|
if (text != null && text != "null" && text != "" && text != "undefined" && text!=undefined) {
|
|
|
|
|
return false;
|
|
|
|
|
} else {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
var time = new Date();
|
|
|
|
|
var mon = time.getMonth() + 1;//月
|
|
|
|
|
var day = time.getDate();//日
|
|
|
|
|
|
|
|
|
|
var now_date = time.getFullYear() + "年" + (mon<10?"0"+mon:mon) + "月" +(day<10?"0"+day:day) + "日";
|
|
|
|
|
$("#now_date").html(now_date);
|
|
|
|
|
|
|
|
|
|
var week = "周" + "日一二三四五六".charAt(new Date().getDay());
|
|
|
|
|
$(".dl_zhou").html(week);
|
|
|
|
|
|
|
|
|
|
showTime();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//显示实时时间
|
|
|
|
|
function showTime(){
|
|
|
|
|
var time = new Date();
|
|
|
|
|
|
|
|
|
|
var hour = time.getHours();//时
|
|
|
|
|
var minute = time.getMinutes();//分
|
|
|
|
|
var second = time.getSeconds();//秒
|
|
|
|
|
var nowTime = (hour<10?"0"+hour:hour) + ":" + (minute<10?"0"+minute:minute) + ":" + (second<10?"0"+second:second);
|
|
|
|
|
$(".dl_jtsz").html(nowTime);
|
|
|
|
|
}
|
|
|
|
|
setInterval("showTime()",1000);
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="xingk_nr"></div>
|
|
|
|
|
<p class="dl_sj">
|
|
|
|
|
<i id="now_date"></i><span class="dl_zhou"></span><span class="dl_jtsz"></span>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="dl_banner">
|
|
|
|
|
<div class="dl_dqdhxg">
|
|
|
|
|
<div class="dl_zxdq"></div>
|
|
|
|
|
<div class="dt_lxgbdw1">
|
|
|
|
|
<div class="dt_lxgb"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dt_lxgbdw2">
|
|
|
|
|
<div class="dt_lxgb"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dt_lxgbdw3">
|
|
|
|
|
<div class="dt_lxgb"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dl_xxzs_leftz"></div>
|
|
|
|
|
<div class="dl_xxzs_rights"></div>
|
|
|
|
|
<div class="dl_xxzs_rightx"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="dl_yhdl">
|
|
|
|
|
<h3 class="dl_dbt">旅游产业运行监测与应急指挥平台</h3>
|
|
|
|
|
<div class="dl_boxk">
|
|
|
|
|
<form action="${ctx }/hbcyjclogin/doLogin.do" method="post" id="loginform" name="loginform">
|
|
|
|
|
<div class="dl_form">
|
|
|
|
|
<div class="dl_icon dl_icon_yh"></div>
|
|
|
|
|
<div class="dl_input">
|
|
|
|
|
<input type="text" id="loginName" name="loginName" placeholder="用户名" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dl_form">
|
|
|
|
|
<div class="dl_icon dl_icon_mm"></div>
|
|
|
|
|
<div class="dl_input">
|
|
|
|
|
<input type="password" id="password" name="password" placeholder="密码" />
|
|
|
|
|
</div>
|
|
|
|
|
<a href="#" class="mm_bkj"></a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dl_form dl_yzm">
|
|
|
|
|
<div class="dl_icon dl_icon_yzm"></div>
|
|
|
|
|
<div class="dl_input">
|
|
|
|
|
<input type="text" id="verifyCode" name="verifyCode" placeholder="验证码" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="yztm">
|
|
|
|
|
<img id="captchaImage" onclick="refresh()" width="100%" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="javascript:doLogin();" class="bttn">登 录</a>
|
|
|
|
|
</form>
|
|
|
|
|
<span class="jb-lefts"></span>
|
|
|
|
|
<span class="jb-rightx"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|