refactor: 페이지 데이터 처리 개선 및 로딩 컴포넌트 수정

This commit is contained in:
“hyeonggkim”
2025-11-07 17:18:34 +09:00
parent 2cba7e2298
commit 4e3c4d7cc3
14 changed files with 134 additions and 82 deletions

View File

@@ -62,7 +62,7 @@ watchEffect(() => {
</script>
<template>
<main ref="mainRef" class="main">
<div ref="mainRef" class="main">
<template
v-for="(template, index) in visibleTemplates"
:key="template.template_code ?? index"
@@ -78,12 +78,12 @@ watchEffect(() => {
:is-show-top-btn="pageData.use_top_btn ?? false"
:is-show-sns-btn="pageData.use_sns_btn ?? false"
/>
</main>
</div>
</template>
<style scoped>
.main {
@apply relative min-h-[200px] pt-[48px] md:min-h-[300px] md:pt-[64px];
@apply relative min-h-[200px] pt-[48px] md:min-h-[600px] md:pt-[64px] z-[91];
}
[data-theme='light'] {