diff --git a/src/pages.json b/src/pages.json index 9cb2acc..e6d8560 100644 --- a/src/pages.json +++ b/src/pages.json @@ -89,6 +89,11 @@ "name": "商品列表", "path": "pages/goods_list/goods_list", "query": "id=33" + }, + { + "name": "购物车", + "path": "pages/cart/cart", + "query": "" } ] } diff --git a/src/pages/goods_detail/goods_detail.vue b/src/pages/goods_detail/goods_detail.vue index f78c33a..02bf3be 100644 --- a/src/pages/goods_detail/goods_detail.vue +++ b/src/pages/goods_detail/goods_detail.vue @@ -36,10 +36,10 @@ 联系客服 - + 购物车 - + 加入购物车 立即购买