feat. 일반 템플릿 로그 추가

This commit is contained in:
clkim
2025-12-11 13:38:25 +09:00
parent e77480962d
commit 1d5c9571b7
36 changed files with 750 additions and 735 deletions

View File

@@ -14,6 +14,7 @@ import type {
interface Props {
components: PageDataTemplateComponents
pageVerTmplSeq: number
pageVerTmplNameEn: string
}
const props = defineProps<Props>()
@@ -32,6 +33,9 @@ const thumbnailData = computed(() => {
.map(item => item?.pagenaviThumbnail?.groups?.[0])
.filter((group): group is NonNullable<typeof group> => group != null)
})
const arrowsData = computed(() => {
return getComponentGroupAry(props.components, 'arrow')
})
const paginationData = computed(() => {
return getComponentGroupAry(props.components, 'pagination')
})
@@ -44,10 +48,12 @@ const getVideoSrc = (item: PageDataTemplateComponent) => {
<template>
<section class="section-standard">
<BlocksSlideThumbnail
<WidgetsSlideThumbnail
v-model:index="currentSlideIndex"
:thumbnail-data="thumbnailData"
:pagination-data="paginationData"
:arrows-data="arrowsData"
:analytics-sarea="props.pageVerTmplNameEn"
>
<SplideSlide v-for="(item, index) in slideData" :key="index">
<WidgetsBackground
@@ -91,6 +97,6 @@ const getVideoSrc = (item: PageDataTemplateComponent) => {
/>
</div>
</SplideSlide>
</BlocksSlideThumbnail>
</WidgetsSlideThumbnail>
</section>
</template>