## subCategories标签 > 版本5.0.170927 新增 | 标签名 | 作用 | 包含属性 | | --- | --- | --- | | subCategories | 获取指定分类下的子分类 | categoryId ,item| 标签属性: | 标签属性名 | 含义 | | --- | --- | | categoryId | 父级分类 id| | item | 循环变量,默认 `vo` | ## 代码演示 ``` <portal:subCategories categoryId="1" item="vo"> {$vo.name}<br> {$vo.description}<br> </portal:subCategories> ``` ``` <php>$categoryId=1;</php> <portal:subCategories categoryId="$categoryId" item="vo"> {$vo.name}<br> {$vo.description}<br> </portal:subCategories> ```