thainv-dev: sửa lại cấu trúc folder
This commit is contained in:
@@ -147,15 +147,24 @@ const CLASS_FOR_SECTION = computed(() => {
|
||||
:key="index"
|
||||
:class="[CLASS_FOR_SECTION[index]]"
|
||||
>
|
||||
<RecusiveSection :type="position.type" :id="position.data" :section="props.section" />
|
||||
|
||||
<RecusiveSection :type="position.type" :id="position.data" :section="props.section" class="h-full"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
.section_layout {
|
||||
&.basic_column {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||
|
||||
// & > div:first-child {
|
||||
// .basic-article {
|
||||
// h3 {
|
||||
// @apply text-24px;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
&.two_col_layout {
|
||||
|
||||
@@ -30,7 +30,6 @@ const definedDynamicSection: Record<string, any> = {
|
||||
};
|
||||
|
||||
const getCurrentSection = computed(() => _props?.layout || "");
|
||||
|
||||
const GET_PROPS = computed(() => {
|
||||
return () => {
|
||||
let props: any = {};
|
||||
|
||||
Reference in New Issue
Block a user