diff --git a/src/layouts/BasicLayout.vue b/src/layouts/BasicLayout.vue
index a65e9e5..8bf541a 100644
--- a/src/layouts/BasicLayout.vue
+++ b/src/layouts/BasicLayout.vue
@@ -42,6 +42,16 @@
驿站列表
+
+
+
+
+
+ 商家管理
+
+ 商家列表
+
+
@@ -92,6 +102,7 @@ import {
DownOutlined,
LogoutOutlined,
DashboardOutlined,
+ ShopOutlined,
} from '@ant-design/icons-vue'
import { useRouter } from 'vue-router'
@@ -105,12 +116,13 @@ export default defineComponent({
DownOutlined,
LogoutOutlined,
DashboardOutlined,
+ ShopOutlined,
},
setup() {
const router = useRouter()
const collapsed = ref(false)
const selectedKeys = ref(['dashboard'])
- const openKeys = ref(['user', 'community'])
+ const openKeys = ref(['user', 'community', 'merchant'])
const userInfo = ref(JSON.parse(localStorage.getItem('userInfo') || '{}'))
diff --git a/src/router/index.js b/src/router/index.js
index e578239..ebb0e65 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -46,6 +46,17 @@ const routes = [
path: '/login',
name: 'login',
component: () => import('../views/login/Login.vue')
+ },
+ {
+ path: '/merchant',
+ component: BasicLayout,
+ children: [
+ {
+ path: 'list',
+ component: () => import('@/views/merchant/List.vue'),
+ meta: { title: '商家列表' }
+ }
+ ]
}
]
diff --git a/src/views/merchant/List.vue b/src/views/merchant/List.vue
new file mode 100644
index 0000000..f96f3c9
--- /dev/null
+++ b/src/views/merchant/List.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
+
+
+
+ 查看位置
+
+
+ {{ formatDateTime(record.create_time) }}
+
+
+ 管理图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file