feat: 更换最新的视频
This commit is contained in:
1 parent
272434577b
commit
431d3ce6cb
1 file changed
+7
-5
@@ -4,9 +4,11 @@ import { useRouter, useRoute } from 'vue-router'
|
|||||||
import ImgButton from '@/components/Button/ImgButton.vue'
|
import ImgButton from '@/components/Button/ImgButton.vue'
|
||||||
import { GuideSteps } from '@/components/Guide'
|
import { GuideSteps } from '@/components/Guide'
|
||||||
import { getStaticImage, IMAGE_PATHS } from '@/utils'
|
import { getStaticImage, IMAGE_PATHS } from '@/utils'
|
||||||
import second from '/video/基础景别.mp4'
|
import second from '/video/Vlog模块_任务取景框_专业剖析_基础景别运用.mp4'
|
||||||
import third from '/video/构图.mp4'
|
import third from '/video/Vlog模块_任务取景框_专业剖析_画面构图.mp4'
|
||||||
import fourth from '/video/脚本.mp4'
|
import fourth from '/video/Vlog模块_任务取景框_专业剖析_脚本策划.mp4'
|
||||||
|
import five from '/video/Vlog模块_任务取景框_专业剖析_动态事件跟拍与抓拍.mp4'
|
||||||
|
import six from '/video/Vlog模块_任务取景框_专业剖析_素材导入、剪辑拼接.mp4'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
@@ -23,7 +25,7 @@ const steps = ref([
|
|||||||
])
|
])
|
||||||
|
|
||||||
// 视频列表
|
// 视频列表
|
||||||
const videoList = [second, third, fourth]
|
const videoList = [second, third, fourth, five, six]
|
||||||
const currentVideoIndex = ref(0)
|
const currentVideoIndex = ref(0)
|
||||||
|
|
||||||
//按顺序播放
|
//按顺序播放
|
||||||
@@ -107,7 +109,7 @@ onMounted(() => {
|
|||||||
<video
|
<video
|
||||||
ref="videoRef"
|
ref="videoRef"
|
||||||
v-else-if="key === 'case'"
|
v-else-if="key === 'case'"
|
||||||
src="/video/xyz.mp4"
|
src="/video/案例赏析-美食小确幸:桂花酒酿小圆子.mp4"
|
||||||
controls
|
controls
|
||||||
@play="handlePlay"
|
@play="handlePlay"
|
||||||
></video>
|
></video>
|
||||||
|
|||||||
Reference in new issue
Block a user