feat: 完善课程学习与技能树体验
完善课程资源、学习进度与技能树解锁体验,统一视频播放与引导相关交互。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f289959be
commit
3e258b87d9
314 files changed
+7020
-3386
No files matched your search
@@ -3,7 +3,7 @@ import { ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { ImgButton } from '@/components/Button'
|
||||
import { Video } from '@/components'
|
||||
import { getPublicPath, IMAGE_PATHS } from '@/utils'
|
||||
import { getPublicPath, IMAGE_PATHS, getVideoPoster } from '@/utils'
|
||||
import { useFilmStore } from '@/stores'
|
||||
|
||||
const router = useRouter()
|
||||
@@ -30,6 +30,7 @@ const handleVideoEnded = () => {
|
||||
<Video
|
||||
class="w-full h-full"
|
||||
:src="cutVideoUrl"
|
||||
:poster="getVideoPoster(cutVideoUrl)"
|
||||
v-model="videoPlaying"
|
||||
:muted="false"
|
||||
:volume="1"
|
||||
|
||||
Reference in new issue
Block a user