index.html
7.93 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
195
196
197
198
199
200
201
202
203
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="...">
<div class="panel-heading">
筛选
</div>
<div class="panel-body" id="filter">
<div class="row">
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2">
<input type="text" value="" name="content" id="content-filter" placeholder="内容" class="form-control">
</div>
<div class="panel-col">
<select name="status" id="status-filter" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
<option value="" selected="">选择状态</option>
<option value="1">关闭</option>
<option value="2">开启</option>
</select>
</div>
<div class="panel-col">
<select name="channel-ops" id="channel-ops" 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-col2">
<input type="text" id="starttime-filter" class="form-control panel-input hasDatepicker" jsaction="time:end:endtime-filter" name="start_time" placeholder="开始时间" value="">
</div>
<div class="panel-col2">
<input type="text" id="endtime-filter" class="form-control panel-input hasDatepicker" jsaction="time:start:starttime-filter" name="end_time" placeholder="结束时间" value="">
</div>
<input id="route" type="hidden" value="/operation/terms/searchWordsList">
<!--</div>-->
<a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
<a id="filter-add" value="" class="btn btn-info">添加</a>
</div>
</div>
</div>
<div id="search-words-list" class="search-words">
</div>
</div>
<script type="text/template" id="template">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">搜索词管理</a></li>
<li id="header-item">{name1}</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4 id="header-title">{name2}</h4>
</div>
</div>
</script>
<!--添加修改模板-->
<script type="text/template" id="template-content">
<div class="form-group">
<label for="content" class="col-sm-2 control-label"><i class="red">*</i> 内容</label>
<div class="col-sm-10">
<input type="text" name="" value="{content}" id="content" class="form-control" value="" required="required" pattern="" title="">
</div>
</div>
</script>
<script type="text/template" id="template-channel">
<div class="form-group">
<label for="channelIds" class="col-sm-2 control-label"><i class="red">*</i> 频道</label>
<div class="col-sm-8">
<label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="1"> 男生</label>
<label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="2"> 女生</label>
<label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="3"> 潮童</label>
<label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="4"> 创意生活</label>
</div>
<input type="hidden" id="channelIds" value="{channelIds}" for="checkbox" required="required">
</div>
</script>
<script type="text/template" id="template-url">
<div class="form-group">
<label for="url" class="col-sm-2 control-label"> 链接</label>
<div class="col-sm-10">
<input type="text" name="" value="{url}" id="url" class="form-control" value="" pattern="" title="">
</div>
</div>
</script>
<script type="text/template" id="template-sarttime">
<div class="form-group">
<label for="startTime" class="col-sm-2 control-label"><i class="red">*</i> 开始时间</label>
<div class="col-sm-10">
<input type="text" id="startTime" class="form-control panel-input hasDatepicker" jsaction="time:end:endTime" name="start_time" placeholder="开始时间" value="{startTime}">
<!--<input type="text" name="" value="{input}" id="input" class="form-control" value="" required="required" pattern="" title="">-->
</div>
</div>
</script>
<script type="text/template" id="template-endtime">
<div class="form-group">
<label for="endTime" class="col-sm-2 control-label"><i class="red">*</i> 结束时间</label>
<div class="col-sm-10">
<input type="text" id="endTime" class="form-control panel-input hasDatepicker" jsaction="time:start:startTime" name="start_time" placeholder="结束时间" value="{endTime}">
</div>
</div>
</script>
<script type="text/template" id="template-goodsnum">
<div class="form-group">
<label for="goodsNum" class="col-sm-2 control-label"><i class="red">*</i> 商品数</label>
<div class="col-sm-10">
<input type="text" name="" value="{goodsNum}" id="goodsNum" class="form-control" value="" required="required" pattern="" title="">
</div>
</div>
</script>
<script type="text/template" id="template-sort">
<div class="form-group">
<label for="sort" class="col-sm-2 control-label"><i class="red">*</i> 排序</label>
<div class="col-sm-10">
<input type="text" name="" value="{sort}" id="sort" class="form-control" value="" required="required" pattern="" title="">
</div>
</div>
</script>
<!--修改页面共用部分-->
<script type="text/template" id="template-modify">
<div class="form-group">
<label class="col-sm-2 control-label"><span class="red">*</span> 状态</label>
<div class="col-sm-8">
<label class="radio-inline">
<input type="radio" name="status" value="2">启用
</label>
<label class="radio-inline">
<input type="radio" name="status" value="1">禁用 </label>
</label>
</div>
<input type="hidden" id="status" value="{status}" for="radio" required="">
</div>
<div class="form-group">
<label for="creatorUsrname" class="col-sm-2 control-label">添加人</label>
<div class="col-sm-10">
<label id="creatorUsrname">{creatorUsrname}</label>
</div>
</div>
<div class="form-group">
<label for="createdTime" class="col-sm-2 control-label">添加时间</label>
<div class="col-sm-10">
<label id="createdTime">{createdTime}</label>
</div>
</div>
<div class="form-group">
<label for="modifyUsrname" class="col-sm-2 control-label">修改人</label>
<div class="col-sm-10">
<label id="modifyUsrname">{modifyUsrname}</label>
</div>
</div>
<div class="form-group">
<label for="modifyTime" class="col-sm-2 control-label">修改时间</label>
<div class="col-sm-10">
<label id="modifyTime">{modifyTime}</label>
</div>
</div>
<input type="hidden" id="id" value="{id}"/>
</script>
<!--红颜色说明-->
<script type="text/template" id="template-tips">
<div class="form-group">
<input type="hidden" id="type" value="{type}"/>
<i class="red" id="i-tips">{tips}</i>
</div>
</script>