<{foreach $data.items as $v}>

- ### <{$v.title}>>

  <{foreach $v.childrens as $vv}> <{if $vv.parent_id==$v.cat_id}> <{$vv.title}><{if !$vv@last && $vv@iteration<3 }>|<{/if}> <{/if}><{if $vv@iteration >3 }><{break}><{/if}><{/foreach}>

  ## <{$v.title}>

  <{foreach $v.childrens as $vv}><{if $vv.parent_id==$v.cat_id}><{$vv.title}><{if !$vv@last}>|<{/if}><{/if}><{/foreach}>

  ## 促销活动

  <{widget id="adv" name="商城首页分类层促销活动" limit="3"}>

  <{foreach $v.brannds as $brand}> <{if $brand@iteration>3}><{break}><{/if}>
  <{/foreach}>
<{/foreach}>