{extend name="./layout"} {block name="content"} 选择分类 {foreach $categorys as $k=>$v} {$v.name} 包含{$v.count}种商品 {/foreach} 选择商品 {/block}