feat: 添加AI课程集成和修复初始化错误

- 将终生学习系统课添加到公共课直播间
- 修复allCalendarEvents初始化顺序问题
- 更正AI课程导师为李奇
- 添加AI课程与日历页面同步功能
This commit is contained in:
KQL
2025-09-07 23:09:48 +08:00
parent 6337cc4812
commit 27f2339c9e
81 changed files with 41799 additions and 1654 deletions

View File

@@ -40,6 +40,36 @@
.course-list {
width: 100%;
/* 分割线样式 */
.course-divider {
width: 100%;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
margin: 20px 0;
position: relative;
.divider-line {
flex: 1;
height: 1px;
background: linear-gradient(90deg, transparent, #e5e6eb 20%, #e5e6eb 80%, transparent);
border-style: dashed;
border-width: 1px 0 0 0;
border-color: #e5e6eb;
}
.divider-text {
padding: 0 16px;
font-size: 14px;
font-weight: 500;
color: #86909c;
background-color: #fff;
position: relative;
z-index: 1;
}
}
/* 自定义折叠面板元素 */
.course-list-item {
width: 272px;
@@ -51,6 +81,14 @@
font-weight: 400;
line-height: 21px;
border: none;
&.has-preview-unit {
.arco-collapse-item-header {
background: linear-gradient(135deg, #f0f7ff 0%, #e8f3ff 100%);
border: 1px solid #b3d4ff;
box-shadow: 0 2px 8px rgba(64, 128, 255, 0.1);
}
}
.arco-collapse-item-header {
border-radius: 8px;
@@ -275,6 +313,40 @@
border: 1px solid #ff7d00;
}
}
.preview-badge {
position: absolute;
left: 50%;
top: 60%;
transform: translate(-50%, -50%);
padding: 4px 12px;
background: #4080ff;
color: #fff;
font-size: 12px;
font-weight: 600;
border-radius: 12px;
z-index: 10;
box-shadow: 0 3px 8px rgba(64, 128, 255, 0.3);
}
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
}
50% {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
}
100% {
transform: scale(1);
box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
}
}
.has-preview {
/* 可试看标签已调整到中心位置,不需要额外样式 */
}
}
}
}