feat: 完善课程学习与技能树体验

完善课程资源、学习进度与技能树解锁体验,统一视频播放与引导相关交互。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
zhongyidianandClaude Opus 4.7 committed 2026-05-24 10:30:18 +08:00
1 parent 6f289959be
commit 3e258b87d9
314 files changed
+7020 -3386

No files matched your search

@@ -4,17 +4,22 @@ import { getBackgroundImage } from '@/utils'
import { ImgButton } from '@/components/Button'
import { Overlay } from '@/components/Overlay'
import { useRouter } from 'vue-router'
import { useInterviewStore } from '@/stores/modules/interview'
import { useViewfinderA } from './useViewfinderA'
import { useCanvasCapture } from '../composables/useCanvasCapture'
import StartOverlay from '../components/StartOverlay.vue'
import LoadingOverlay from '@/components/Loading/LoadingOverlay.vue'
const router = useRouter()
const interviewStore = useInterviewStore()
const start = ref(false)
// 基础逻辑
const back = () => router.back()
const handleFinish = () => router.push({ name: 'InterviewFilmingLocationB' })
const handleFinish = () => {
interviewStore.markViewed('InterviewFilmingLocationA')
router.push({ name: 'InterviewFilmingLocationB' })
}
// 截图功能
const { isLoading, showModal, capturedImageUrl, capture } = useCanvasCapture()