Index.html
3.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
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="...">
<div class="panel-body" style="padding-bottom: 0">
<a id="addHotBrand" class="btn btn-success"><i class="fa fa-plus"></i> 添加品牌热搜词</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>
<%include '../../common/__ui/footer'%>