From fb076705f453c4bca6e5dbb81e64af9ae89abe69 Mon Sep 17 00:00:00 2001
From: donghaolin <17667510818@163.com>
Date: Thu, 10 Apr 2025 11:06:36 +0800
Subject: [PATCH] =?UTF-8?q?4/9=E5=8F=B7=EF=BC=8C=E5=9C=B0=E5=8C=BA?=
=?UTF-8?q?=E9=80=9A=E8=BF=87url=E4=BC=A0=E9=80=92?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
gold-system/src/router/index.js | 2 +-
gold-system/src/views/index.vue | 121 ++++++++++++++++++++++++++--------------
2 files changed, 80 insertions(+), 43 deletions(-)
diff --git a/gold-system/src/router/index.js b/gold-system/src/router/index.js
index a41b5ca..819595c 100644
--- a/gold-system/src/router/index.js
+++ b/gold-system/src/router/index.js
@@ -12,7 +12,7 @@ const router = createRouter({
children: [
// 工作台
- { path: '/workspace', name: "workspace", component: () => import("../views/workspace/index.vue") },
+ { path: '/workspace/:area?', name: "workspace", component: () => import("../views/workspace/index.vue") },
// 充值审核
{ path: '/rechargeAudit', name: "rechargeAudit", component: () => import("../views/audit/rechargeAudit.vue") },
// 退款审核
diff --git a/gold-system/src/views/index.vue b/gold-system/src/views/index.vue
index a116f95..4b97461 100644
--- a/gold-system/src/views/index.vue
+++ b/gold-system/src/views/index.vue
@@ -1,67 +1,85 @@
@@ -257,6 +275,25 @@ const handleSelect = (index) => {
mode="horizontal"
:ellipsis="false"
>
+
+
+
+
+
+ {{ item }}
+
+
+
+
@@ -331,4 +365,7 @@ const handleSelect = (index) => {
border: none; /* 去除边框 */
padding: 0; /* 去除内边距 */
}
+.el-menu-demo {
+ float: right; /* 将菜单向右浮动 */
+}