fix. 대체 텍스트 수정
This commit is contained in:
@@ -14,9 +14,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
})
|
||||
|
||||
const imagePaths = computed(() => getImagePaths(props.resourcesData))
|
||||
const displayText = computed(
|
||||
() => props.resourcesData?.display?.text || 'image'
|
||||
)
|
||||
const displayText = computed(() => props.resourcesData?.display?.text)
|
||||
const colorName = computed(() => props.resourcesData?.display?.color_name)
|
||||
const colorCode = computed(() => props.resourcesData?.display?.color_code)
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ const imageClasses = computed(() => [
|
||||
props.size === 'contain' ? 'bg-contain' : 'bg-cover',
|
||||
])
|
||||
const gradientClasses = computed(() => [
|
||||
'absolute bottom-0 left-0 right-0',
|
||||
'absolute bottom-[-2px] left-[-2px] right-[-2px]',
|
||||
props.gradient,
|
||||
])
|
||||
|
||||
|
||||
@@ -23,8 +23,5 @@ const handleVideoPlayClick = () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AtomsButtonPlay
|
||||
:resources-data="resourcesData"
|
||||
@click="handleVideoPlayClick"
|
||||
/>
|
||||
<AtomsButtonPlay @click="handleVideoPlayClick" />
|
||||
</template>
|
||||
|
||||
@@ -48,7 +48,7 @@ const buttonListData = computed(() => {
|
||||
<AtomsImg
|
||||
v-if="getImagePaths(item)"
|
||||
:src="getImagePaths(item)"
|
||||
:alt="item?.group_label"
|
||||
:alt="item?.display?.text"
|
||||
class="w-full object-contain"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -80,9 +80,7 @@ const onArrowClick = (direction, targetIndex) => {
|
||||
<div class="slide-inner border-line mt-auto">
|
||||
<BlocksVisualContent
|
||||
:resources-data="getComponentGroup(item, 'imgList')"
|
||||
:page-ver-tmpl-seq="props.pageVerTmplSeq"
|
||||
object-fit="cover"
|
||||
:alt="getComponentGroup(item, 'subTitle')?.display?.text"
|
||||
/>
|
||||
</div>
|
||||
</SplideSlide>
|
||||
|
||||
@@ -92,7 +92,6 @@ const onArrowClick = (direction, targetIndex) => {
|
||||
<BlocksVisualContent
|
||||
:resources-data="getComponentGroup(item, 'imgList')"
|
||||
object-fit="cover"
|
||||
:alt="getComponentGroup(item, 'imgTitle')?.display?.text"
|
||||
/>
|
||||
</div>
|
||||
</SplideSlide>
|
||||
|
||||
Reference in New Issue
Block a user