<{area inject=".mainHead"}>

<{t}>商品分类<{/t}>

<{assign var=addcat value="添加一级分类"|t:'syscategory'}> <{assign var=editsort value="编辑排序"|t:'syscategory'}> <{assign var=savesort value="保存排序"|t:'syscategory'}> <{assign var=exportfee value="导出资费表"|t:'syscategory'}> <{button app="desktop" label=$addcat icon="btn_add.gif" onclick="new Dialog('?app=syscategory&ctl=admin_cat&act=add',{title:'{$addcat}',width:550,height:500})" }> <{button app="desktop" tmplabel=$savesort label=$editsort id="edit-catsort"}> <{if $tree_number<=1000}> <{button app="desktop" label="展开分类"|t:'syscategory' id="showCat-handle"}> <{button app="desktop" label="收起分类"|t:'syscategory' id="hideCat-handle" }> <{/if}>   <{button app="desktop" label=$exportfee onclick="new Dialog('?app=importexport&ctl=admin_export&act=export_view&_params[mdl]=syscategory_mdl_tariff&supportType=xls',{title:'{$exportfee}',width:400,height:170})"}>
<{t}>分类名称<{/t}> <{t}>排序<{/t}> <{t}>操作<{/t}>
<{/area}>
<{foreach from=$tree item=item name="item"}> <{if $item.level<3}>
<{if $tree_number<=1000}> <{if $item.level=='1'}> <{img src="bundle/handle-hide.gif" alt="收起子分类"|t:'syscategory' title="收起子分类"|t:'syscategory' class="handle-hide" app='desktop'}> <{img src="bundle/handle-show.gif" alt="收起子分类"|t:'syscategory' title="展开子分类"|t:'syscategory' class="handle-show" app='desktop'}> <{/if}> <{/if}> <{$item.cat_name}>
<{$item.order_sort|default:0}>
 
 
<{if $item.level=='1'}> <{img src="bundle/addcate.gif" border="0" alt="添加二级分类"|t:'syscategory' app='desktop'}> <{t}>添加二级分类<{/t}> <{/if}> <{if $item.level=='2'}> <{img src="bundle/addcate.gif" border="0" alt="添加三级分类"|t:'syscategory' app='desktop'}> <{t}>添加三级分类<{/t}> <{/if}>
<{img src="bundle/editcate.gif" border="0" alt="编辑"|t:'syscategory' app='desktop'}> <{t}>编辑<{/t}>
<{img src="bundle/delecate.gif" border="0" alt="删除"|t:'syscategory' app='desktop'}> <{t}>删除<{/t}>
<{if $item.level=='2'}>
<{img src="bundle/showcate.gif" border="0" alt="查看二级分类下三级分类"|t:'syscategory' app='desktop'}><{t}>查看三级分类<{/t}>
<{/if}>
<{/if}> <{/foreach}>