<van-swipe indicator-color="red" v-for="(item,index) in swpListRes" :key="index" ref="swiper">
methods: {
xia(){
this.$refs.swiper.swipeTo()
console.log('下一张');
},
shang(){
// var pre = this.$refs.swiper.prev()
// console.log('下一张'+pre);
console.log('上一张');
},
}