thainv-dev: Fix
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
<script setup lang="ts"></script>
|
||||
<template>
|
||||
<div class="pt-5">
|
||||
<div class="content p-3">
|
||||
<span class="text-12px text-[#AFADB5] text-end block">Quảng full</span>
|
||||
<img class="block w-full h-full" src="/assets/images/tienphong/main-ads-2.jpg" alt="">
|
||||
<div class="content p-3 border-y-1px border-solid border-#000">
|
||||
<img class="mx-auto max-h-[300px] object-cover" src="/assets/images/tienphong/ads_full.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped lang="scss">
|
||||
.content {
|
||||
font-size: 18px;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -13,7 +13,6 @@ const definedDynamicComponent: Record<string, any> = {
|
||||
};
|
||||
|
||||
const getCurrentComponent = computed(() => _props.settings.layout);
|
||||
|
||||
const GET_PROPS = computed(() => {
|
||||
return () => {
|
||||
let props: any = {};
|
||||
|
||||
@@ -11,7 +11,7 @@ const definedDynamicComponent: Record<string, any> = {
|
||||
[enumPageComponentTemplate[enumPageComponentKey.ADVERTISING]["ADVERTISING"]]: Advertisings,
|
||||
};
|
||||
|
||||
const getCurrentComponent = computed(() => `${_props.settings.layout}`);
|
||||
const getCurrentComponent = computed(() => `${_props.settings.template}`);
|
||||
const GET_PROPS = computed(() => {
|
||||
return () => {
|
||||
let props: any = {};
|
||||
@@ -26,6 +26,7 @@ const GET_PROPS = computed(() => {
|
||||
}
|
||||
};
|
||||
});
|
||||
// console.log(getCurrentComponent.value, 'quảng caosd ád')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user