From 13a39e1b13c706c27ac334682b1976182a961d50 Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Wed, 2 Apr 2025 11:49:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E8=88=AA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sidebar/components/SidebarLogo.vue | 20 +++- src/router/index.ts | 33 ------- src/views/shop/list/index.vue | 95 ++++++++----------- 3 files changed, 58 insertions(+), 90 deletions(-) diff --git a/src/layout/components/Sidebar/components/SidebarLogo.vue b/src/layout/components/Sidebar/components/SidebarLogo.vue index 4aa6d74..1a2fc92 100644 --- a/src/layout/components/Sidebar/components/SidebarLogo.vue +++ b/src/layout/components/Sidebar/components/SidebarLogo.vue @@ -3,7 +3,22 @@ - {{ userStore.userInfo.shopName }} + + + + {{ userStore.userInfo.shopName }} + + + + + + @@ -30,7 +45,8 @@ defineProps({ background-color: $sidebar-logo-background; .title { - flex-shrink: 0; /* 防止容器在空间不足时缩小 */ + flex-shrink: 0; + /* 防止容器在空间不足时缩小 */ margin-left: 10px; font-size: 16px; color: #5a5e66; diff --git a/src/router/index.ts b/src/router/index.ts index e85ecdb..8d57ace 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -63,38 +63,6 @@ export const constantRoutes: RouteRecordRaw[] = [ keepAlive: true, }, }, - { - path: "credit", - name: "", - component: () => import("@/views/data/credit/index.vue"), - meta: { - title: "挂账管理", - affix: false, - keepAlive: true, - - }, - }, - { - path: "credit-detail", - name: "", - component: () => import("@/views/data/credit/detail.vue"), - meta: { - title: "挂账明细", - affix: false, - keepAlive: true, - hidden: true - }, - }, - { - path: "work", - name: "", - component: () => import("@/views/data/work.vue"), - meta: { - title: "交班记录", - affix: false, - keepAlive: true, - }, - }, { path: "401", component: () => import("@/views/error/401.vue"), @@ -473,7 +441,6 @@ export const constantRoutes: RouteRecordRaw[] = [ // /**列表end */ - // ], // }, // { diff --git a/src/views/shop/list/index.vue b/src/views/shop/list/index.vue index a084d3d..efaff9a 100644 --- a/src/views/shop/list/index.vue +++ b/src/views/shop/list/index.vue @@ -3,33 +3,16 @@
- + - + - + @@ -42,33 +25,31 @@ 添加店铺
- + - + - - - - + + + + @@ -106,17 +88,23 @@