feat: redesign fortune wheel UI and add to mobile nav

- Add wheel button to mobile bottom nav (replaces Support when enabled)
- Slow down LED lights animation (250ms -> 600ms)
- Replace result modal with inline card in Wheel.tsx
- Add haptic feedback on spin result
- AdminWheel.tsx: inline prize editing instead of modal
- AdminWheel.tsx: drag-and-drop for prize reordering
- AdminWheel.tsx: live wheel preview on desktop
- AdminWheel.tsx: group settings into sections
- Replace confirm() with native dialog
- Add translations for all languages
This commit is contained in:
c0mrade
2026-02-02 17:51:46 +03:00
parent e9af285dad
commit 7e2802c5b5
9 changed files with 740 additions and 472 deletions

View File

@@ -26,6 +26,7 @@
"retry": "重试",
"saving": "保存中...",
"understand": "明白了",
"collapse": "收起",
"units": {
"gb": "GB",
"perGb": "/GB"
@@ -728,6 +729,7 @@
},
"wheel": {
"title": "幸运转盘设置",
"preview": "预览",
"enabled": "已启用",
"disabled": "已禁用",
"tabs": {
@@ -743,13 +745,18 @@
"rtpPercent": "RTP (返还率) %",
"dailyLimit": "每日限制 (0 = 无限)",
"minSubDays": "天数支付最低订阅天数",
"promoPrefix": "优惠码前缀"
"promoPrefix": "优惠码前缀",
"spinCost": "旋转费用",
"limitsAndRtp": "限制和RTP",
"promocodes": "促销码"
},
"prizes": {
"addPrize": "添加奖品",
"editPrize": "编辑奖品",
"noPrizes": "未配置奖品。添加奖品以启用转盘。",
"deletePrize": "删除此奖品?",
"dragToReorder": "拖动排序",
"confirmDelete": "确定要删除这个奖品吗?",
"types": {
"subscription_days": "订阅天数",
"balance_bonus": "余额奖励",