diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue index 8bf541a..a17d835 100644 --- a/src/layouts/BasicLayout.vue +++ b/src/layouts/BasicLayout.vue @@ -51,6 +51,9 @@ 商家列表 + + 商家分类 + diff --git a/src/router/index.js b/src/router/index.js index 4297fe8..7a9aa66 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -55,6 +55,11 @@ const routes = [ path: 'list', component: () => import('@/views/merchant/List.vue'), meta: { title: '商家列表' } + }, + { + path: 'categories', + component: () => import('@/views/merchant/CategoryList.vue'), + meta: { title: '商家分类' } } ] } diff --git a/src/views/merchant/CategoryList.vue b/src/views/merchant/CategoryList.vue new file mode 100644 index 0000000..f3f04bd --- /dev/null +++ b/src/views/merchant/CategoryList.vue @@ -0,0 +1,214 @@ + + + + + \ No newline at end of file