修改
This commit is contained in:
44
index.html
Normal file
44
index.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="./css/home.css">
|
||||
<title>首页</title>
|
||||
</head>
|
||||
<!-- 嵌入头部 -->
|
||||
<script type="text/javascript" src = "./js/jquery.js"></script>
|
||||
<script>
|
||||
$(function(){
|
||||
$("#header").load("./header.html");
|
||||
});
|
||||
$(function(){
|
||||
$("#footer").load("./footer.html");
|
||||
});
|
||||
</script>
|
||||
<body>
|
||||
<div class="home">
|
||||
<!-- 头部占位 -->
|
||||
<div id="header"></div>
|
||||
|
||||
<!-- 页面内容 -->
|
||||
<div class="home-content">
|
||||
<div class="home-content--bg"></div>
|
||||
<div class="home-content--bg__mobile"><img src="./images/home-bg-mobile.jpg"></div>
|
||||
<div class="home-content--box">
|
||||
<div class="home-content--tip">
|
||||
<div class="home-content--tip__item">反诈</div>
|
||||
<div class="home-content--tip__item">打击网络犯罪</div>
|
||||
<div class="home-content--tip__item">关注网络安全</div>
|
||||
</div>
|
||||
<div class="home-content--line">
|
||||
<div class="home-content--line__block"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 底部占位 -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user