<template>
  <div
    :style="{
      width: data.width,
      height: data.height,
      backgroundImage: data.src,
      fontSize: 40,
      color: focused ? '#FF0000' : '#FFFFFF',
    }"
  >
    {{ "海报" + data.index }}
  </div>
</template>
<script setup>
const props = defineProps({
  data: Object,
  focused: Boolean,
});
</script>
