diff --git a/src/router/index.js b/src/router/index.js index 23bb169..026108d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -389,12 +389,6 @@ const router = createRouter({ component: () => import('../views/Activities/SpringFestival/index.vue'), meta: { requiresAuth: true }, }, //2026年3月14日上午5点结束 - { - path: '/jack-pot', - name: 'jack-pot', - component: () => import('../views/Activities/JackPot/index.vue'), - meta: { requiresAuth: true }, - }, //2026年2月16日上午5点结束 ], }) diff --git a/src/utils/permissionManager.js b/src/utils/permissionManager.js index 509c7bd..819d1c8 100644 --- a/src/utils/permissionManager.js +++ b/src/utils/permissionManager.js @@ -57,11 +57,10 @@ const RANKING_PAGES = [ const ACTIVITIES = [ INVITATION_PAGES.INVITE_USER, //邀请新用户(邀请码) '/recharge-reward', //充值奖励 + '/login-reward', // 登录奖励 '/activities/lucky-dollars-season3', // 斋月打榜 '/activities/spring-festival', // 春节打榜 - '/login-reward', // 登录奖励 - '/jack-pot', // 水果游戏打榜 ] // 🎯 核心改变:基于身份的权限配置 diff --git a/src/utils/routeGuard.js b/src/utils/routeGuard.js index 6f6509c..32d2d0e 100644 --- a/src/utils/routeGuard.js +++ b/src/utils/routeGuard.js @@ -408,11 +408,10 @@ class RouteGuard { const ACTIVITIES = [ '/invitation-to-register', //邀请新用户注册页面 '/recharge-reward', //充值奖励 + '/login-reward', // 登录奖励 '/activities/lucky-dollars-season3', // 斋月打榜 '/activities/spring-festival', // 春节打榜 - '/login-reward', // 登录奖励 - '/jack-pot', //水果游戏打榜 ] const publicPages = [ diff --git a/src/views/Activities/JackPot/components/topUser.vue b/src/views/Activities/JackPot/components/topUser.vue deleted file mode 100644 index bca3615..0000000 --- a/src/views/Activities/JackPot/components/topUser.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - - - - - - - - - - {{ name }} - - - - - - {{ distributionValue }} - - - - - - - - - - diff --git a/src/views/Activities/JackPot/index.vue b/src/views/Activities/JackPot/index.vue deleted file mode 100644 index 6de2723..0000000 --- a/src/views/Activities/JackPot/index.vue +++ /dev/null @@ -1,839 +0,0 @@ - - - - - - - {{ $t('loading') }}... - - - - - - - - - - - - - - - - - - - - - - - - {{ Days }}D - - - - - - {{ Hours }} - - - : - - - {{ Minutes }} - - - : - - - {{ Second }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ listItem?.rank }} - - - - - - - - - {{ listItem?.nickname }} - - - {{ $t('user_id_prefix') }} {{ listItem?.account }} - - - - - - - - - {{ listItem?.quantity }} - - - - - - - - - - - - - - - - - - handleRewardImageError(e, reward.type)" - /> - - - - - - {{ showDetail(reward.type, reward) }} - - - - - - - - - - - - - - - - - - {{ myRanking.rank || 999 }} - - - - - - - - - {{ myRanking.nickname }} - - - - - - - - - {{ myRanking.quantity || 0 }} - - - - - - - - - - - - - - - - - - -
{{ $t('loading') }}...