mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-07-18 04:55:17 +08:00
视频播放以及播放记录上传优化
This commit is contained in:
parent
1bf55a4a54
commit
6c6b18b76c
@ -134,7 +134,7 @@ export const Header: React.FC = () => {
|
||||
label: "首页",
|
||||
},
|
||||
{
|
||||
key: "/recent-learn",
|
||||
key: "/latest-learn",
|
||||
label: "最近学习",
|
||||
},
|
||||
];
|
||||
|
@ -163,6 +163,7 @@ const CoursePage = () => {
|
||||
record={learnHourRecord[it.id]}
|
||||
duration={it.duration}
|
||||
progress={learnHourRecord[it.id].progress}
|
||||
onChange={() => getDetail()}
|
||||
></HourCompenent>
|
||||
)}
|
||||
{!learnHourRecord[it.id] && (
|
||||
@ -173,6 +174,7 @@ const CoursePage = () => {
|
||||
record={null}
|
||||
duration={it.duration}
|
||||
progress={0}
|
||||
onChange={() => getDetail()}
|
||||
></HourCompenent>
|
||||
)}
|
||||
</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