 zhongyidianandClaude
|
5e84020b44
|
修复路由文件扩展名问题
- 将 router.js 重命名为 router.jsx
- 修复 "Unexpected token '<'" 语法错误
- 更新 App.jsx 中的导入路径
- JSX 文件必须使用 .jsx 扩展名
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-16 23:30:49 +08:00 |
|
 zhongyidianandClaude
|
6b84a5ed98
|
实现路由管理系统
- 创建 router.js 统一管理路由配置
- App.jsx 重构为使用 RouterProvider
- 创建 pages 目录结构:
- Layout.jsx: 主布局组件,包含 header 和 footer
- Home.jsx: 首页实验列表(原 App.jsx 内容)
- ExperimentDetail.jsx: 实验详情页,展示完整实验信息
- NotFound.jsx: 404 页面
- 实现页面导航功能:
- 点击实验项目可跳转到详情页
- 详情页支持返回列表
- 完善的错误处理和 404 页面
- 实验详情页功能:
- 展示实验目标、步骤、注意事项
- 实验信息卡片(时长、难度、类型)
- 交互式按钮(开始实验、下载资料)
- 所有代码通过 ESLint 检查
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-16 23:25:17 +08:00 |
|
 zhongyidianandClaude
|
7a577d8010
|
添加持久化存储和数据配置优化
- 将实验数据抽离到独立配置文件 (src/data/experiments.js)
- 添加 localStorage 持久化存储功能
- 实现拖拽排序结果的自动保存和加载
- 页面刷新后保持用户自定义的排序顺序
- 添加完善的错误处理和注释
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-16 23:08:09 +08:00 |
|
 zhongyidianandClaude
|
21a48c948c
|
Initial commit: 传感器实验课件系统
- 基于 React 19 + Vite 7 + Tailwind CSS 4
- 实现拖拽排序功能 (@dnd-kit)
- 5个传感器实验项目展示
- 响应式设计和现代化 UI
- 修复拖拽释放到空白区域时的潜在 bug
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-16 23:04:49 +08:00 |
|