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 @@ + + + + + + + + + + + + + + + {{ name }} + + + + + + {{ distributionValue }} + + + + + + + + + +