demo.html
1.23 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
<div id="tipPanel" class="page out" data-title="提示面板">
<div id="tipPanel-header"></div>
<div id="tipPanel-break1"></div>
<div id="tipPanel-v"></div>
<div id="tipPanel-break2"></div>
<div id="tipPanel-h"></div>
</div>
<script>
require(["NavHeader", "TipPanel", "ColumnBreak"], function(NavHeader, TipPanel, ColumnBreak) {
var hasClsPicker = typeof clsPicker !== "undefined";
new NavHeader({
el: "tipPanel-header",
option: {
title:"提示面板",
smallTitle:"Tip Panel"
}
}).render();
new ColumnBreak({
el: "tipPanel-break1",
option: {
content : "垂直",
align : "center"
}
}).render();
new TipPanel({
el: "tipPanel-v",
option: {
layoutType:"vertical",
iconPath:"/mobilemode/piclibrary/03-E9_flat/success.png",
title : "操作成功!",
subTitle : "请联系系统管理员进行确认"
}
}).render();
new ColumnBreak({
el: "tipPanel-break2",
option: {
content : "水平",
align : "center"
}
}).render();
new TipPanel({
el: "tipPanel-h",
option: {
layoutType:"horizontal",
iconPath:"/mobilemode/piclibrary/03-E9_flat/success.png",
title : "操作成功!",
subTitle : "请联系系统管理员进行确认"
}
}).render();
});
</script>