-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUIapi_content.html
More file actions
107 lines (101 loc) · 3.46 KB
/
UIapi_content.html
File metadata and controls
107 lines (101 loc) · 3.46 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
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
<!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/appcan.control.css">
<link rel="stylesheet" href="css/ui-base.css">
<link rel="stylesheet" href="css/ui-box.css">
<link rel="stylesheet" href="css/ui-color.css">
<link rel="stylesheet" href="css/project/new.css">
</head>
<body class="um-vp" ontouchstart>
<div>
<!--列表开始-->
<div class="c-wh" id="listview">
</div>
<!--列表结束-->
</div>
<script src="js/appcan.js"></script>
<script src="js/appcan.control.js"></script>
<script src="js/appcan.listview.js"></script>
</body>
<script>
appcan.ready(function(){
appcan.initBounce();
})
var lv = appcan.listview({
selector : "#listview",
type : "multiLine",
hasIcon : false,
hasAngle : false,
hasSubTitle:false
});
lv.set([{
title : "uexActionSheet",
describe : '菜单',
pagename : "uexActionSheet",
pageurl:"UIapi/uexActionSheet.html"
}, {
title : "uexBrokenLine",
describe : '折线图',
pagename : "uexBrokenLine",
pageurl:"UIapi/uexBrokenLine.html"
}, {
title : "uexCoverFlow2",
describe : '3D图片轮播',
pagename : "uexCoverFlow2",
pageurl:"UIapi/uexCoverFlow2.html"
}, {
title : "uexHexagonal",
describe : '六棱柱',
pagename : "uexHexagonal",
pageurl:"UIapi/uexHexagonal.html"
}, {
title : "uexIndexBar",
describe : '索引列表',
pagename : "uexIndexBar",
pageurl:"UIapi/uexIndexBar.html"
}, {
title : "uexPie",
describe : '饼状图',
pagename : "uexPie",
pageurl:"UIapi/uexPie.html"
}, {
title : "uexPieChart",
describe : '旋转饼状图',
pagename : "uexPieChart",
pageurl:"UIapi/uexPieChart.html"
}, {
title : "uexScanner",
describe : '二维码',
pagename : "uexScanner",
pageurl:"UIapi/uexScanner.html"
}, {
title : "uexSlidePager",
describe : '滑动切换页面',
pagename : "uexSlidePager",
pageurl:"UIapi/uexSlidePager.html"
},{
title : "uexTimeMachine",
describe : '旋转木马',
pagename : "uexTimeMachine",
pageurl:"UIapi/uexTimeMachine.html"
}, {
title : "uexWindow",
describe : '窗口管理',
pagename : "uexWindow",
pageurl:"UIapi/uexWindow.html"
},{
title : "uexWheel",
describe : '轮盘菜单 ',
pagename : "uexWheel",
pageurl:"UIapi/uexWheel.html"
}]);
lv.on('click', function(ele, context, obj, subobj) {
appcan.window.open(context.pagename,context.pageurl,10);
})
</script>
</html>