<view class="settings">
<u-swiper :list="data" height="350rpx"></u-swiper>
</view>
//接口数据
console.log(res.data);
let a = [];
for (const i in res.data.banner) {
a.push(res.data.banner[i].thumb)
}
stary.data = a;
stary.image = res.data.info.thumb;
stary.video = 'https://new.kuxia.top'+ res.data.info.video;
uni.setStorageSync('video',stary.video)
uniapp使用组件显示轮播图
猜你喜欢
转载自blog.csdn.net/m0_72196169/article/details/130798566
今日推荐
周排行