<script setup>
import {reactive} from "vue";

const swiperItem=reactive([
  {
    src:'/src/assets/image/轮播图2.png'
  },
  {
    src:'/src/assets/image/轮播图2.png'
  },
  {
    src:'/src/assets/image/轮播图2.png'
  },
])
</script>

<template>
  <div class="block text-center swiper" m="t-4">
    <el-carousel trigger="click" height="852px" :arrow="'never'" indicator-position >
      <el-carousel-item v-for="(item,index) in swiperItem" :key="index">
        <img :src=item.src :alt=index>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>
<style scoped lang="less">
.swiper{
  height:852px;
  .el-carousel{
    --el-carousel-indicator-height:12.53px;
    --el-carousel-indicator-width:203.69px;
  }
}
.demonstration {
  color: var(--el-text-color-secondary);
}

.el-carousel__item h3 {
  color: #475669;
  opacity: 0.75;
  line-height: 852px;
  margin: 0;
  text-align: center;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
