forked from zhongyidian/super_video
feat: 完善实战进度与技能树联动
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
3e258b87d9
commit
dd233e102b
194 files changed
+2915
-1481
No files matched your search
@@ -4,13 +4,19 @@ import { useRouter } from 'vue-router'
|
||||
import { ImgButton } from '@/components/Button'
|
||||
import { Video } from '@/components'
|
||||
import { IMAGE_PATHS, getPublicPath, getVideoPoster } from '@/utils'
|
||||
import { useInterviewStore } from '@/stores'
|
||||
|
||||
const router = useRouter()
|
||||
const interviewStore = useInterviewStore()
|
||||
const playing = ref(false)
|
||||
|
||||
const handleBack = () => {
|
||||
router.back()
|
||||
}
|
||||
|
||||
const handleEnded = () => {
|
||||
interviewStore.markViewed('InterviewSoundEffect')
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -28,6 +34,7 @@ const handleBack = () => {
|
||||
:volume="1"
|
||||
:controls="true"
|
||||
:hideNativeControls="true"
|
||||
@ended="handleEnded"
|
||||
/>
|
||||
<ImgButton
|
||||
class="absolute right-0 top-0 z-20"
|
||||
|
||||
Reference in new issue
Block a user