Administrator
cf0fd092ef
chore: remove unused dependencies
2026-03-23 11:55:18 +08:00
22d6e57d2e
fix: remove duplicate CSS and align sidebar icons
...
Remove duplicate CSS rules, add flex display to menu items for proper icon alignment
2026-03-22 16:41:43 +08:00
4df5c13976
refactor: simplify dark mode with VueUse + Element Plus
...
Remove custom CSS variable overrides, use Element Plus built-in dark mode with VueUse useDark
2026-03-22 16:22:35 +08:00
85a20baf5a
feat: add checkins page with dark mode support
...
Add new checkin stations page for marking attendance with dark mode CSS variables integration
2026-03-22 16:04:50 +08:00
286862d1a0
feat: dark mode adaptation for admin pages
...
Add dark mode CSS variables to oauth and users admin pages for form labels, tables, and cards
2026-03-22 16:04:19 +08:00
30f2115877
feat: dark mode adaptation for main pages
...
Add dark mode CSS variable overrides to index, events, teams, results, and scoreboard pages for consistent theme switching
2026-03-22 16:03:39 +08:00
9a76c657af
feat: sidebar layout with dark mode support
...
Restore full Element Plus sidebar with collapsible navigation, mobile drawer, and dark mode CSS variables integration
2026-03-22 16:03:03 +08:00
f5c6a6991b
fix: disable SSR and configure dark mode infrastructure
...
Disable SSR (ssr: false) for development stability, add dark-mode.css with CSS variables for light/dark theme switching
2026-03-22 16:02:45 +08:00
Administrator
9303fd2f45
fix: layout height and collapsible sidebar display
2026-03-20 15:04:54 +08:00
Administrator
8117958bd6
feat: add user center with RBAC, OAuth2 multi-mode and collapsible sidebar
...
- Add user management with roles and permissions (RBAC)
- Implement OAuth2 service provider supporting 4 grant types:
authorization_code, password, client_credentials, refresh_token
- Add JWT authentication with 7-day expiry
- Add admin API for users, roles and OAuth clients management
- Add CLI tool for user management (scripts/user-cli.js)
- Add collapsible sidebar layout with login dialog
- Add user management page and OAuth client management page
- Add server middleware for auth token verification
- Add seed script for initial data (admin/admin123)
2026-03-19 17:19:57 +08:00
Administrator
6f1fa04b1e
fix: 调整径赛和团体赛分类
...
- 径赛(个人赛):100m、200m、400m
- 团体赛(接力赛):4×100m、4×400m、20×50m
- 团体赛(其他):旱地龙舟、跳长绳、折返跑
2026-03-19 14:12:52 +08:00
Administrator
41cff15fda
chore(config): add eslint configuration
2026-03-18 22:20:25 +08:00
Administrator
1f55170c6d
fix: 修复模块导入路径并移除未使用的 @nuxt/icon 依赖
...
- 修复 index.vue 中 scoreboard 模块导入路径
- 从 nuxt.config.ts 移除未使用的 @nuxt/icon 模块
- 消除构建时的弃用警告
2026-03-18 22:18:08 +08:00
Administrator
13d9e2358a
docs: 添加 API 文档和开发指南
...
- 添加完整的 API 接口文档 (docs/API.md)
- 6 个主要接口的详细说明
- 请求/响应示例
- 错误码说明
- 多语言使用示例
- 添加开发指南 (docs/DEVELOPMENT.md)
- 项目技术栈说明
- 目录结构详解
- 模块化开发教程
- 数据库设计说明
- 扩展建议
2026-03-18 12:41:15 +08:00
Administrator
94dbd0d34c
refactor: 将记分板功能模块化为可复用组件
...
- 创建 app/modules/scoreboard 模块目录
- 添加配置常量 (EVENT_CATEGORIES, TEAM_GROUPS, EVENT_TYPES)
- 添加 API 工具函数 (fetchEvents, fetchTeams, fetchResults 等)
- 添加可复用组件 (ModuleLayout, StatCard, DataTable)
- 添加模块导出文件 (mod.ts)
- 添加模块使用文档 (README.md)
- 更新首页使用模块 API 函数
后续可通过 import { xxx } from '~/modules/scoreboard' 导入使用
2026-03-17 22:33:01 +08:00
Administrator
22f073d8e7
feat: 运动会记分板系统核心功能
...
- 前后端分离架构 (Nuxt 3 + Element Plus)
- SQLite 数据库 (better-sqlite3)
- 比赛项目管理 (田赛/径赛/团体赛)
- 队伍管理 (5 个组别)
- 成绩录入与积分统计
- 记分板展示 (排名/奖牌榜)
- 移动端响应式适配
- 侧边栏布局 + 抽屉菜单
- 自动生成初始化数据接口
2026-03-17 22:29:18 +08:00