From 0fa30a96b9c6c60cf641e0618d8b2358037728db Mon Sep 17 00:00:00 2001 From: "jqtmviyu@gmail.com" Date: Thu, 25 Feb 2021 17:06:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 6 ++++++ src/pages/category/category.vue | 6 +++--- src/pages/goods_list/goods_list.vue | 15 +++++++++++++++ 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 src/pages/goods_list/goods_list.vue diff --git a/src/pages.json b/src/pages.json index d575016..1df116c 100644 --- a/src/pages.json +++ b/src/pages.json @@ -9,6 +9,12 @@ "navigationBarTitleText": "分类" } }, + { + "path": "pages/goods_list/goods_list", + "style": { + "navigationBarTitleText": "商品列表" + } + }, { "path": "pages/index/index", "style": { diff --git a/src/pages/category/category.vue b/src/pages/category/category.vue index cb648a0..fa08974 100644 --- a/src/pages/category/category.vue +++ b/src/pages/category/category.vue @@ -18,10 +18,10 @@ {{item.cat_name}} - + {{item2.cat_name}} - + @@ -38,7 +38,7 @@ export default { // 左列表 menus:[], // 当前左列表选中项 - menuCurrent: 0, + menuCurrent: 0, // 右列表 goods: [], // 滚动到顶部 diff --git a/src/pages/goods_list/goods_list.vue b/src/pages/goods_list/goods_list.vue new file mode 100644 index 0000000..8f8a92e --- /dev/null +++ b/src/pages/goods_list/goods_list.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file