{include(label.header)}
- 所有商品分类
{set $arrpid=explode(",",$category_info['pids']);} {foreach($arr_category as $category)}
- {$category['category_name']}
{foreach($category['childs'] as $child)} {if(in_array($category['category_id'],$arrpid))}
- {$child['category_name']}
{foreach($child['childs'] as $item)} {if(in_array($child['category_id'],$arrpid))}
- {$item['category_name']}
{foreach($item['childs'] as $item2)} {if(in_array($item['category_id'],$arrpid))}
- {$item2['category_name']}
{/if} {/foreach} {/if} {/foreach} {/if} {/foreach} {/foreach}
- {$category_info['name']}{if($brand_id>0)}品牌：{$brand_info['brand_name']}{/if}共找到相关商品{$list_goods['pageinfo']['total']}条
{if(!empty($brand_list))}
- 品牌： {foreach($brand_list as $item)} {/foreach}
{/if} {foreach($arr_attribute_name as $index=>$name)}
- {$name}： 全部 {foreach($arr_attribute[$name] as $index2=>$next)} {$next} {/foreach}
{/foreach}
- 筛选： 默认 最新{if(fun_get::get('sort')==1)} {/if} 价格{if(fun_get::get('sort')==2)} {/if} 销量{if(fun_get::get('sort')==3)} {/if} 人气{if(fun_get::get('sort')==4)} {/if}

{foreach($list_goods['list'] as $item)}
- {$item['goods_name']}

  # {fun_kj::get_price($item['goods_price'])}

  {fun_kj::get_price($item['goods_price_market'])} {if(empty($item['goods_format']))} {else} 购买 {/if}
{/foreach}

上一页 {if($list_goods['pagebtns']['start']!=1)}
- 1
{/if} {if($list_goods['pagebtns']['start']>2)}
- ...
{/if} {foreach($list_goods['pagebtns']['list'] as $item)} {$item} {/foreach} {if($list_goods['pagebtns']['end']<$list_goods['pageinfo']['pages']-1)}
- ...
{/if} {if($list_goods['pagebtns']['end']<$list_goods['pageinfo']['pages'])}
- {$list_goods['pageinfo']['pages']}
{/if} 下一页

- ## TOP热销榜

{$arr_goods=user:get_goods_hot(0,10)} {foreach($arr_goods as $i=>$goods)}
- {set $ii=$i+1} {$ii} {fun_format::len($goods['goods_name'],24)} {fun_kj::get_price($goods['goods_price'])}
  {fun_kj::get_price($goods['goods_price_market'])}
  {$goods['goods_sold']}人已购
{/foreach}
{include(label.footer)}