feat. 일반 템플릿 로그 추가
This commit is contained in:
@@ -9,6 +9,7 @@ import type { PageDataTemplateComponents } from '#layers/types/api/pageData'
|
||||
interface Props {
|
||||
components: PageDataTemplateComponents
|
||||
pageVerTmplSeq: number
|
||||
pageVerTmplNameEn: string
|
||||
}
|
||||
|
||||
const props = defineProps<Props>()
|
||||
@@ -23,6 +24,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')
|
||||
})
|
||||
@@ -30,10 +34,12 @@ const paginationData = computed(() => {
|
||||
|
||||
<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
|
||||
@@ -59,6 +65,6 @@ const paginationData = computed(() => {
|
||||
/>
|
||||
</div>
|
||||
</SplideSlide>
|
||||
</BlocksSlideThumbnail>
|
||||
</WidgetsSlideThumbnail>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user