Merge branch 'feature/20250910-all' into feature/20251001-gil

This commit is contained in:
“hyeonggkim”
2025-10-24 18:51:10 +09:00
16 changed files with 291 additions and 119 deletions

View File

@@ -13,6 +13,8 @@ interface Props {
const props = defineProps<Props>()
const { locale } = useI18n()
const mainRef = ref<HTMLElement>()
// 템플릿 레지스트리 사용
const { getTemplateComponent } = useTemplateRegistry()
@@ -61,7 +63,7 @@ watchEffect(() => {
</script>
<template>
<main class="main">
<main ref="mainRef" class="main">
<template
v-for="(template, index) in visibleTemplates"
:key="template.template_code ?? index"
@@ -72,11 +74,16 @@ watchEffect(() => {
:page-ver-tmpl-seq="template.page_ver_tmpl_seq"
/>
</template>
<BlocksUtileContainer
:parent-ref="mainRef"
:is-show-top-btn="pageData.use_top_btn ?? false"
:is-show-sns-btn="pageData.use_sns_btn ?? false"
/>
</main>
</template>
<style scoped>
.main {
@apply pt-[48px] md:pt-[64px];
@apply relative pt-[48px] md:pt-[64px];
}
</style>