diff --git a/src/locales/ar.json b/src/locales/ar.json index 51e07f5..1eaeeea 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -467,5 +467,9 @@ "confirm_item_exchange": "هل أنت متأكد أنك تريد تبديل العنصر الحالي؟", "heartbeat_value_points_4_percent": "{amount} (4% من نقاط قيمة نبض القلب) × 2", "heartbeat_value_points_3_percent": "{amount} (3% من نقاط قيمة نبض القلب) × 2", - "heartbeat_value_points_2_percent": "{amount} (2% من نقاط قيمة نبض القلب) × 2" + "heartbeat_value_points_2_percent": "{amount} (2% من نقاط قيمة نبض القلب) × 2", + + "task_go": "اذهب >", + "task_receive": "استلام", + "task_received": "تم الاستلام" } diff --git a/src/locales/en.json b/src/locales/en.json index f735294..a81ec70 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -467,5 +467,9 @@ "confirm_item_exchange": "Are you sure you want to exchange the current item?", "heartbeat_value_points_4_percent": "{amount} (4% of Heartbeat Value points) * 2", "heartbeat_value_points_3_percent": "{amount} (3% of Heartbeat Value points) * 2", - "heartbeat_value_points_2_percent": "{amount} (2% of Heartbeat Value points) * 2" + "heartbeat_value_points_2_percent": "{amount} (2% of Heartbeat Value points) * 2", + + "task_go": "Go >", + "task_receive": "Receive", + "task_received": "Received" } diff --git a/src/locales/zh.json b/src/locales/zh.json index a154528..ee8eb77 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -467,5 +467,9 @@ "confirm_item_exchange": "您确定要兑换当前物品吗?", "heartbeat_value_points_4_percent": "{amount} (心跳值点数的4%) * 2;", "heartbeat_value_points_3_percent": "{amount} (心跳值点数的3%) * 2;", - "heartbeat_value_points_2_percent": "{amount} (心跳值点数的2%) * 2;" + "heartbeat_value_points_2_percent": "{amount} (心跳值点数的2%) * 2;", + + "task_go": "前往 >", + "task_receive": "接收", + "task_received": "已接收" } diff --git a/src/router/index.js b/src/router/index.js index 89d86fe..7140d23 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -372,17 +372,23 @@ const router = createRouter({ // 限时活动 { - path: '/new-year', - name: 'new-year', - component: () => import('../views/Activities/NewYear/index.vue'), + path: '/lucky-dollars-season3', + name: 'lucky-dollars-season3', + component: () => import('../views/Activities/LuckyDollars/Season3/index.vue'), meta: { requiresAuth: true }, - }, //2026年1月16日上午5点结束 + }, //2026年2月16日上午5点结束 { path: '/jack-pot', name: 'jack-pot', component: () => import('../views/Activities/JackPot/index.vue'), meta: { requiresAuth: true }, - }, //2026年1月3日上午5点结束 + }, //2026年2月16日上午5点结束 + { + path: '/new-year', + name: 'new-year', + component: () => import('../views/Activities/NewYear/index.vue'), + meta: { requiresAuth: true }, + }, //2026年1月16日上午5点结束 ], }) diff --git a/src/utils/permissionManager.js b/src/utils/permissionManager.js index 4e61ba7..2a0caa2 100644 --- a/src/utils/permissionManager.js +++ b/src/utils/permissionManager.js @@ -58,8 +58,9 @@ const ACTIVITIES = [ INVITATION_PAGES.INVITE_USER, //邀请新用户(邀请码) '/recharge-reward', //充值奖励 - '/new-year', //新年抽奖 + '/lucky-dollars-season3', //水果游戏打榜 '/jack-pot', //水果游戏打榜 + '/new-year', //新年抽奖 ] // 🎯 核心改变:基于身份的权限配置 diff --git a/src/utils/routeGuard.js b/src/utils/routeGuard.js index b20c3ac..27e89f3 100644 --- a/src/utils/routeGuard.js +++ b/src/utils/routeGuard.js @@ -409,8 +409,9 @@ class RouteGuard { '/invitation-to-register', //邀请新用户注册页面 '/recharge-reward', //充值奖励 - '/new-year', //新年抽奖 + '/lucky-dollars-season3', //水果游戏打榜 '/jack-pot', //水果游戏打榜 + '/new-year', //新年抽奖 ] const publicPages = [ diff --git a/src/views/Activities/LuckyDollars/Season3/components/Barrage.vue b/src/views/Activities/LuckyDollars/Season3/components/Barrage.vue new file mode 100644 index 0000000..eb2d909 --- /dev/null +++ b/src/views/Activities/LuckyDollars/Season3/components/Barrage.vue @@ -0,0 +1,286 @@ + + + + + + + + + {{ barrageText(item) }} + + + + + + + + + diff --git a/src/views/Activities/LuckyDollars/Season3/components/topUser.vue b/src/views/Activities/LuckyDollars/Season3/components/topUser.vue new file mode 100644 index 0000000..32d790f --- /dev/null +++ b/src/views/Activities/LuckyDollars/Season3/components/topUser.vue @@ -0,0 +1,300 @@ + + + + + + + + + + + + + + + + {{ name }} + + + + + + {{ distributionValue }} + + + + + + + + + + diff --git a/src/views/Activities/LuckyDollars/Season3/index.vue b/src/views/Activities/LuckyDollars/Season3/index.vue new file mode 100644 index 0000000..5fba3d1 --- /dev/null +++ b/src/views/Activities/LuckyDollars/Season3/index.vue @@ -0,0 +1,2781 @@ + + + + + + + {{ $t('loading') }}... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ Days }} + + + + + + {{ Hours }} + + + : + + + {{ Minutes }} + + + : + + + {{ Second }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ listItem?.rank }} + + + + + + + + + + + + + + + + + + {{ listItem?.userName }} + + + {{ $t('user_id_prefix') }} + {{ listItem?.specialAccount || listItem?.account }} + + + + + + + + + {{ listItem?.amount || 0 }} + + + + + + + + + + + + + + + + + {{ formatRewardDisplay(item.type, item) }} + + , + + + + + + + + + + + + + + + + + {{ listItem?.rank }} + + + + + + + + + + {{ listItem?.userName }} + + + {{ $t('user_id_prefix') }} + {{ listItem?.specialAccount || listItem?.account }} + + + + + + + + + {{ listItem?.amount || 0 }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 Spin + + + + + 10 Spin + + + + + + + + {{ + t('Total Tickets:({ usedCount }/100)', { usedCount: totalDraw?.usedCount || 0 }) + }} + + + + + + + {{ t('task_go') }} + + + + + {{ t('task_receive') }} + + + + + {{ t('task_received') }} + + + + + + {{ t('Lucky Dollars Medal*permanent') }} + + + + + + {{ t('Task for tickets') }} + + + + + + + + + + + + + + {{ showTarget(task) }} + + + + + {{ t('Rewards:') }} + + *{{ task.rewardValue }} + + + + + + + + {{ t('task_go') }} + + + + + {{ t('task_receive') }} + + + + + {{ t('task_received') }} + + + + + + + + + + + + + + + + + + + + {{ userInfo.userNickname || '' }} + + + + {{ $t('user_id_prefix') }} {{ userInfo.account || '' }} + + + {{ t('current_earnings', { amount: currentAmount.availableAmount }) }} + + + + + + + + + + {{ t('transfer_to_recharge_agent') }} + + + + + + + + + + + + + + + + + + {{ selectedPayee.name || '' }} + + + {{ $t('user_id_prefix') }} {{ selectedPayee.account || '' }} + + + + + {{ t('change') }} + + + + + + + + + + + + + + {{ t('select') }} + + + + + + + + ${{ coin.price }} + + + + + + + {{ t('transfer') }} + + + + + + + + {{ t('exchange_gold_coins') }} + + + + + + + + + + + {{ coin.amount }} coins x1 + ${{ coin.price }} + + + + + + + {{ t('exchange') }} + + + + + + + + {{ t('go_to_withdraw') }} + + + + + + + + + + + + + + + + + {{ myRanking.rank || 999 }} + + + + + + + + + + {{ myRanking.userName }} + + + + + + + + + {{ myRanking.amount || 0 }} + + + + + + + + + + + + + + + + + {{ formatRewardDisplay(topReward.type, topReward) }} + + + + + + + + + + + + + + + + + + + + + + + + {{ t('you_get') }} {{ result[resultShowIndex]?.prize?.prizeName }} + + {{ resultShowIndex + 1 }} / {{ result.length }} + + + + + + + + + + + + + + + + + {{ record?.prize?.prizeName }} + + + + {{ formatUTCCustom(record.drawTime) }} + + + + + + + + + + + + + + + + + + + + + +
{{ $t('loading') }}...