<template>
  <img :src="resource.img.src" alt="">
</template>

<script setup>
const props = defineProps({
  resource: Object,
  default: () => ({})
})

</script>

<style lang="less" scoped>
img {
  display: block;
  width: 100vw;
  height: auto;
  object-fit: contain;
}
</style>

