Index.html
5.15 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
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
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="sel-displayName" class="form-control" placeholder="请输入前端展示名称" style="height: 39px;"/>
</div>
<div class="panel-col">
<select id="sel-category" name="sel-category" class="form-control" >
<option value="-1">请选择分类</option>
</select>
</div>
<div class="panel-col">
<select id="sel-status" class="form-control">
<option value="-1">请选择状态</option>
<option value="1">开启</option>
<option value="0">关闭</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
<div class="panel-col">
<a id="uploadZip-btn" href="javascript:;" class="btn btn-primary">上传zip</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
<div class="dataTables_length" id="basicTable">
</div>
<nav>
<ul id="pagination" class="pagination pagination-lg"></ul>
</nav>
</div>
</div>
</div>
<script type="text/template" id="template">
<div id="templete-top">
<div class="form-group">
<label for="displayName" class="col-sm-2 control-label">前端展示名称:</label>
<div class="col-sm-8">
<input type="hidden" name="id" value="[[id]]" id="id" class="form-control">
<input type="text" value="[[displayName]]" name="displayName" id="displayName" placeholder="前端展示名称" required="required" class="form-control">
</div>
</div>
[[if categoryName !='ToolBar'&&categoryName !='会员权益图标']]
<div class="form-group">
<label class="col-sm-2 control-label">图标:</label>
<div class="col-sm-8" id="colorUrlBox">
<table>
<tr>
<td>IOS:2x</td>
<td>IOS:3x</td>
<td>安卓</td>
</tr>
<tr>
<td><input type="file" id="iosSmallImageN" name="iosSmallImageN" value="[[iosSmallImageN]]"></td>
<td><input type="file" id="iosBigImageN" name="iosBigImageN" value="[[iosBigImageN]]"></td>
<td><input type="file" id="androidImageN" name="androidImageN" value="[[androidImageN]]"></td>
</tr>
</table>
</div>
</div>
[[/if]]
[[if categoryName=='ToolBar'||categoryName=='会员权益图标']]
<div class="form-group">
<label class="col-sm-2 control-label">未选中:</label>
<div class="col-sm-8">
<table>
<tr>
<td>IOS:2x</td>
<td>IOS:3x</td>
<td>安卓</td>
</tr>
<tr>
<td><input type="file" id="iosSmallImageN" name="iosSmallImageN" value="[[iosSmallImageN]]"></td>
<td><input type="file" id="iosBigImageN" name="iosBigImageN" value="[[iosBigImageN]]"></td>
<td><input type="file" id="androidImageN" name="androidImageN" value="[[androidImageN]]"></td>
</tr>
</table>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">选中:</label>
<div class="col-sm-8">
<table>
<tr>
<td><input type="file" id="iosSmallImage" name="iosSmallImage" value="[[iosSmallImage]]"></td>
<td><input type="file" id="iosBigImage" name="iosBigImage" value="[[iosBigImage]]"></td>
<td><input type="file" id="androidImage" name="androidImage" value="[[androidImage]]"></td>
</tr>
</table>
</div>
</div>
[[/if]]
</div>
</script>
<script type="text/template" id="imgeUpload">
[[each pictureBoList as _item _index]]
<li class="cover-image-item image-list" data-index=[[_index]]>
<div class="goods-img">
<a class="fileinput-button-icon" href="javascript:void(0);">
<img src="[[_item]]">
</a>
<i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-index="[[_index]]"></i>
</div>
</li>
[[/each]]
</script>
<%include '../../common/__ui/footer'%>