-
+
-
diff --git a/components/dynamic-page/page-component/templates/articles/layouts/details/Podcast.vue b/components/dynamic-page/page-component/templates/articles/layouts/details/Podcast.vue
index d09a5bd..1b9cf8d 100644
--- a/components/dynamic-page/page-component/templates/articles/layouts/details/Podcast.vue
+++ b/components/dynamic-page/page-component/templates/articles/layouts/details/Podcast.vue
@@ -41,9 +41,9 @@ onMounted(async () => {
clickElement("author", "author", "data-code");
let detailEmagazine = document.querySelector('div[layout="ARTICLE_DETAIL_EMAGAZINE"]');
- let breakcrumb = document.querySelector('div[layout="BREADCRUM_DEFAULT"]');
- if (detailEmagazine && breakcrumb) {
- breakcrumb.classList.add("lg:max-w-640px", "mx-auto");
+ let breadcrumb = document.querySelector('div[layout="BREADCRUM_DEFAULT"]');
+ if (detailEmagazine && breadcrumb) {
+ breadcrumb.classList.add("lg:max-w-640px", "mx-auto");
}
});
@@ -115,6 +115,7 @@ const updateVolume = (num?: number) => {
if(num) {
volume.value += num
}
+ // console.log('1231321')
audioPlayer.value.volume = volume.value;
}
};
@@ -220,7 +221,7 @@ const durationComputed = computed(() => {
-
+
diff --git a/components/dynamic-page/page-component/templates/collections/index.vue b/components/dynamic-page/page-component/templates/collections/index.vue
index 8940c90..cefb114 100644
--- a/components/dynamic-page/page-component/templates/collections/index.vue
+++ b/components/dynamic-page/page-component/templates/collections/index.vue
@@ -5,6 +5,7 @@ import {
const _props = defineProps<{
settings: any;
component?: any;
+ content?: any
}>();
const definedDynamicComponent: Record
= {
@@ -26,8 +27,9 @@ const GET_PROPS = computed(() => {
}
};
});
+
-
+
diff --git a/components/dynamic-page/page-component/templates/collections/layouts/Article.vue b/components/dynamic-page/page-component/templates/collections/layouts/Article.vue
index d3b29bc..819c4ef 100644
--- a/components/dynamic-page/page-component/templates/collections/layouts/Article.vue
+++ b/components/dynamic-page/page-component/templates/collections/layouts/Article.vue
@@ -16,8 +16,8 @@ const _props = defineProps<{
dataQuery?: string;
layout?: string;
label?: string;
+ content?: any
}>();
-
const SETTING_OPTIONS = {
MAX_ELEMENT: 5,
TEMPLATE: "Article",
@@ -102,6 +102,8 @@ const mapActivesToItems = (index: number) => {
return output[index + 1] || {};
};
+
+const CONTENT_PARSE = computed(() => JSON.parse(_props.content))
diff --git a/components/dynamic-page/page-component/templates/index.vue b/components/dynamic-page/page-component/templates/index.vue
index 0f9f10e..46e4455 100644
--- a/components/dynamic-page/page-component/templates/index.vue
+++ b/components/dynamic-page/page-component/templates/index.vue
@@ -4,6 +4,7 @@ import { Dynamic_Section, Dynamic_Category, Dynamic_Collection, Dynamic_Navigati
const _props = defineProps<{
settings: any;
component?: any;
+ content?: any
}>();
const definedDynamicComponent: Record = {
@@ -35,5 +36,5 @@ const GET_PROPS = computed(() => {
-
+
diff --git a/components/dynamic-page/page-section/RecusiveSection.vue b/components/dynamic-page/page-section/RecusiveSection.vue
index 2b5a040..d2f325b 100644
--- a/components/dynamic-page/page-section/RecusiveSection.vue
+++ b/components/dynamic-page/page-section/RecusiveSection.vue
@@ -43,6 +43,7 @@ const findDataPosition = computed(() => {
v-if="findDataPosition && findDataPosition?.id"
:settings="findDataPosition.settings"
:component="findDataPosition"
+ :content="findDataPosition.content"
/>