'界面功能优化'

This commit is contained in:
eric
2026-03-13 21:45:12 -05:00
parent 04995f91dd
commit df12c7af4a
11 changed files with 135 additions and 35 deletions

View File

@@ -87,7 +87,7 @@ export function TopicCurriculum({ topicId }: TopicCurriculumProps) {
<ul className="border-t border-[var(--border)]">
{module.lessons.map((lesson, li) => {
const origMod = module.originalModuleIndex;
const free = origMod === 0 && li < 2;
const free = false; /* 暂时全部加锁 */
const unlocked = canWatchLesson(origMod, li);
const key = `${origMod}-${li}`;
const bookmarked = isBookmarked(origMod, li);