<template>
  <div>
    <van-image
      :style="item.style || { width: width + 'px', height: width * 1.7 + 'px' }"
      :src="item.src"
    />
    <br />
  </div>
</template>

<script setup>
import { defineProps } from 'vue';
defineProps({
  item: {
    type: Object,
  },
});
const width = window.screen.width;
</script>
