소스 검색

首页banner循环播放视频

gcz 2 년 전
부모
커밋
9e7f399541
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      pages/index/index.vue

+ 1 - 0
pages/index/index.vue

@@ -38,6 +38,7 @@
 						style="width: 100%;height: 100%"
 						v-if="item.type==2"
 						object-fit="fill"
+						loop
 						:id="`videoId${ index + 1}`" 
 						:autoplay="false"
 						:src="item.sliderImg"