mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-22 23:33:42 +08:00
视频播放以及播放记录上传优化
This commit is contained in:
@@ -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";
|
||||
Reference in New Issue
Block a user