fix. 런처실행 버튼 수정

This commit is contained in:
clkim
2025-10-29 17:55:14 +09:00
parent 6482c7f832
commit ffac118378
14 changed files with 183 additions and 176 deletions

View File

@@ -9,6 +9,9 @@ interface Props {
const props = defineProps<Props>()
const { locale } = useI18n()
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
const backgroundData = computed(() =>
getComponentGroup(props.components, 'background')
)
@@ -24,6 +27,13 @@ const videoPlayData = computed(() =>
const buttonListData = computed(() =>
getComponentGroupAry(props.components, 'buttonList')
)
const handleSendLog = (index: number) => {
sendLog(
locale.value,
useAnalyticsLogDataDirect(buttonListData.value[index], props.pageVerTmplSeq)
)
}
</script>
<template>
@@ -49,13 +59,33 @@ const buttonListData = computed(() =>
:resources-data="videoPlayData"
:page-ver-tmpl-seq="props.pageVerTmplSeq"
/>
<WidgetsButtonList
<div
v-if="buttonListData.length > 0"
button-type="market"
:resources-data="buttonListData"
:page-ver-tmpl-seq="props.pageVerTmplSeq"
class="mt-[22px] md:mt-[52px]"
/>
class="flex flex-wrap justify-center gap-3 mt-[22px] md:gap-4 md:mt-[52px]"
>
<BlocksButtonDownload
v-for="(button, index) in buttonListData"
:key="index"
type="duplication"
:platform="button.btn_info?.detail?.market_type"
:background-color="
getColorCode({
colorName: button.btn_info?.color_name_btn,
colorCode: button.btn_info?.color_code_btn,
})
"
:text-color="
getColorCode({
colorName: button.btn_info?.color_name_txt,
colorCode: button.btn_info?.color_code_txt,
})
"
:disabled="button.btn_info?.disabled"
@click="handleSendLog(index)"
>
{{ button.btn_info?.txt_btn_name }}
</BlocksButtonDownload>
</div>
</div>
</section>
</template>