diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 4293dc8..ba52e9f 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -24,6 +24,8 @@ height="100%" :src="bigPicPath" controls="controls" + :poster="videopath" + autoplay >
@@ -82,8 +84,11 @@ class="smallnoPic" v-else-if="item.path.indexOf('videos') !== -1" > - - + +

{ this.newPicApi(); this.i++; - }, 5000); + }, 10000); }) .catch((err) => { console.log(err); //代码错误、请求失败捕获