- 后端: 新增 user_levels, exp_history, badge_definitions, user_badges, level_configs 表 - 后端: 新增 LevelService 和 BadgeService 服务 - 后端: 新增等级/奖章/签到/排行榜 API 端点 - 后端: 考试/练习/陪练完成时触发经验值和奖章检查 - 前端: 新增 LevelBadge, ExpProgress, BadgeCard, LevelUpDialog 组件 - 前端: 新增排行榜页面 - 前端: 成长路径页面集成真实等级数据 - 数据库: 包含迁移脚本和初始数据
This commit is contained in:
@@ -31,6 +31,12 @@ const routes: RouteRecordRaw[] = [
|
||||
component: () => import('@/views/trainee/growth-path.vue'),
|
||||
meta: { title: '我的成长路径', icon: 'TrendCharts' }
|
||||
},
|
||||
{
|
||||
path: 'leaderboard',
|
||||
name: 'Leaderboard',
|
||||
component: () => import('@/views/trainee/leaderboard.vue'),
|
||||
meta: { title: '等级排行榜', icon: 'Trophy' }
|
||||
},
|
||||
{
|
||||
path: 'course-center',
|
||||
name: 'CourseCenter',
|
||||
|
||||
Reference in New Issue
Block a user