albumCarousel.vue 680 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <album-carousel-item v-if="images" :labelText="labelText" :imgData="imgData" :images="images" :isAchievementImgs="isAchievementImgs"></album-carousel-item>
  3. </template>
  4. <script setup>
  5. import { toRefs } from "vue";
  6. import "./cacheImg.js"
  7. import AlbumCarouselItem from "./albumCarouselItem";
  8. const props =defineProps({
  9. images:{
  10. type: Array,
  11. default: () => [],
  12. },
  13. labelText:{
  14. type: String,
  15. default: '',
  16. },
  17. isAchievementImgs:{
  18. type: Boolean,
  19. default: false,
  20. },
  21. imgData:{
  22. type: Object,
  23. default: () => {},
  24. },
  25. })
  26. const { images } = toRefs(props);
  27. </script>
  28. <style lang="scss" scoped>
  29. @import "src/styles/index";
  30. </style>