<template>
  <div class="custom-img-wait">
    <CustomLoading></CustomLoading>
    <div>{{ label }}</div>
  </div>
</template>

<script lang="ts" setup>
import CustomLoading from '@/components/custom/loading2.vue';
const props = withDefaults(
  defineProps<{
    label?: string;
  }>(),
  {
    label: '请耐心等待图片生成',
  }
);
</script>

<style lang="less">
@import '@/style/variables.less';
.custom-img-wait {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .custom-loading-two {
    position: relative !important;
    top: 0;
    left: 0;
    transform: none;
  }
  & > :nth-child(2) {
    margin-top: 12px;
    font-size: @font-size-16;
    color: #888fa1;
  }
}
</style>
