<div class="breadcrumbs" id="breadcrumbs">
		<ul class="breadcrumb">
			<li>
				<i class="home-icon fa fa-home"></i>
				<a href="#">商品</a>
			</li>
			<li>
				<a href="#">品牌管理</a>
			</li>
			<li class="active">分类列表</li>
		</ul>
	</div>
<div class="content">
	<table class="table list-table">
			<colgroup>
				<col width="200px" />
				<col width="200px" />
			</colgroup>
			<caption>
                <a class="btn btn-default" href='{url:/brand/category_edit}'>
                    <i class="fa fa-plus"></i>添加分类
                </a>
			</caption>
		<thead>
			<tr>
				<th>分类名称</th>
				<th>操作</th>
			</tr>
		</thead>

		<tbody>
			{set:$queryObj=Api::run('getListByBrandCategory');$resultData=$queryObj->find()}
            {foreach:items=$resultData}
			<tr>
				<td>{$item['name']}</td>
				<td>
					<a href="{url:/brand/category_edit/cid/$item[id]}"><i class='operator fa fa-edit'></i></a>
					<a onclick="delModel({link:'{url:/brand/category_del/cid/$item['id']}'})"><i class='operator fa fa-close'></i></a>
				</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
</div>
{$queryObj->getPageBar()}