diff --git a/assets/images/tienphong/MissCategory.png b/assets/images/tienphong/MissCategory.png new file mode 100644 index 0000000..37e1262 Binary files /dev/null and b/assets/images/tienphong/MissCategory.png differ diff --git a/components/dynamic-page/page-component/templates/articles/cards/Audio.vue b/components/dynamic-page/page-component/templates/articles/cards/Audio.vue index 4dbbbbf..a133b0a 100644 --- a/components/dynamic-page/page-component/templates/articles/cards/Audio.vue +++ b/components/dynamic-page/page-component/templates/articles/cards/Audio.vue @@ -67,15 +67,14 @@ const parseData = computed(() => {
{{ type }}
- {{ + {{ parseData?.category?.title }} -
-

- + +

+

-
diff --git a/components/dynamic-page/page-component/templates/articles/cards/MissBackground.vue b/components/dynamic-page/page-component/templates/articles/cards/MissBackground.vue new file mode 100644 index 0000000..7680214 --- /dev/null +++ b/components/dynamic-page/page-component/templates/articles/cards/MissBackground.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/components/dynamic-page/page-component/templates/articles/cards/index.ts b/components/dynamic-page/page-component/templates/articles/cards/index.ts index 0ba58a1..94644c2 100644 --- a/components/dynamic-page/page-component/templates/articles/cards/index.ts +++ b/components/dynamic-page/page-component/templates/articles/cards/index.ts @@ -1,4 +1,5 @@ export { default as Article_Card_Default } from './Card.vue' export { default as Article_Card_Audio } from './Audio.vue' export { default as Article_Card_Video } from './Video.vue' -export { default as Article_Card_Video_Hightlight } from './VideoBackground.vue' \ No newline at end of file +export { default as Article_Card_Video_Hightlight } from './VideoBackground.vue' +export { default as Article_Card_Miss_Hightlight } from './MissBackground.vue' \ No newline at end of file diff --git a/components/dynamic-page/page-component/templates/articles/cards/index.vue b/components/dynamic-page/page-component/templates/articles/cards/index.vue index 0acacba..bb1cb4a 100644 --- a/components/dynamic-page/page-component/templates/articles/cards/index.vue +++ b/components/dynamic-page/page-component/templates/articles/cards/index.vue @@ -1,6 +1,6 @@ + + + + diff --git a/components/dynamic-page/page-section/layouts/index.ts b/components/dynamic-page/page-section/layouts/index.ts index 592486b..cc50bc2 100644 --- a/components/dynamic-page/page-section/layouts/index.ts +++ b/components/dynamic-page/page-section/layouts/index.ts @@ -1,5 +1,5 @@ export { default as NONE_DEFAULT_LAYOUT } from './none/Default.vue' -export { default as MISS_DEFAULT_LAYOUT } from './sections/misses/Default.vue' +export { default as MISS_DEFAULT_LAYOUT } from './category/misses/Default.vue' export { default as ARTICLE_DETAIL_DEFAULT } from './articles/details/Default.vue' diff --git a/components/dynamic-page/page-section/layouts/index.vue b/components/dynamic-page/page-section/layouts/index.vue index 1acbe0e..b62926b 100644 --- a/components/dynamic-page/page-section/layouts/index.vue +++ b/components/dynamic-page/page-section/layouts/index.vue @@ -14,6 +14,8 @@ const definedDynamicSection: Record = { /* NONE */ [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_TWO"]]: NONE_DEFAULT_LAYOUT, [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_ONE_TWO_THREE"]]: NONE_DEFAULT_LAYOUT, + [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_FIVE_THREE_TWO_TWO"]]: NONE_DEFAULT_LAYOUT, + [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_TWO_FIVE_THREE_TWO"]]: NONE_DEFAULT_LAYOUT, [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_ONE_FIVE"]]: NONE_DEFAULT_LAYOUT, [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_ONE_FOUR"]]: NONE_DEFAULT_LAYOUT, [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["VERTICAL_LEFT_TWO"]]: NONE_DEFAULT_LAYOUT, @@ -35,7 +37,7 @@ const definedDynamicSection: Record = { [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.NONE]["NONE"]]["HORIZONTAL_TEN"]]: NONE_DEFAULT_LAYOUT, /* SECTION */ - [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.SECTION]["MISSES"]]["DEFAULT"]]: MISS_DEFAULT_LAYOUT, + [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.CATEGORY]["MISSES"]]["DEFAULT"]]: MISS_DEFAULT_LAYOUT, /** ARTICLE */ [enumPageSectionLayouts[enumPageSectionTemplate[enumPageSectionKey.ARTICLE]["DETAIL"]]["DEFAULT"]]: ARTICLE_DETAIL_DEFAULT, @@ -61,6 +63,7 @@ const GET_PROPS = computed(() => {