ZhiYeJianKang/职业健康平台后端/target/dzzyb/webpage/modules/zyb/two3.jsp
2025-02-20 15:25:59 +08:00

137 lines
2.7 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div class="top">德州市职业健康管理中心</div>
<div class="banner"></div>
<div class="content">
<div id="yewuzhongxin" class="li">
<img src="/dzzyb/static/images/yewu02.png">
<div class="tilte">业务中心</div>
<div class="xian"></div>
</div>
<div id="guanlizhongxin" class="li">
<img src="/dzzyb/static/images/guanli.png">
<div class="tilte">管理中心</div>
<div class="xian"></div>
</div>
</div>
</div>
<div class="footer">———————————————— 技术支持:山东新医路信息科技有限公司 ——————————————————</div>
<style type="text/css">
* {
margin: 0;
padding: 0;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
}
.top {
background: url(/dzzyb/static/images/bg.jpg) no-repeat center;
line-height: 90px;
color: #FFFFFF;
padding-left: 50px;
font-size: 35px;
font-weight: bold;
letter-spacing: 3px;
text-shadow: 2px 2px 2px #000;
width: 100%;
background-size: 100% auto;
}
.banner {
height: 300px;
background: url(/dzzyb/static/images/banner.jpg) no-repeat left;
width: 100%;
background-size: 100% auto;
}
.banner img {
width: 100%;
}
.content {
display: flex;
justify-content: center;
margin: 0 auto;
align-items: center;
width: 80%;
height: 40%;
}
.li {
width: 22%;
position: relative;
cursor: pointer;
margin: 0 2.5%;
}
.tilte {
position: absolute;
top: 60px;
font-family: "microsoft sans serif";
color: #FFFFFF;
font-size: 38px;
left: 30px;
}
.li img {
width: 100%;
}
.xian {
position: absolute;
left: 30px;
top: 122px;
width: 55px;
background: #FFFFFF;
height: 3px;
opacity: 0.6;
}
.footer {
height: 50px;
line-height: 50px;
color: #FFFFFF;
text-align: center;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: url(/dzzyb/static/images/bg.jpg) no-repeat center;
font-size: 12px;
background-size: 100% auto;
}
</style>
<script type="text/javascript">
var h = $(window).height()
var h2 = h - 500
$(".content").height(h2)
console.log(h)
document.getElementById("guanlizhongxin").onclick = function() {
window.location = "${ctx}/zyb/logon/two2";
}
document.getElementById("yewuzhongxin").onclick = function() {
window.location = "${ctx}/zyb/logon/two";
}
</script>
</body>
</html>