ZhiYeJianKang/职业健康平台后端/target/dzzyb/static/quxian/two3.html
2025-02-20 15:25:59 +08:00

126 lines
2.4 KiB
HTML

<!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="img/yewu02.png">
<div class="tilte">业务中心</div>
<div class="xian"></div>
</div>
<div id="guanlizhongxin" class="li">
<img src="img/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(img/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;
}
.banner {
height: 300px;
background: url(img/banner.jpg) no-repeat center;
}
.banner img {
width: 100%;
}
.content {
display: flex;
justify-content: center;
width: 1450px;
margin: 0 auto;
align-items: center;
}
.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(img/bg.jpg) no-repeat center;
font-size: 12px;
}
</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 = "two2.html";
}
document.getElementById("yewuzhongxin").onclick = function() {
window.location = "two.html";
}
</script>
</body>
</html>