Files
company-celebration/packages/client-mobile/src/router/index.ts
empty 48d61a1e15 feat: 新增签到墙、摇一摇等功能及开发环境配置
新功能:
- 签到墙页面 (CheckinWallView) 及后端接口
- 摇一摇互动页面 (ShakeView) 及服务
- 头像服务 (avatar.service)
- 微信公众号静默授权登录增强

开发环境:
- 新增 dev-tunnel skill 用于本地调试
- docker-compose.dev.yml 开发环境配置
- 客户端 .env.development 配置文件

其他改进:
- VoteView 投票页面功能增强
- AdminControl 管理控制台更新
- 连接状态管理优化
- 新增马蹄声音效

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 17:25:56 +08:00

40 lines
859 B
TypeScript

import { createRouter, createWebHistory } from 'vue-router';
const router = createRouter({
history: createWebHistory(),
routes: [
{
path: '/',
name: 'home',
component: () => import('../views/HomeView.vue'),
},
{
path: '/vote',
name: 'vote',
component: () => import('../views/VoteView.vue'),
},
{
path: '/result',
name: 'result',
component: () => import('../views/ResultView.vue'),
},
{
path: '/profile',
name: 'profile',
component: () => import('../views/ProfileView.vue'),
},
{
path: '/scan-login',
name: 'scan-login',
component: () => import('../views/ScanLoginView.vue'),
},
{
path: '/shake',
name: 'shake',
component: () => import('../views/ShakeView.vue'),
},
],
});
export default router;