fix: [디자인QA] 슬라이드 인덱스 전환 시 영상이 처음부터 재생되도록 적용

This commit is contained in:
clkim
2025-12-03 15:43:21 +09:00
parent 73adfc9769
commit fd479483bb
15 changed files with 179 additions and 138 deletions

View File

@@ -13,6 +13,8 @@ interface Props {
const props = defineProps<Props>()
const currentSlideIndex = ref<number | null>(null)
const slideData = computed(() => {
return getComponentContainer(props.components, 'group_sets', { maxLength: 7 })
})
@@ -29,6 +31,7 @@ const paginationData = computed(() => {
<template>
<section class="section-standard">
<BlocksSlideThumbnail
v-model:index="currentSlideIndex"
:thumbnail-data="thumbnailData"
:pagination-data="paginationData"
>
@@ -36,6 +39,7 @@ const paginationData = computed(() => {
<WidgetsBackground
v-if="hasComponentGroup(item, 'background')"
:resources-data="getComponentGroup(item, 'background')"
:video-play="currentSlideIndex === index"
/>
<div class="content-standard">
<WidgetsMainTitle