Merge remote-tracking branch 'origin/feature/20250910-all' into feature/20251017_cl_GR_DETAIL

This commit is contained in:
clkim
2025-10-21 14:05:51 +09:00
3 changed files with 35 additions and 11 deletions

View File

@@ -63,6 +63,26 @@ const isPassVideo = (item: PageDataTemplateComponentSet, index: number) => {
const handleVideoClick = (index: number) => {
playingSlideIndex.value = index
const group = getComponentGroup(props.components, 'videoPlay')
const base = group?.tracking?.click_item || ''
const next = base
? base.replace(/(^.*_)(\d+)$/, `$1${index}`) === base
? `${base}_${index}`
: base.replace(/(^.*_)(\d+)$/, `$1${index}`)
: `${index}`
const sendingGroup = group
? { ...group, tracking: { ...group.tracking, click_item: next } }
: group
sendLog(
locale.value,
useAnalyticsLogDataDirect(
(sendingGroup as any) || getComponentGroup(props.components, 'videoPlay'),
1
)
)
}
const stopVideo = () => {