-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
44 lines (43 loc) · 1.2 KB
/
index.html
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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
<title>WinC</title>
<link rel="stylesheet" type="text/css" href="css/api.css" />
<link rel="stylesheet" type="text/css" href="css/box.css" />
<script type="text/javascript" src="script/public.js"></script>
<style>
p {
color: #999;
padding: 5px;
}
</style>
<script type="text/javascript">
apiready = function() {
api.setStatusBarStyle({ style: 'light' });
fixStatusBar();
//沉浸式效果,支持IOS7及Android4.4及以上
openContent('html/PlayModule.html', 'index_frm');
//打开主frame
//$('year').innerHTML = new Date().getFullYear();
api.addEventListener({
name:'keyback'
},function(ret,err){
api.sendEvent({
name:'playkeyback'
});
});
};
</script>
</head>
<body>
<div id="wrap">
<div id='header'>
<h1>微型服务器测试</h1>
</div>
<div id="main"></div>
</div>
</body>
</html>