From 6e5a86d84b8aaeba49f4be5c7cacd10b26b53a4f Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Sun, 27 Apr 2025 16:55:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/route/route.php | 4 ++-- app/index/view/product/category.html | 4 ++-- app/index/view/product/detail.html | 2 +- app/index/view/public/footer.html | 2 +- app/index/view/public/header.html | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/index/route/route.php b/app/index/route/route.php index 3ffeb845..041c59a5 100644 --- a/app/index/route/route.php +++ b/app/index/route/route.php @@ -15,9 +15,9 @@ Route::get('/', 'Index/index'); // 产品相关路由 Route::group('product', function() { // 产品分类页 - Route::get('category/:id', 'Product/category')->name('product_category'); + Route::get('category/:id', 'Product/category'); // 产品详情页 - Route::get('detail/:id', 'Product/detail')->name('product_detail'); + Route::get('detail/:id', 'Product/detail'); // 产品询盘 Route::post('inquiry', 'Product/inquiry'); // 新品上市 diff --git a/app/index/view/product/category.html b/app/index/view/product/category.html index a50d7c02..ee4afe74 100644 --- a/app/index/view/product/category.html +++ b/app/index/view/product/category.html @@ -18,13 +18,13 @@

{$vo.name} {eq name="vo.level" value="2"} - 查看更多 + 查看更多 {/eq}

{notempty name="vo.products"}
{volist name="vo.products" id="vp"} - +
{volist name="vp.sku" id="vs" key="vs_idx"} diff --git a/app/index/view/product/detail.html b/app/index/view/product/detail.html index fc77db5d..9bc9a864 100644 --- a/app/index/view/product/detail.html +++ b/app/index/view/product/detail.html @@ -22,7 +22,7 @@ 首页 {volist name="product_categorys" id="ca"}
- {$ca.name} + {$ca.name} {/volist}
diff --git a/app/index/view/public/footer.html b/app/index/view/public/footer.html index 7980ac6d..7c861df3 100644 --- a/app/index/view/public/footer.html +++ b/app/index/view/public/footer.html @@ -12,7 +12,7 @@

{:lang('footer_navigation.product_categorys')}

diff --git a/app/index/view/public/header.html b/app/index/view/public/header.html index 4831c0f0..18477c7e 100644 --- a/app/index/view/public/header.html +++ b/app/index/view/public/header.html @@ -33,11 +33,11 @@ {volist name="vo.children" id="vc"}