feat: 对接各个视频数据

This commit is contained in:
zhongyidian committed 2025-12-30 19:42:47 +08:00
1 parent 6103453e32
commit 6ab98c4764
339 files changed
+17316 -1531

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'
/**
* I store - manages Interview information
*/
export const useInterviewStore = defineStore(
'Interview',
() => {
//State
//Interview-任务取景框引导
const isGuideInterviewTask = ref<boolean>(true)
//Interview-是否解锁完成前置(观看视频)
const isInterviewUnlock = ref<boolean>(false)
//Interview-发现与记录解锁进度
const InterviewUnlockProgress = ref<number>(0)
//Actions
function setIsGuideInterviewTask(value: boolean): void {
isGuideInterviewTask.value = value
}
function setIsInterviewUnlock(value: boolean): void {
isInterviewUnlock.value = value
}
function setInterviewUnlockProgress(value: number): void {
InterviewUnlockProgress.value = value
}
return {
//State
setIsGuideInterviewTask,
setIsInterviewUnlock,
setInterviewUnlockProgress,
//Actions
isGuideInterviewTask,
isInterviewUnlock,
InterviewUnlockProgress
}
},
{
persist: true
}
)