<template>
  <div>
    <el-carousel :interval="4000" type="card">
      <el-carousel-item v-for="item in srcList" :key="item.src">
        <el-image :src="require('@/assets/' + item.src)" class="medium"></el-image>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      srcList: [
        { src: 'lun1.jpg' },
        { src: 'lun2.jpg' },
        { src: 'lun3.jpg' },
      ],
    };
  },
  watch: {},
  computed: {},
  created() {},
  mounted() {},
  methods: {},
};
</script>
<style lang="scss" scoped>
  .medium {
    width: 100%;
    height: 100%;
  }
</style>