refactor: 修改顷部导航链接

This commit is contained in:
jsasg
2025-04-25 18:47:28 +08:00
parent bdf91b1565
commit 28a2ebeb77

View File

@@ -33,11 +33,11 @@
{volist name="vo.children" id="vc"}
<dl class="nav_cyrightit">
<dt>
<a href="{:url('product_index', ['id' => $vc.id])}">{$vc.name}</a>
<a href="{:url('product_category', ['id' => $vc.id])}">{$vc.name}</a>
</dt>
{volist name="vc.children" id="vcc"}
<dd>
<a href="{:url('product_index', ['id' => $vcc.id])}">{$vcc.name}</a>
<a href="{:url('product_category', ['id' => $vcc.id])}">{$vcc.name}</a>
</dd>
{/volist}
<dl>
@@ -106,7 +106,8 @@
<div class="popmain">
{volist name="header_hot_products" id="vo"}
<div class="popitem">
<a href="{:url('product_detail', ['id' => $vo.id])}"><img src="{$vo.cover_image}" class="popimg" /></a>
<a href="{:url('product_detail', ['id' => $vo.id])}"><img src="{$vo.cover_image}"
class="popimg" /></a>
<div class="productName">{$vo.name}</div>
</div>
{/volist}