<template>
  <div class="content">
    <template v-if="data.appType === 'web'">
      <a-image-preview-group>
        <a-space :size="20" v-for="(item, index) in images" :key="index">
          <a-image :width="360" :src="item.url" />
        </a-space>
      </a-image-preview-group>
    </template>
    <template v-else>
      <a-image-preview-group>
        <a-space :size="20" v-for="(item, index) in images" :key="index">
          <a-image :width="200" :src="item.url" />
        </a-space>
      </a-image-preview-group>
    </template>
  </div>
</template>
<script lang="ts" setup>
  import { App } from '@/api/oa/app/model';

  defineProps<{
    visible: boolean;
    data: App;
    images: any[];
  }>();
</script>
