mirror of
https://github.com/PlayEdu/h5.git
synced 2025-07-24 00:49:44 +08:00
我的页面优化
This commit is contained in:
parent
07d3bab62c
commit
50ee81a826
@ -255,6 +255,7 @@ const MemberPage = () => {
|
||||
<div className={styles["record-item"]}>
|
||||
<div className={styles["name"]}>必修课</div>
|
||||
<div className={styles["value"]}>
|
||||
已学完{" "}
|
||||
<strong>{stats.required_finished_course_count || 0} </strong>/{" "}
|
||||
{stats.required_course_count || 0}
|
||||
</div>
|
||||
@ -264,6 +265,7 @@ const MemberPage = () => {
|
||||
<div className={styles["name"]}>选修课</div>
|
||||
{stats.nun_required_course_count > 0 ? (
|
||||
<div className={styles["value"]}>
|
||||
已学完{" "}
|
||||
<strong>
|
||||
{stats.nun_required_finished_course_count || 0}{" "}
|
||||
</strong>
|
||||
@ -271,7 +273,7 @@ const MemberPage = () => {
|
||||
</div>
|
||||
) : (
|
||||
<div className={styles["value"]}>
|
||||
<strong>0 </strong>/ 0
|
||||
已学完{" "}<strong>0 </strong>/ 0
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user