From d5f40e0dfd70a1ecea1dbb1bdeeb12ec27281266 Mon Sep 17 00:00:00 2001
From: aaron <>
Date: Thu, 9 Jan 2025 17:23:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=95=86=E5=AE=B6?=
=?UTF-8?q?=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layouts/BasicLayout.vue | 14 +-
src/router/index.js | 11 ++
src/views/merchant/List.vue | 257 ++++++++++++++++++++++++++++++++++++
3 files changed, 281 insertions(+), 1 deletion(-)
create mode 100644 src/views/merchant/List.vue
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