2024-06-17 11:48:00 +07:00
|
|
|
<script setup lang="ts">
|
2024-06-28 15:39:26 +07:00
|
|
|
import DynamicLayout from "@/components/dynamic-page/page-section/layouts/index.vue";
|
2024-07-01 16:04:16 +07:00
|
|
|
import type { PageSection } from "@/server/models/dynamic-page/index";
|
2024-06-17 11:48:00 +07:00
|
|
|
|
|
|
|
|
const props = defineProps<{
|
2024-06-28 15:39:26 +07:00
|
|
|
label?: any;
|
|
|
|
|
layout?: string;
|
|
|
|
|
settings?: any;
|
|
|
|
|
content?: any;
|
|
|
|
|
section: PageSection;
|
|
|
|
|
}>();
|
2024-06-17 11:48:00 +07:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2024-06-28 15:39:26 +07:00
|
|
|
<DynamicLayout :layout="props.layout" :content="props.content" :settings="props.settings" :section="props.section" />
|
2024-06-17 11:48:00 +07:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2024-06-28 15:39:26 +07:00
|
|
|
.border-custom {
|
|
|
|
|
border-color: #e5e5e5 !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|