<{capture name="header"}> <{lang_script src="lang.js" app='b2c'}> <{script src="goodseditor.js" pdir="js_mini"}> <{/capture}> <{capture name="sidebar"}>

### <{t}>商品标签<{/t}>

<{foreach key=key from=$tagList item=aTag}>
- <{if $bTag[tag_id] == $aTag.tag_id}>checked<{/if}> <{/foreach}> /> <{$aTag.tag_name}>
<{/foreach}>

<{/capture}> <{foreach from=$sections item=section key=key}>
<{include app=$section.app file=$section.file}>
<{/foreach}> <{capture name='footbar'}>

<{button label=$___b2c="保存并关闭窗口"|t:'b2c' class="btn-primary" onclick="subGoodsForm(event,2)"}> <{if !$goods.goods_id}> <{button label=$___b2c="保存并添加相似商品"|t:'b2c' class="btn-primary" onclick="subGoodsForm(event,1)"}> <{/if}> <{button label=$___b2c="保存当前"|t:'b2c' class="btn-primary" onclick="subGoodsForm(event,3)"}> <{assign var=bcclose value=$___b2c='确定退出?'|t:'b2c'}> <{assign var=bclose value="关 闭"}> <{button label=$___b2c=$bclose|t:'b2c' class="btn-secondary" onclick="if(confirm('{$bcclose}'))window.close()"}>

<{/capture}>