if判断二级导航显示问题
<yang:catlist typeid="141" limit="1" orderby="sort ASC">
<if condition = "($cid eq $catlist['id'])or($cid eq 141)or($cid eq $catlist['child'])">
<dl>
<dt><a href="{$catlist.url}#{$catlist.ename}" data-toggle="collapse" > {$catlist.name}<span class="pull-right glyphicon glyphicon-chevron-down"></span></a></dt>
<div id="{$catlist.ename}" class="collapseb">
<volist name='catlist["child"]' id='v'>
<dd ><span><a href="{$v|get_url}#cp" >{$v.name}</a> </span></dd>
</volist>
</div>
</dl>
</if>
</yang:catlist>
根据$catlist['id']我可以一级导航的ID,二级导航的ID我应该怎么写,我随便用的这个$catlist['child'],我知道是错的