<{foreach from=$data item=parent key=parentId}>
- <{$parent.label}>
  <{foreach from=$parent.sub item=child key=childId}><{$child.label}><{/foreach}>
  <{if $parent.sub}> <{if $parent.brands}>
  <{foreach from=$parent.sub item=child key=childId}> <{if $parent.depth=='3'}> <{if $setting.range}>
  - <{$child.label}>
  <{else}>

  - <{$child.label}> | <{/if}> <{if $child.sub}> <{if !$setting.range}> <{/if}> <{foreach from=$child.sub item=gChild key=gChildId}> <{$gChild.label}> <{/foreach}> <{if !$setting.range}> <{/if}> <{/if}>

    <{if !$setting.range}>
  <{/if}> <{else}>
  - <{$child.label}>
  <{/if}> <{/foreach}>
  - 相关品牌
  <{foreach from=$parent.brands item=brand key=brandId}>
  - <{$brand.name}>(<{$brand.plus}>)
  <{/foreach}>
  <{else}>
  <{foreach from=$parent.sub item=child key=childId}> <{if $parent.depth=='3'}> <{if $setting.range}>
  - <{$child.label}>
  <{else}>

  - <{$child.label}> | <{/if}> <{if $child.sub}> <{if !$setting.range}> <{/if}> <{foreach from=$child.sub item=gChild key=gChildId}> <{$gChild.label}> <{/foreach}> <{if !$setting.range}> <{/if}> <{/if}>

    <{if !$setting.range}>
  <{/if}> <{else}>
  - <{$child.label}>
  <{/if}> <{/foreach}>
  <{/if}> <{/if}>
<{/foreach}>