Files
online_sys/frontend_大健康/test-courses.js
KQL a7242f0c69 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>
2025-12-12 18:16:55 +08:00

25 lines
900 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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}`);
});
}
});