index.html
2.97 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
<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>
<h4>物理类目管理</h4>
</div>
</div>
<!-- media -->
</div>
<div class="contentpanel">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading noborder">
<a href="/product/class/new" class="btn btn-success"><i class="glyphicon-plus"></i>添加品类</a>
</div>
</div>
</div>
<div class="col-md-12">
<div class="table-responsive">
<table class="table table-bordered toggle-table">
<thead>
<tr>
<th width="10%"></th>
<th width="10%">ID</th>
<th width="15%">品类名称</th>
<th width="10%">品类缩写</th>
<th width="15%">所属分类</th>
<th width="10%">排序</th>
<th width="10%">状态</th>
<th width="20%">操作</th>
</tr>
</thead>
<tbody>
{{# data}}
<tr class="level{{sortLevel}} {{# child}}hidden{{/ child}}" data-parent="{{parentId}}" data-val="{{id}}" data-status="close">
<td class="toggle-td"><span class="glyphicon glyphicon-folder-close"></span></td>
<td>{{id}}</td>
<td>{{sortName}}</td>
<td>{{sortInitials}}</td>
<td>{{sortLevel}}级分类</td>
<td>{{orderBy}}</td>
<td>
{{# booleanStatus}}开启{{/ booleanStatus}}
{{^ booleanStatus}}关闭{{/ booleanStatus}}
</td>
<td data-id="{{id}}">
<a href="/product/class/edit/{{id}}" class="btn btn-success btn-xs edit-class-btn">编辑</a>
<a href="" class="btn btn-xs open-close-btn {{# booleanStatus}}btn-danger{{/ booleanStatus}} {{^ booleanStatus}}btn-warning{{/ booleanStatus}}" data-status="{{status}}">
{{# booleanStatus}}关闭{{/ booleanStatus}}
{{^ booleanStatus}}开启{{/ booleanStatus}}
</a>
</td>
</tr>
{{/ data}}
</tbody>
</table>
</div>
</div>
</div>
</div>