|
@@ -247,10 +247,10 @@ export default defineComponent({
|
|
|
}
|
|
|
// 下载缓存进度
|
|
|
const getProgress = (res: any) => {
|
|
|
- // console.log('🚀 ~ res', res)
|
|
|
- if (!data.isDownloading) {
|
|
|
- return
|
|
|
- }
|
|
|
+ //console.log('🚀 ~ res', res)
|
|
|
+ // if (!data.isDownloading) {
|
|
|
+ // return
|
|
|
+ // }
|
|
|
if (res?.content?.lessonCoursewareDetailId) {
|
|
|
const { lessonCoursewareDetailId, downloadStatus, progress } =
|
|
|
res.content
|
|
@@ -444,11 +444,11 @@ export default defineComponent({
|
|
|
) : (
|
|
|
''
|
|
|
)}
|
|
|
- {item.downloadStatus == 1 && (
|
|
|
+ {/* {item.downloadStatus == 1 && (
|
|
|
<div class={styles.downloading}>{`${
|
|
|
item.progress || 0
|
|
|
}%`}</div>
|
|
|
- )}
|
|
|
+ )} */}
|
|
|
</div>
|
|
|
</div>
|
|
|
),
|
|
@@ -531,14 +531,19 @@ export default defineComponent({
|
|
|
<div class={styles.title}>下载提醒</div>
|
|
|
|
|
|
<div class={styles.content}>
|
|
|
- 您尚未下载课件内容,为了更加流畅的学习体验,推荐您下载后观看课件。
|
|
|
+ 您尚未下载课件,为了更加流畅的学习体验,推荐您下载后观看课件。
|
|
|
</div>
|
|
|
|
|
|
<div class={styles.popupBtnGroup}>
|
|
|
- <Button round onClick={() => gotoPlay(data.catchItem)}>
|
|
|
+ <Button
|
|
|
+ class={styles.btnLeft}
|
|
|
+ round
|
|
|
+ onClick={() => gotoPlay(data.catchItem)}
|
|
|
+ >
|
|
|
直接观看
|
|
|
</Button>
|
|
|
<Button
|
|
|
+ class={styles.btnRight}
|
|
|
round
|
|
|
type="primary"
|
|
|
onClick={() => downCatch(data.catchItem)}
|