-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAPI.html
More file actions
53 lines (51 loc) · 2.26 KB
/
API.html
File metadata and controls
53 lines (51 loc) · 2.26 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
49
50
51
52
53
<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="css/fonts/font-awesome.min.css">
<link rel="stylesheet" href="css/ui-box.css">
<link rel="stylesheet" href="css/ui-base.css">
<link rel="stylesheet" href="css/ui-color.css">
<link rel="stylesheet" href="css/appcan.icon.css">
<link rel="stylesheet" href="css/appcan.control.css">
<link rel="stylesheet" href="css/project/new.css">
</head>
<body class="um-vp bc-bg" ontouchstart>
<div id="page_0" class="up ub ub-ver" tabindex="0">
<!--header开始-->
<div id="header" class="uh bc-text-head ub bc-head head-p">
<div class="nav-btn" id="nav-left" >
<div class="fa fa-angle-left fa-2x"></div>
</div>
<h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">文档</h1>
<div class="nav-btn nav-bt" id="nav-right">
<div class="fa fa-refresh ulev2"></div>
</div>
</div>
<!--header结束--><!--content开始-->
<div id="content" class="ub-f1 tx-l">
</div>
<!--content结束-->
</div>
<script src="js/appcan.js"></script>
<script src="js/appcan.control.js"></script>
</body>
<script>
var titHeight = 0;
appcan.ready(function() {
titHeight = $('#header').offset().height;
appcan.openPopoverByEle("content", "API_content.html", 0, titHeight);
window.onorientationchange = window.onresize = function() {
appcan.resizePopoverByEle("content", 0, $("#header").offset().height);
}
});
appcan.button(".nav-btn", "btn-act", function() {
this.id == "nav-left" && appcan.window.close(-1);
if(this.id == "nav-right"){
appcan.window.publish("API-refresh","");
};
})
</script>
</html>