1.引入swiper 1.1 npm i swiper@5 1.2 1.3在入口文件引入样式,因为有多个轮播图 2.遍历计算属性中的信息 3.在watch属性中使用nextTick(swiper的配置看官方文档)