html
<view class="banner">
<swiper class="screen-swipers round-dot" indicator-dots circular >
<!-- circular interval="3000" -->
<template v-for="item in swiperList">
<swiper-item v-if="item.length > 0">
<image v-if="item.indexOf('gif') != -1 || item.indexOf('jpg') != -1 || item.indexOf('png') != -1" :src="imgs + '/' +item" mode=""></image>
<video controls muted play-strategy="" v-else :src="imgs + '/' +item" ></video>
</swiper-item>
</template>
</swiper>
</view>
js(请求到的数据,需要处理一下)
GoodsShow() {//详情
uni.