-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (47 loc) · 1.22 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
45
46
47
48
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
<title>侧边导航</title>
<style>
html {
height: 100%;
background-color: #fff;
}
body {
background-color: #fff;
padding: 0;
margin: 0;
display: -webkit-box;
display: -webkit-flex;
display: flex;
height: 100%;
-webkit-box-orient: vertical;
-webkit-flex-flow: column;
flex-flow: column;
}
</style>
</head>
<body>
<script>
apiready = function () {
api.openSlidLayout({
type: 'left',
leftEdge: 60,
//左侧滑时,侧滑 window 停留时露出的宽度。
fixedPane: {
name: 'fixed',
url: 'html/fixed.html'
},
slidPane: {
name: 'main',
url: 'html/main.html'
}
}, function (ret) {
});
}
</script>
</body>
</html>