feat: 优化移动端学习与证书体验
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
dd233e102b
commit
680e8b97d7
55 files changed
+513
-230
No files matched your search
@@ -106,6 +106,13 @@ const markCurrentLearningVideoWatched = () => {
|
||||
)
|
||||
}
|
||||
|
||||
const currentVideoWatched = computed(
|
||||
() =>
|
||||
basicElementsStore.learningVideosWatched[
|
||||
getLearningVideoKey(currentVideoIndex.value)
|
||||
] === true,
|
||||
)
|
||||
|
||||
//按顺序播放
|
||||
const currentVideo = computed(
|
||||
() => navigationSteps.value[currentVideoIndex.value].videoUrl,
|
||||
@@ -266,6 +273,7 @@ onBeforeRouteLeave((to) => {
|
||||
:controls="true"
|
||||
:hideNativeControls="true"
|
||||
:anchors="[]"
|
||||
:seekable="currentVideoWatched"
|
||||
@play="handlePlay"
|
||||
@ended="onEnded"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user