plugin.xml
2.79 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
<?xml version="1.0" encoding="UTF-8"?>
<MEC>
<id>WSList</id> <!-- id 插件唯一标识 -->
<text>128120</text> <!-- WS列表 -->
<type>1</type> <!-- 类型,方便对插件进行区分,目前已有:1.普通功能插件,2.表单插件 -->
<isEnabled>1</isEnabled> <!-- 是否启用,1或者不填写为启用,0或者其他非1值为禁用 -->
<order>14</order> <!-- 插件显示顺序,值越小则显示越靠前,不填写或者无此标签将为整数的最大值 -->
<!-- 插件设计信息配置 -->
<design>
<unique>0</unique> <!-- 是否唯一,如果值为1则在自定义页面设计时一个页面最多只能添加一个这种控件,不为1或者不填写此属性则没有此限制 -->
<resources> <!-- 依赖资源 -->
<resource type="js">/mobilemode/js/mec/handler/WSList_wev8.js?v=2018011701</resource>
<resource type="css">/mobilemode/css/mec/run/List_wev8.css</resource>
<resource type="css">/mobilemode/css/mec/handler/List_wev8.css</resource>
</resources>
</design>
<!-- 插件运行信息配置 -->
<run java="com.weaver.formmodel.mobile.mec.handler.WSList">
<resources> <!-- 依赖资源 -->
<resource type="js">/mobilemode/js/zepto/toucher_wev8.js?v=2018122801</resource>
<resource type="css">/mobilemode/css/mec/run/List_wev8.css</resource>
<resource type="js">/mobilemode/js/mec/run/List_wev8.js</resource>
</resources>
</run>
<!-- 内容模板 -->
<contentTemplate>
<![CDATA[
<div id="listsearch${theId}" class="listSearch" style="display:${searchDisplay};">
<div class="listHeader">
<form disabledEnterSubmit="" action="">
<input class="searchKey" type="search" value="" placeholder="${searchTips}" data-role="none"/>
</form>
<a class="searchBtn" href="javascript:void(0);" data-role="none"><img src="/mobilemode/images/mec/search-input_wev8.png" border="0"/></a>
</div>
</div>
<ul id="list${theId}" swipe="${swipe}" swipeType="${swipeType}" class="listContainer ${readonly}" data-role="listview">
$mec_forstart$
<li dataurl="${dataurl}">
<table>
<tr>
<td class="imgPart" style="display:${imgPartDisplay};">
<div class="imgRowWrap">
${imgfield}
</div>
</td>
<td class="fieldPart">
<div class="titleRowWrap">
${titlefield}
</div>
$mec_list_row_forstart$
<div class="rowWrap">
$mec_list_col_forstart$
<div class="colWrap">
${colfield}
</div>
$mec_list_col_forend$
</div>
$mec_list_row_forend$
</td>
</tr>
</table>
<div class="slideBtnContainer" style="position: absolute;top:0px;right:-999px;height:100%;overflow:hidden;">
${swipeContent}
</div>
</li>
$mec_forend$
</ul>
]]>
</contentTemplate>
</MEC>