<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
    <van-swipe-item v-for="item in 4" :key="item">
      <img src="@/assets/img/mb.png" class="banner" />
    </van-swipe-item>
  </van-swipe>
</template>

<script lang="ts" setup></script>

<style lang="scss" scoped>
.my-swipe {
  background-color: red;
  width: 345px;
  height: 100px;
  margin: auto;
  margin-top: 12px;
  .banner {
    width: 100%;
    height: 100%;
  }
}
</style>
