fix. 디자인 가이드 수정
This commit is contained in:
@@ -23,7 +23,7 @@ const mainTitleData = computed(() =>
|
||||
const slideData = computed(() => {
|
||||
return ensureMinimumSlideData(props.components)
|
||||
})
|
||||
const subTitleData = ref(getComponentGroup(slideData?.value[0], 'imgTitle'))
|
||||
const imgTitleData = ref(getComponentGroup(slideData?.value[0], 'imgTitle'))
|
||||
const descriptionData = ref(
|
||||
getComponentGroup(slideData?.value[0], 'description')
|
||||
)
|
||||
@@ -50,7 +50,7 @@ const handleChange = (
|
||||
_oldIndex: number,
|
||||
_destIndex: number
|
||||
) => {
|
||||
subTitleData.value = getComponentGroup(slideData.value[newIndex], 'imgTitle')
|
||||
imgTitleData.value = getComponentGroup(slideData.value[newIndex], 'imgTitle')
|
||||
descriptionData.value = getComponentGroup(
|
||||
slideData.value[newIndex],
|
||||
'description'
|
||||
@@ -90,9 +90,9 @@ const handleChange = (
|
||||
</SplideSlide>
|
||||
</BlocksSlideCenterHighlight>
|
||||
<WidgetsSubTitle
|
||||
v-if="subTitleData"
|
||||
:resources-data="subTitleData"
|
||||
class="title-md mt-[32px]"
|
||||
v-if="imgTitleData"
|
||||
:resources-data="imgTitleData"
|
||||
class="title-md mt-[32px] line-clamp-2 md:line-clamp-1"
|
||||
/>
|
||||
<WidgetsDescription
|
||||
v-if="descriptionData"
|
||||
|
||||
Reference in New Issue
Block a user