feat: 添加 SpotlightOverlay 组件,更新引导步骤组件以支持高亮功能,调整样式和路由配置

This commit is contained in:
zhongyidian committed 2025-09-16 01:26:27 +08:00
1 parent aeec7fceed
commit 2b36342304
36 files changed
+863 -29

No files matched your search

+10 -1
View File
@@ -4,6 +4,9 @@ import { ImgButton } from '@/components/Button'
import { ref } from 'vue'
import { ProgressBar } from '@/components'
import { useRouter } from 'vue-router'
const router = useRouter()
const currentStep = ref(0)
@@ -16,6 +19,12 @@ const handleStepChange = (step: number) => {
console.log('步骤变化:', step)
// 处理步骤变化逻辑
}
const handleWorkClick = () => {
console.log('任务取景按钮点击')
// 处理任务取景按钮点击逻辑
router.push({ name: 'Work' })
}
</script>
<template>
@@ -42,7 +51,7 @@ const handleStepChange = (step: number) => {
class="absolute left-24 top-24"
:style="{ backgroundImage: getBackgroundImage(IMAGE_PATHS.VLOG.TASK_CAMERA) }"
>
<ImgButton :image="IMAGE_PATHS.VLOG.TASK_BTN" />
<ImgButton :image="IMAGE_PATHS.VLOG.TASK_BTN" @click="handleWorkClick" />
</div>
<!-- 引导任务 -->