<template>
  <van-swipe :autoplay="3000" :show-indicators="true" indicator-color="#FD9A00">
    <van-swipe-item class="" v-for="item in bannerList" :key="item.id">
      <img class="object-cover w-full aspect-[2271/1184]" :src="item" />
    </van-swipe-item>
  </van-swipe>
</template>

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

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