-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautoLoadMore_demo2.html
62 lines (62 loc) · 2.37 KB
/
autoLoadMore_demo2.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="common_m.css" rel="stylesheet">
<style type="text/css">
html,body{
margin:0;
padding: 0;
height: 100%;
overflow: hidden;
}
#scroller-wrapper{
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.thelist{
}
.banner{
height: 200px;
background-color: #ccc;
}
.footer{
padding: 15px 0;
text-align: center;
background-color: #ccc;
}
</style>
</head>
<body>
<div class="ub ub-ver" style="height: 100%;">
<div class="banner"></div>
<div class="ub-f1" id="scroller-wrapper">
<ul class="thelist">
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
<li style="padding: 20px 10px;border-bottom: 1px solid #ddd;">测试列表</li>
</ul>
<div class="footer">created by cchen</div>
</div>
</div>
<script src="jquery.min.js"></script>
<script src="autoLoadMore.js"></script>
<script type="text/javascript">
var load = new autoLoadMore();
</script>
</body>
</html>