Index.html
9.36 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom: 0">
<a class="btn btn-success " id="add-subject"><i class="fa fa-plus"></i> 添加专题</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<select name="sort" id="subject-type" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
<option value="" selected="">类型</option>
<option value="1">奥莱</option>
<option value="2">SALE</option>
</select>
</div>
<div class="panel-col">
<select name="paltform" id="subject-paltform" tabindex="-1" title=""
class="select2-offscreen brandBtn-group">
<option value="" selected="">平台</option>
<option value="1">WEB</option>
<option value="2">APP</option>
<option value="3">WAP</option>
<option value="4">IPAD</option>
</select>
</div>
<div class="panel-col">
<select name="status" id="subject-status" tabindex="-1" title=""
class="select2-offscreen brandBtn-group">
<option value="" selected="">状态</option>
<option value="1">未定时</option>
<option value="2">未发布</option>
<option value="3">已发布</option>
<option value="4">已结束</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="filter-all" href="/runManage/subjectManage/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div class="panel">
<input type="hidden" id="url" value="/runManage/subjectManage/subjectList"/>
<div id="subject-manage"></div>
</div>
</div>
<script type="text/template" id="template2">
<input type="text" name="sort" size="1" placeholder="排序"/>
<input type="button" class="btn btn-xs btn-info sortsave" id="save" value="保存"/>
<input type="button" class="btn btn-xs btn-info sortcancel" id="cancel" value="取消"/>
</script>
<script type="text/template" id="template">
<div class="rows" id="baseform">
<div class="form-group">
<label class="col-sm-2 control-label">分类<font color="#f00">*</font></label>
<input type="hidden" value="{id}" id="id"/>
<div class="col-sm-10">
<input name="sort" type="radio" value="1"/>奥莱
<input name="sort" type="radio" value="2"/>SALE
</div>
<input type="hidden" id="sort" value="{sort}" for="radio"/>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="title">标题<font color="#f00">*</font></label>
<div class="col-sm-8">
<input type="text" value="{title}" class="form-control" id="title" required="required"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">平台</label>
<div class="col-sm-8">
<label style="cursor: pointer;"><input type="checkbox" name="plateform" value="1">WEB</label>
<label style="cursor: pointer;"><input type="checkbox" name="plateform" value="2">APP</label>
<label style="cursor: pointer;"><input type="checkbox" name="plateform" value="3">WAP</label>
<label style="cursor: pointer;"><input type="checkbox" name="plateform" value="4">IPAD</label>
</div>
<input type="hidden" id="plateform" value="{plateform}" for="checkbox">
</div>
<div class="form-group">
<label class="col-sm-2 control-label">频道</label>
<div class="col-sm-8">
<label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="1">男生</label>
<label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="2">女生</label>
<label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="3">儿童</label>
<label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="4">创意生活</label>
</div>
<input type="hidden" id="yhChannel" value="{yhChannel}" for="checkbox">
</div>
<div class="form-group">
<label class="col-sm-2 control-label">促销形式</label>
<div class="col-sm-10">
<input id="promotion1" name="promotionName" type="radio" value="1"/>
<input class="smalltxt" type="text" id="promotionName1"/>折起
<input id="promotion2" name="promotionName" type="radio" value="2"/><input class="smalltxt" type="text"
id="promotionName2"/>~<input
class="smalltxt" type="text" id="promotionName3"/>折
<input id="promotion4" name="promotionName" type="radio" value="4"/><input class="smalltxt" type="text"
id="promotionName4"/>元起
<input id="promotion5" name="promotionName" type="radio" value="5"/><input class="smalltxt" type="text"
id="promotionName5"/>%Off(大图折扣)
</div>
</div>
<div class="form-group col-sm-100">
<label class="col-sm-2 control-label">活动时间</label>
<div class="panel-col1 col-sm-4">
<input type="text" id="startTime" jsaction="time:end:endTime"
class="form-control panel-input hasDatepicker " readonly name="start_time" placeholder="开始时间"
value="{startTime}">
</div>
<div class="panel-col1 col-sm-4">
<input type="text" id="endTime" jsaction="time:start:startTime"
class="form-control panel-input hasDatepicker" readonly name="end_time" placeholder="结束时间"
value="{endTime}">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-lalbel" for="orderNum">排序</label>
<div class="col-sm-8">
<input type="text" id="orderNum" value="{orderNum}" class="form-control"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">手机端封面图</label>
<div class="col-sm-10">
<input type="file" id="coverUrl" name="coverUrl" value="{coverUrl}"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">WEB logo图</label>
<div class="col-sm-10">
<input type="file" id="logoUrl" name="logoUrl" value="{logoUrl}"/><!---->
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">web封面图</label>
<div class="col-sm-10">
<input type="file" id="webCoverUrl" name="webCoverUrl" value="{webCoverUrl}"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">web列表页图</label>
<div class="col-sm-10">
<input type="file" id="webUrl" name="webUrl" value="{webUrl}"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">添加商品<font color="#f00">*</font></label>
<div class="col-sm-10">
<select id="productPoolId" style="width: 280px;" value="{productPoolId}">
<option value="{productPoolId}">请选择商品池</option>
</select>
</div>
</div>
</div>
</script>
<script type="text/template" id="links-template">
<table class="table no-footer">
<tbody>
[[if linkWeb]]
<tr>
<td align="right">WEB链接</td>
<td width="80%"><textarea readonly class="link-area" id="linkWeb[[id]]">[[linkWeb]]</textarea></td>
<td><a class="btn btn-primary copy" data-link="linkWeb[[id]]">复制</a></td>
</tr>
[[/if]]
[[if linkWap]]
<tr>
<td align="right">WAP链接</td>
<td width="80%"><textarea readonly class="link-area" id="linkWap[[id]]">[[linkWap]]</textarea></td>
<td><a class="btn btn-primary copy" data-link="linkWap[[id]]">复制</a></td>
</tr>
[[/if]]
[[if linkApp]]
<tr>
<td align="right">APP链接</td>
<td width="80%"><textarea readonly class="link-area" id="linkApp[[id]]">[[linkApp]]</textarea></td>
<td><a class="btn btn-primary copy" data-link="linkApp[[id]]">复制</a></td>
</tr>
[[/if]]
</tbody>
</table>
</script>