feat: 完善模块引导与学习进度体验

统一引导提示的持久化控制,补充学习进度入口与模块资源,避免用户返回页面时重复触发提示。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
zhongyidianandClaude Opus 4.7 committed 2026-05-08 09:44:59 +08:00
1 parent fc9633f371
commit 6f8252472f
114 files changed
+2758 -1798

No files matched your search

@@ -10,17 +10,19 @@ const playing = ref(false)
const showStepNavigation = ref(false)
const currentVideoIndex = ref(0)
const navigationSteps = [
const navigationSteps = ref([
{
id: 'q1-shoot-material',
label: '中期拍摄',
content: '素材怎么拍',
videoUrl: getPublicPath('video/interview/on-site/ftmk_sczmp_batch.mp4'),
type: 'shooting' as const
},
{
id: 'q1-required-shots',
label: '中期拍摄',
content: '必拍镜头有哪些',
videoUrl: getPublicPath('video/interview/on-site/ftmk_bpjtynx_batch.mp4'),
type: 'shooting' as const
},
{
@@ -35,16 +37,9 @@ const navigationSteps = [
content: '特写镜头的作用',
type: 'shooting' as const
}
]
])
const videoList = [
getPublicPath('video/on-site/dygmk_mmps_batch.mp4'),
getPublicPath('video/on-site/dygmk_hgydjt_batch.mp4'),
getPublicPath('video/on-site/dygmk_jzxjj_batch.mp4'),
getPublicPath('video/on-site/dygmk_czsjx_batch.mp4')
]
const currentVideo = computed(() => videoList[currentVideoIndex.value])
const currentVideo = computed(() => navigationSteps.value[currentVideoIndex.value].videoUrl)
const back = () => {
router.back()
@@ -63,7 +58,7 @@ const handleStepNavigationClose = () => {
}
const handleEnded = () => {
if (currentVideoIndex.value >= videoList.length - 1) {
if (currentVideoIndex.value >= navigationSteps.value.length - 1) {
playing.value = false
return
}