} else{
if($autoindex >= $_limit) break;
}
$navmainurl = $nav['catmainurl'] ? false : true;
$nav['url'] = $_category->getCategoryUrl($nav, [] , $navmainurl);
$nav = update_str_dq($nav, session('sys_areainfo'));
?>
<li><a href="<?php echo $nav['url']; ?>" <?php if($nav['id'] == $cid): ?>class="hover"<?php endif; ?> target="<?php echo $nav['target']; ?>"><?php echo $nav['title']; ?></a>
<?php if(is_array($nav['child']) || $nav['child'] instanceof \think\Collection || $nav['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $nav['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
<dl>
<dt><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a></dt>
<?php endforeach; endif; else: echo "" ;endif; ?>
</dl>
</li>
<?php endforeach;?>
</ul>
</div>