<div class="lc-l-n">
<?php if(is_array($allCat) || $allCat instanceof \think\Collection || $allCat instanceof \think\Paginator): $i = 0; $__LIST__ = $allCat;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<ul>
<h1 class="lc-l-n-A">
<a href="/index/goods/list?cid=<?php echo htmlentities($vo['id']); ?>">
<span><?php echo htmlentities($vo['cat_name']); ?></span>
<img src="/static/index/img/xia3.png" alt="">
</a>
</h1>
<?php if(is_array($vo['child']) || $vo['child'] instanceof \think\Collection || $vo['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$er): $mod = ($i % 2 );++$i;?>
<li>
<h2 class="lc-l-n-h2">
<span>|</span>
<a href="/index/goods/list?cid=<?php echo htmlentities($er['id']); ?>"><?php echo htmlentities($er['cat_name']); ?></a>
</h2>
<div>
<!-- <a class="lc-l-n-d" href="#">--TOC配件耗材</a> -->
<?php if(!(empty($er['child']) || (($er['child'] instanceof \think\Collection || $er['child'] instanceof \think\Paginator ) && $er['child']->isEmpty()))): if(is_array($er['child']) || $er['child'] instanceof \think\Collection || $er['child'] instanceof \think\Paginator): $i = 0; $__LIST__ = $er['child'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$san): $mod = ($i % 2 );++$i;?>
<a href="javascript:;" data-href="/index/goods/list?cid=<?php echo htmlentities($san['id']); ?>" class="mya"><?php echo htmlentities($san['cat_name']); if(!(empty($san['child']) || (($san['child'] instanceof \think\Collection || $san['child'] instanceof \think\Paginator ) && $san['child']->isEmpty()))): ?>