Initial commit: 教务系统在线平台
- 包含4个产业方向的前端项目:智能开发、智能制造、大健康、财经商贸 - 已清理node_modules、.yoyo等大文件,项目大小从2.6GB优化至631MB - 配置完善的.gitignore文件 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
25
frontend_财经商贸/test-courses.js
Normal file
25
frontend_财经商贸/test-courses.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import { mockData } from './src/data/mockData.js';
|
||||
|
||||
console.log('=== 课程直播间(复合能力课)===');
|
||||
mockData.courseLiveList.forEach(unit => {
|
||||
console.log(`\n单元:${unit.unitName}`);
|
||||
console.log(`课程数量:${unit.courses.length}`);
|
||||
if (unit.courses.length > 0) {
|
||||
console.log('前3个课程:');
|
||||
unit.courses.slice(0, 3).forEach(course => {
|
||||
console.log(` - ${course.courseName} (${course.teacherName}) - ${course.date}`);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
console.log('\n\n=== 公共课直播间(公开课)===');
|
||||
mockData.publicCourseLiveList.forEach(unit => {
|
||||
console.log(`\n单元:${unit.unitName}`);
|
||||
console.log(`课程数量:${unit.courses.length}`);
|
||||
if (unit.courses.length > 0) {
|
||||
console.log('所有课程:');
|
||||
unit.courses.forEach(course => {
|
||||
console.log(` - ${course.courseName} (${course.teacherName}) - ${course.date}`);
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user