Index.html
5.8 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
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="...">
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="startTime" jsaction="time:end:endTime" class="form-control panel-input hasDatepicker " name="start_time" placeholder="开始时间"/>
</div>
<div class="panel-col">
<input type="text" id="endTime" jsaction="time:start:startTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间"/>
</div>
<div class="panel-col">
<select name="status" id="status-filter" tabindex="-1" title="" class="form-control">
<option value="-1">选择状态</option>
<option value="0">未编辑</option>
<option value="1">已编辑</option>
<option value="2">已发布</option>
</select>
</div>
<div class="panel-col">
<select name="clientType" id="clientType-filter" tabindex="-1" title="" class="form-control">
<option value="">来源</option>
<option value="iphone">iPhone</option>
<option value="android">Android</option>
<option value="h5">h5</option>
<option value="custom">自定义</option>
</select>
</div>
</div>
<div class="row" id="radios-select">
<div class="panel-col">
<label class="radio-inline"><input type="radio" name="hasImage" value="0">无图</label>
<label class="radio-inline"><input type="radio" name="hasImage" value="1">有图</label>
<input type="hidden" id="hasImage" for="radio">
</div>
<div class="panel-col">
<label class="radio-inline"><input type="radio" name="isReliable" value="0">不靠谱</label>
<label class="radio-inline"><input type="radio" name="isReliable" value="1">靠谱</label>
<input type="hidden" id="isReliable" for="radio">
</div>
</div>
<div class="row">
<a href="/suggest/hotsuggest/index" class="btn btn-info pull-right"><i class="fa fa-list"></i> 全部</a>
<a class="btn btn-info pull-right" style="margin-right: 5px!important" id="filter-info"><i class="fa fa-search"></i> 查询</a>
</div>
</div>
</div>
<div id="quick">
</div>
<div id="content-list"></div>
</div>
<script type="text/template" id="status-search">
<div class="pull-left">
<label class="radio-inline">
<input name="quick_select" type="radio" value="-1" [[quick_select.status=="-1"?"checked":""]]>全部
</label>
<label class="radio-inline">
<input name="quick_select" type="radio" value="0" [[quick_select.status=="0"?"checked":""]]>未编辑
<span style="color:#0066CC;">[[quick_select.uneditCount]] </span>
</label>
<label class="radio-inline">
<input name="quick_select" type="radio" value="1" [[quick_select.status=="1"?"checked":""]]>已编辑
<span style="color:#0066CC;"> [[quick_select.editedCount]]</span>
</label>
<label class="radio-inline">
<input name="quick_select" type="radio" value="2" [[quick_select.status=="2"?"checked":""]]>已发布
<span style="color:#0066CC;"> [[quick_select.publishCount]]</span>
</label>
</div>
<div class="pull-right">
<a id="batchPublish" href="javascript:;" class="btn btn-dark btn-xs pull-right">批量发布</a>
</div>
</script>
<script type="text/template" id="edit-template">
<div id="edit-content" class="row">
<div class="form-group">
<label class="col-sm-2 control-label">标题 <span class="red">*</span></label>
<div class="col-sm-8">
<input type="text" data-field="content" value="[[content]]" class="form-control observe" placeholder="标题" required>
<label style="color: #9f9f9f;"><span style="color: indianred;">限制27个字符</span></label>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">封面图 </label>
<div class="col-sm-8">
<input type="file" name="封面图" value="[[imageUrl]]" id="coverImageUrl" data-field="coverImage">
<br>
<label style="color: #9f9f9f;">支持jpg/png/gif,尺寸:1080*523px;图片不是必选项 </label>
<br>
<button id="delImage" type="button" class="btn btn-xs btn-danger">删除</button>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">回复内容 <span class="red">*</span></label>
<div class="col-sm-8">
<textarea rows="3" data-field="replyContent" class="form-control observe" placeholder="回复内容" required>[[replyContent]]</textarea>
<label style="color: #9f9f9f;"><span style="color: indianred;">限制80个字符</span></label>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">排序</label>
<div class="col-sm-2">
<input type="text" value="[[orderBy]]" data-field="orderBy" class="form-control observe" placeholder="排序" required>
</div>
</div>
</div>
</script>