yanlongqi
92e8c9a94c
实现完整的登录注册功能并优化前端组件
- 实现登录页面:
- 添加登录和注册表单切换功能
- 使用antd-mobile组件(Form, Input, Button, Toast)
- 白色背景设计,标题使用主题色
- 表单验证和错误提示
- 已登录用户自动重定向
- 完善用户认证:
- 路由保护,未登录用户重定向到登录页
- 用户信息保存到localStorage
- Profile页面支持退出登录
- 后端改进:
- 启用CORS中间件支持跨域请求
- 更新开发规范:
- 在CLAUDE.md中添加前端开发规范
- 明确UI组件使用原则:优先使用antd-mobile组件
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 23:56:53 +08:00
..
2025-11-03 23:56:53 +08:00
2025-11-03 14:22:48 +08:00
2025-11-03 14:22:48 +08:00
2025-11-03 14:22:48 +08:00
2025-11-03 23:21:38 +08:00
2025-11-03 23:21:38 +08:00
2025-11-03 14:22:48 +08:00
2025-11-03 14:22:48 +08:00
2025-11-03 23:21:38 +08:00
2025-11-03 23:21:38 +08:00