From e3cc52ac5e9cd055a0c404c2bdd93a203ee79f9c Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Thu, 23 Oct 2025 12:27:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=B0=E9=A1=B5=E9=9D=A2):=20=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 6 ++++++ src/utils/permissionManager.js | 1 + src/utils/routeGuard.js | 1 + src/views/Activities/Lottery/Lottery.vue | 15 +++++++++++++-- src/views/Wallet/CashOut/CashOut.vue | 7 +++++++ 5 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 src/views/Wallet/CashOut/CashOut.vue diff --git a/src/router/index.js b/src/router/index.js index 0767ab5..cee757e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -251,6 +251,12 @@ const router = createRouter({ component: () => import('../views/Activities/Lottery/Lottery.vue'), meta: { requiresAuth: true }, }, + { + path: '/cash-out', + name: 'cash-out', + component: () => import('../views/Wallet/CashOut/CashOut.vue'), + meta: { requiresAuth: true }, + }, ], }) diff --git a/src/utils/permissionManager.js b/src/utils/permissionManager.js index d93df98..d1e7d8a 100644 --- a/src/utils/permissionManager.js +++ b/src/utils/permissionManager.js @@ -120,6 +120,7 @@ export const ROLE_PERMISSIONS = { '/recharge-agency-recruit', //充值代理介绍页面 '/invitation-to-register', //邀请新用户注册页面 '/lottery', // 抽奖活动页面 + '/cash-out', // 提现页面 ], // 加载页面 diff --git a/src/utils/routeGuard.js b/src/utils/routeGuard.js index c39b01e..ff9e275 100644 --- a/src/utils/routeGuard.js +++ b/src/utils/routeGuard.js @@ -411,6 +411,7 @@ class RouteGuard { '/recharge-agency-recruit', //充值代理介绍页面 '/invitation-to-register', //邀请新用户注册页面 '/lottery', // 抽奖活动页面 + '/cash-out', // 提现页面 ] return publicPages.includes(path) } diff --git a/src/views/Activities/Lottery/Lottery.vue b/src/views/Activities/Lottery/Lottery.vue index ac9d8ba..f11d901 100644 --- a/src/views/Activities/Lottery/Lottery.vue +++ b/src/views/Activities/Lottery/Lottery.vue @@ -377,7 +377,10 @@ -