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

153 lines
3.5 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" style="width: 100%;"></div>
<div class="content" style="height: 40%;width: 80%;">
<div class="li" onclick="sendPx()">
<img src="/dzzyb/static/images/peixun.png">
<div class="tilte">培训</div>
<div class="xian"></div>
</div>
<div class="li" onclick="sendTj()">
<img src="/dzzyb/static/images/tijian.png">
<div class="tilte">体检</div>
<div class="xian"></div>
</div>
<div class="li">
<a href="${ctx}">
<img src="/dzzyb/static/images/jiance.png">
<div class="tilte">检测</div>
<div class="xian"></div>
</a>
</div>
<div class="li">
<a href="${ctx}">
<img src="/dzzyb/static/images/pingjia.png">
<div class="tilte">评价</div>
<div class="xian"></div>
</a>
</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;
background-image: linear-gradient(to right top, #1b2d5f, #0240de);
width: 100%;
background-size: 100% auto;
}
.banner {
height: 300px;
background: url(/dzzyb/static/images/banner.jpg) no-repeat center left;
background-size: 100% auto;
}
.banner img {
width: 100%;
}
.content {
display: flex;
justify-content: space-between;
width: 80%;
margin: 0 auto;
align-items: center;
box-sizing: border-box;
padding: 0px 74px;
}
.li {
width: 20%;
position: relative;
cursor: pointer;
}
.tilte {
position: absolute;
top: 42px;
font-family: "microsoft sans serif";
color: #FFFFFF;
font-size: 38px;
left: 30px;
}
.li img {
width: 100%;
}
.xian {
position: absolute;
left: 30px;
top: 96px;
width: 55px;
background: #FFFFFF;
height: 3px;
opacity: 0.6;
}
.footer {
height: 50px;
width: 100%;
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)
</script>
<script type="text/javascript">
function sendTj(){
window.location.href="http://we.xinelu.cn:8910/default1.aspx?username=tijian&password=Aa123321";
//url: 'http://we.xinelu.cn:8910/default.aspx?tjlogout=ok&TxtUserName=tijian&TxtUserPwd=Aa123321',
}
function sendPx() {
window.location.href="http://we.xinelu.cn:8910/default1.aspx?username=peixun&password=Aa123321";
}
</script>
</body>
</html>