-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustomized.html
More file actions
48 lines (47 loc) · 2.32 KB
/
Copy pathcustomized.html
File metadata and controls
48 lines (47 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<script type="text/javascript">
var menu=4;
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta charset="UTF-8">
<title>七宝商品</title>
<meta name="keywords" content="七宝珠宝旗舰店">
<meta name="description" content="七宝珠宝旗舰店">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" sizes="16x16" mask="" href="system/img/favicon.ico">
<link rel="stylesheet" type="text/css" href="system/css/jquery.mobile.css">
<link rel="stylesheet" type="text/css" href="system/css/swiper.min.css">
<link rel="stylesheet" type="text/css" href="system/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="skin/001.css">
<script type="text/javascript" src="system/js/jquery.min.js"></script>
<script type="text/javascript" src="system/js/angular.min.js"></script>
<script type="text/javascript" src="system/js/swiper.min.js"></script>
<script type="text/javascript" src="system/js/jquery.mobile.min.js"></script>
<script type="text/javascript" src="system/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="system/js/html5.js"></script>
<script src="system/js/respond.min.js"></script>
<![endif]-->
</head>
<body ng-app>
<!-- 定制首页 -->
<div data-role="page">
<div id="header" data-role="header" data-position="fixed" data-fullscreen="false">
</div>
<div data-role="main" class="ui-content">
</div>
<div id="sidebar"></div>
<div id="footer" data-role="footer" data-position="fixed" data-fullscreen="false"></div>
</div>
<script type="text/javascript">
var tophtml=$.ajax({ type:"GET", url:"system/header.html", async:false }); $("#header").html(tophtml.responseText); //ajax{加载顶部页面}
var foothtml=$.ajax({ type:"GET", url:"system/footer.html", async:false }); $("#footer").html(foothtml.responseText); //ajax{加载底部页面}
var sidehtml=$.ajax({ type:"GET", url:"system/sidebar.html", async:false }); $("#sidebar").html(sidehtml.responseText); //ajax{加载底部页面}
$( function () {
$("#footer li").eq(menu).addClass('active');
$('.carousel').carousel({ interval: 2000 });
});
</script>
</body>
</html>