<template>
  <div class="show-image-div">
    <div class="show-image-item" v-for="(item, index) in props.data" :key="index">
      <ShowImage :data="item" :haveFooter="true">
        <template #footer>
          <div class="footer-div">
            <span style="margin-left: 35px">{{ item.specialText }}</span>
            <span style="margin-right: 40px;">拍摄时间：{{ item.time }}</span>
          </div>
        </template>
      </ShowImage>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref, defineProps } from "vue"
import ShowImage from '@/views/dashboard/test/components/ShowImage/index.vue'
const props = defineProps(['data'])
</script>

<style lang="scss" scoped>
.footer-div{
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.show-image-div{
  max-height: 690px;
  overflow: auto;
  .show-image-item{
    width: 470px;
    height: 470px;
    margin-bottom: 5px;
    position: relative;
  }
}
</style>
