fix: pc顶部导航
This commit is contained in:
@@ -26,18 +26,22 @@
|
|||||||
<!-- 右边子菜单-->
|
<!-- 右边子菜单-->
|
||||||
{volist name="header_categorys" id="vo" key="idx"}
|
{volist name="header_categorys" id="vo" key="idx"}
|
||||||
<div class="navItem_cyright" {eq name="idx" value="1" }style="display: block;"{else/}style="display: none;"{/eq}>
|
<div class="navItem_cyright" {eq name="idx" value="1" }style="display: block;"{else/}style="display: none;"{/eq}>
|
||||||
|
{if condition="!empty($vo.children)"}
|
||||||
{volist name="vo.children" id="vc"}
|
{volist name="vo.children" id="vc"}
|
||||||
<dl class="nav_cyrightit">
|
<dl class="nav_cyrightit">
|
||||||
<dt>
|
<dt>
|
||||||
<a href="{:url('product/subcategory', ['id' => $vc.id])}">{$vc.name}</a>
|
<a href="{:url('product/subcategory', ['id' => $vc.id])}">{$vc.name}</a>
|
||||||
</dt>
|
</dt>
|
||||||
|
{if condition="!empty($vc.children)"}
|
||||||
{volist name="vc.children" id="vcc"}
|
{volist name="vc.children" id="vcc"}
|
||||||
<dd>
|
<dd>
|
||||||
<a href="{:url('product/subcategory', ['id' => $vcc.id])}">{$vcc.name}</a>
|
<a href="{:url('product/subcategory', ['id' => $vcc.id])}">{$vcc.name}</a>
|
||||||
</dd>
|
</dd>
|
||||||
{/volist}
|
{/volist}
|
||||||
|
{/if}
|
||||||
</dl>
|
</dl>
|
||||||
{/volist}
|
{/volist}
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/volist}
|
{/volist}
|
||||||
</ol>
|
</ol>
|
||||||
|
|||||||
Reference in New Issue
Block a user