mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-07-19 04:59:40 +08:00
视频播放以及播放记录上传优化
This commit is contained in:
parent
1bf55a4a54
commit
6c6b18b76c
@ -134,7 +134,7 @@ export const Header: React.FC = () => {
|
|||||||
label: "首页",
|
label: "首页",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "/recent-learn",
|
key: "/latest-learn",
|
||||||
label: "最近学习",
|
label: "最近学习",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@ -163,6 +163,7 @@ const CoursePage = () => {
|
|||||||
record={learnHourRecord[it.id]}
|
record={learnHourRecord[it.id]}
|
||||||
duration={it.duration}
|
duration={it.duration}
|
||||||
progress={learnHourRecord[it.id].progress}
|
progress={learnHourRecord[it.id].progress}
|
||||||
|
onChange={() => getDetail()}
|
||||||
></HourCompenent>
|
></HourCompenent>
|
||||||
)}
|
)}
|
||||||
{!learnHourRecord[it.id] && (
|
{!learnHourRecord[it.id] && (
|
||||||
@ -173,6 +174,7 @@ const CoursePage = () => {
|
|||||||
record={null}
|
record={null}
|
||||||
duration={it.duration}
|
duration={it.duration}
|
||||||
progress={0}
|
progress={0}
|
||||||
|
onChange={() => getDetail()}
|
||||||
></HourCompenent>
|
></HourCompenent>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
0
src/pages/latest-learn/index.module.scss
Normal file
0
src/pages/latest-learn/index.module.scss
Normal file
2
src/pages/latest-learn/index.tsx
Normal file
2
src/pages/latest-learn/index.tsx
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
import styles from "./index.module.scss";
|
Loading…
x
Reference in New Issue
Block a user