refactor: 修改路由命名

This commit is contained in:
2025-04-27 16:55:12 +08:00
parent e2265629f9
commit 6e5a86d84b
5 changed files with 9 additions and 9 deletions

View File

@@ -33,11 +33,11 @@
{volist name="vo.children" id="vc"}
<dl class="nav_cyrightit">
<dt>
<a href="{:url('product_category', ['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_category', ['id' => $vcc.id])}">{$vcc.name}</a>
<a href="{:url('product/category', ['id' => $vcc.id])}">{$vcc.name}</a>
</dd>
{/volist}
<dl>
@@ -106,7 +106,7 @@
<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}"
<a href="{:url('product/detail', ['id' => $vo.id])}"><img src="{$vo.cover_image}"
class="popimg" /></a>
<div class="productName">{$vo.name}</div>
</div>