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