Use element to do the broadcast picture, use the <a > tag to wrap the <img > tag so that the picture does not cover the entire item. Why?

full situation Code
< el-carousel: interval= "3500" arrow= "always" >

      <el-carousel-item  v-for="img in carouselFigures" :key="img.id">
        <a  style="cursor: pointer" target="_blank"><img :src="img.src" /> </a>
      </el-carousel-item>
</el-carousel>
![][1]

case code

    <el-carousel :interval="3500" arrow="always" >
    <a  style="cursor: pointer" target="_blank">
      <el-carousel-item  v-for="img in carouselFigures" :key="img.id">
      <img :src="img.src" /></el-carousel-item>
    </a>
</el-carousel>

Mar.22,2021
Menu