'界面功能优化'

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

@@ -10,9 +10,8 @@ export function isPaid(): boolean {
return localStorage.getItem("paidType") === "vip";
}
/** 前 2 节试看,无需支付 */
export function isFreeTrial(moduleIndex: number, lessonIndex: number): boolean {
if (moduleIndex === 0 && lessonIndex < 2) return true;
/** 暂时全部加锁,仅 VIP 可看(原前 2 节试看已关闭) */
export function isFreeTrial(_moduleIndex: number, _lessonIndex: number): boolean {
return false;
}