<template>
  <van-swipe :autoplay="3000" :show-indicators="false" class="h-250">
    <van-swipe-item
      class="h-full w-full"
      v-for="item in bannerList"
      :key="item.id"
    >
      <img class="object-cover w-full h-full" :src="item" />
    </van-swipe-item>
  </van-swipe>
</template>

<script setup>
defineProps({
  bannerList: {
    type: Array,
    default: () => [],
  },
});
</script>

<style lang="scss" scoped></style>
