<ul class="videos">
<li class="video fill" v-for="(video,index) in videos" :key="index">
<!-- :style="`background:url(${require(`@/assets/img/${video.img}`)}) no-repeat center/cover`" -->
<img class="preview" ref="preview" :src="require(`@/assets/img/${video.img}`)" alt />
<button @click="insertVideo($event)" class="play" :data-video="`${video.video}`"></button>
</li>
</ul>