Compare commits

...

3 Commits

Author SHA1 Message Date
bef2944dff feat: 合并代码 2025-07-09 12:03:00 +08:00
赵毅
19d0568909 修复弹窗广告bug 2025-07-09 11:52:46 +08:00
赵毅
4d85ad9606 修改弹窗广告的获取索引的bug 2025-07-09 11:38:24 +08:00

View File

@ -90,7 +90,8 @@
<div class="bigAds" v-if="ads2Show">
<div class="bigAdsCon2">
<div class="bigAdsCon2_img">
<swiper @animationfinish="swipers" autoplay circular>
<swiper :current="currentSwiperIndex" @change="onSwiperChange" @animationfinish="swipers" autoplay
circular>
<swiper-item v-for="(item, index) in popList" :key="index">
<image :src="item.ad_picture" mode="aspectFill" />
</swiper-item>
@ -148,7 +149,9 @@
categoryList: [],
infoList: [],
selectedTab: 0
selectedTab: 0,
currentAdIndex: 0
}
},
async onLoad(options) {
@ -353,6 +356,9 @@
// #endif
}
},
onSwiperChange(e) {
this.currentAdIndex = e.detail.current;
},
onDetailClick() {
console.log('1111');
// 广