mirror of
https://github.com/PlayEdu/h5.git
synced 2025-06-23 05:43:07 +08:00
课程详情优化
This commit is contained in:
parent
e6d3308951
commit
cba6aa3432
@ -61,8 +61,10 @@ const CoursePage = () => {
|
||||
<div className={styles["info"]}>
|
||||
<div className={styles["record"]}>
|
||||
已学完课时{" "}
|
||||
<strong>{learnRecord ? learnRecord.finished_count : 0}</strong> /{" "}
|
||||
{course.class_hour}
|
||||
<strong>
|
||||
{learnRecord ? learnRecord.finished_count || 0 : 0}
|
||||
</strong>{" "}
|
||||
/ {course.class_hour}
|
||||
</div>
|
||||
{course.is_required === 1 && (
|
||||
<div className={styles["type"]}>必修课</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user