From 6f11e65cb1fd06f7a59f75e76639c2ba47496460 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Wed, 5 Nov 2025 19:40:38 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=B0=E9=A1=B5=E9=9D=A2):=20=E5=8D=B0?= =?UTF-8?q?=E5=BA=A6=E5=B0=BC=E8=A5=BF=E4=BA=9A=E8=8B=B1=E9=9B=84=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/routeGuard.js | 21 ++- src/views/Activities/heroesDay/topUser.vue | 193 +++++++++++++++++++++ 2 files changed, 207 insertions(+), 7 deletions(-) create mode 100644 src/views/Activities/heroesDay/topUser.vue diff --git a/src/utils/routeGuard.js b/src/utils/routeGuard.js index ce645ac..10e4ea0 100644 --- a/src/utils/routeGuard.js +++ b/src/utils/routeGuard.js @@ -395,26 +395,33 @@ class RouteGuard { * @returns {boolean} */ isPublicPage(path) { + // 活动页面 + const ACTIVITIES = [ + '/top-list', //排行榜 + '/weekly-star', //每周明星 + '/ranking', //总排行榜 + '/halloween', //万圣节活动页面 + '/lottery', // 抽奖活动页面 + '/recharge-reward', //充值奖励页面 + '/invitation-to-register', //邀请新用户注册页面 + '/revolution-unity-day', //孟加拉国民革命与团结日 + '/heroes-day', //印度尼西亚英雄日 + ] + const publicPages = [ PAGES.APPLY, // 申请页面 - 重要:申请页面不需要权限检查 PAGES.NOT_APP, // 错误页面 - APP连接失败时的页面 PAGES.MAP, // 地图选择页面 + ...ACTIVITIES, // 活动页面 '/404', // 404页面 '/error', // 通用错误页面 '/recharge', '/recharge-freight-agent', '/pay-result', - '/top-list', //排行榜 - '/weekly-star', //每周明星 - '/ranking', //总排行榜 - '/halloween', //万圣节活动页面 '/recharge-agency-recruit', //充值代理介绍页面 - '/invitation-to-register', //邀请新用户注册页面 - '/lottery', // 抽奖活动页面 '/cash-out', // 提现页面 '/cash-out-details', //提现详情页面 '/KYC', //提现资料提交 - '/recharge-reward', //充值奖励页面 ] return publicPages.includes(path) } diff --git a/src/views/Activities/heroesDay/topUser.vue b/src/views/Activities/heroesDay/topUser.vue new file mode 100644 index 0000000..2653dfb --- /dev/null +++ b/src/views/Activities/heroesDay/topUser.vue @@ -0,0 +1,193 @@ + + + + +