前端:首页、分类,增加跳转到搜索

This commit is contained in:
YunaiV
2019-04-25 01:07:53 +08:00
parent b98e21e157
commit 2ddf0e30d1
6 changed files with 47 additions and 22 deletions

View File

@@ -88,7 +88,7 @@ const routes = [
},
{
path: '/user/coupon',
component: () => import('../page/user/coupon/list'),
component: () => import('../page/coupon/list'),
meta: {
title: '我的优惠券',
requireAuth: true,
@@ -99,7 +99,7 @@ const routes = [
component: () => import('../page/user/order/list'),
meta: {
title: '我的订单'
}
},
},
{
path: '/user/order/:id',
@@ -154,6 +154,7 @@ const routes = [
}
},
{
name: '/product/search',
path: '/product/search',
component: () => import('../page/product/search'),
meta: {