index.html
4.37 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
<!--反馈管理界面-->
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">搜索词管理</a></li>
<li>品牌热搜词管理</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>品牌热搜词列表</h4>
</div>
</div>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="...">
<div class="panel-heading">
<a id="addHotBrand" class="btn btn-primary">添加</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col2">
<input type="text" value="" id="brandName-filter" placeholder="品牌"
class="form-control">
</div>
<div class="panel-col">
<select id="status-filter" class="form-control">
<option value="-1">选择状态</option>
<option value="0">不可用</option>
<option value="1">可用</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
<a id="filter-all" href="/hotSearchBrand/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div id="content-list"></div>
</div>
<!--内容-->
<script type="text/template" id="template">
<div class="form-group">
<label for="brandName" class="col-sm-2 control-label"><i class="red">*</i> 品牌名</label>
<div class="col-sm-10">
<input type="text" name="" value="[[brandName]]" id="brandName" class="form-control observe"
required="required"
data-field="brandName" placeholder="品牌名">
</div>
</div>
<div class="form-group">
<label for="orderBy" class="col-sm-2 control-label"><i class="red">*</i> 排序</label>
<div class="col-sm-10">
<input type="number" name="" value="[[orderBy]]" id="orderBy" data-field="orderBy"
class="form-control observe" required="required"
placeholder="排序">
</div>
</div>
<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" class="observe" data-field="status" value="1">可用
</label>
<label class="radio-inline">
<input type="radio" name="status" class="observe" data-field="status" value="0">不可用
</label>
</div>
<input type="hidden" id="status" value="[[status]]" for="radio" required="required"
class="observe" data-field="status" placeholder="状态">
</div>
[[if _state=='update']]
[[layout template-modify]]
[[/if]]
</script>
<!--修改页面共用部分-->
<script type="text/template" id="template-modify">
<div class="form-group">
<label for="creatorUsrname" class="col-sm-2 control-label">添加人</label>
<div class="col-sm-10">
<label id="creatorUsrname">[[creatorName]]</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">[[createTime]]</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">[[modifyName]]</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>