This commit is contained in:
nguyen van thai
2024-07-09 15:15:22 +07:00
parent 776a3cf2c7
commit 0dba7790b1
16 changed files with 484 additions and 180 deletions
@@ -0,0 +1,31 @@
<script setup lang="ts">
const emit = defineEmits(["dropData", "selectComponent"]);
const _props = defineProps<{
dataResult?: any;
dataType?: any;
dataQuery?: any;
layout?: string;
label?: string;
}>();
const { currentArticle } = storeToRefs(useArticleStore())
console.log(currentArticle.value, 'currentArticle')
</script>
<template>
<div class="overflow-hidden infographic">
<!-- bổ sung sau -->
<!-- <img :src="currentArticle.thumbnail" alt="" class="w-full object-cover">
<div class="px-44px pb-30px my-30px max-w-660px mx-auto border-b-1px border-#000">
</div> -->
<div v-html="currentArticle.detail"></div>
</div>
</template>
<style scoped lang="scss">
.center-y {
width: auto;
}
</style>