feat: add lottery results display page

- Add LOTTERY_RESULTS system phase
- Add /screen/lottery-results route
- Add LotteryResultsView component
- Add database connection management (db.ts)
- Update DrawResult schema to remove User relation
- Add awardIcon field to VoteResultsView

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
empty
2026-01-29 02:13:28 +08:00
parent 57cbaa5728
commit e211bb2130
9 changed files with 555 additions and 7 deletions

View File

@@ -51,6 +51,12 @@ const router = createRouter({
component: () => import('../views/VoteResultsView.vue'),
meta: { title: '年会大屏 - 投票结果' },
},
{
path: '/screen/lottery-results',
name: 'screen-lottery-results',
component: () => import('../views/LotteryResultsView.vue'),
meta: { title: '年会大屏 - 抽奖结果' },
},
{
path: '/screen/horse-race',
name: 'screen-horse-race',