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"}