-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguidePage.html
163 lines (147 loc) · 3.23 KB
/
guidePage.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>兑咖-引1导页</title>
<script src="js/ender.js"></script>
<script type="text/javascript">
$(document).ready(function () {
this.myScroll = $('#wrapper').iScroll({
snap: true,
momentum: false,
hScrollbar: false,
onScrollEnd: function () {
/*document.querySelector('#indicator > li.active').className = '';
document.querySelector('#indicator > li:nth-child(' + (this.currPageX+1) + ')').className = 'active';*/
}
})
})
</script>
<style type="text/css" media="all">
*{margin: 0;padding: 0;}
body,ul,li {
padding:0px;
margin:0;
}
html,body{
min-height: 100%;
height: 100%;
}
body {
font-size:12px;
-webkit-user-select:none;
-webkit-text-size-adjust:none;
font-family:helvetica;
}
#wrapper {
width:100%;
height:100%;
float:left;
position:relative;
z-index:1;
overflow:hidden;
background:#aaa;
background:#e3e3e3;
}
#scroller {
width:400%;
height:100%;
float:left;
padding:0;
}
#scroller ul {
list-style:none;
display:block;
float:left;
width:100%;
height:100%;
padding:0;
margin:0;
text-align:left;
}
#scroller li {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-o-box-sizing:border-box;
box-sizing:border-box;
display:block; float:left;
width:25%; height:100%;
text-align:center;
font-family:georgia;
font-size:18px;
line-height:140%;
}
#nav {
width:300px;
float:left;
}
#prev, #next {
float:left;
font-weight:bold;
font-size:14px;
padding:5px 0;
width:80px;
}
#next {
float:right;
text-align:right;
}
#indicator, #indicator > li {
display:block; float:left;
list-style:none;
padding:0; margin:0;
}
#indicator {
width:110px;
padding:12px 0 0 30px;
}
#indicator > li {
text-indent:-9999em;
width:8px; height:8px;
-webkit-border-radius:4px;
-moz-border-radius:4px;
-o-border-radius:4px;
border-radius:4px;
background:#ddd;
overflow:hidden;
margin-right:4px;
}
#indicator > li.active {
background:#888;
}
#indicator > li:last-child {
margin:0;
}
li>img{
height: 100%;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="scroller">
<ul id="thelist">
<li><img src="images/guidePage1.jpg"/></li>
<li><img src="images/guidePage2.jpg"/></li>
<li><img src="images/guidePage3.jpg"/></li>
<li id="close"><img src="images/guidePage4.jpg"/></li>
</ul>
</div>
</div>
</body>
<script type="text/javascript" src="js/mui.js" ></script>
<script type="text/javascript" src="js/muihelper.js" ></script>
<script>
var close;
mui.plusReady(function(){
document.querySelector("#close").addEventListener("tap",function(){
/* Fun_App.storagedata("isOneOpen","true")*/
plus.webview.currentWebview().close();
console.log(Fun_App.getdata('isOneOpen'))
})
})
</script>
</html>