Compare commits
3 Commits
249ef5c13d
...
bef2944dff
| Author | SHA1 | Date | |
|---|---|---|---|
| bef2944dff | |||
|
|
19d0568909 | ||
|
|
4d85ad9606 |
@ -90,7 +90,8 @@
|
|||||||
<div class="bigAds" v-if="ads2Show">
|
<div class="bigAds" v-if="ads2Show">
|
||||||
<div class="bigAdsCon2">
|
<div class="bigAdsCon2">
|
||||||
<div class="bigAdsCon2_img">
|
<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">
|
<swiper-item v-for="(item, index) in popList" :key="index">
|
||||||
<image :src="item.ad_picture" mode="aspectFill" />
|
<image :src="item.ad_picture" mode="aspectFill" />
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
@ -148,7 +149,9 @@
|
|||||||
|
|
||||||
categoryList: [],
|
categoryList: [],
|
||||||
infoList: [],
|
infoList: [],
|
||||||
selectedTab: 0
|
selectedTab: 0,
|
||||||
|
|
||||||
|
currentAdIndex: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async onLoad(options) {
|
async onLoad(options) {
|
||||||
@ -353,6 +356,9 @@
|
|||||||
// #endif
|
// #endif
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onSwiperChange(e) {
|
||||||
|
this.currentAdIndex = e.detail.current;
|
||||||
|
},
|
||||||
onDetailClick() {
|
onDetailClick() {
|
||||||
console.log('1111');
|
console.log('1111');
|
||||||
// 获取当前显示的广告项
|
// 获取当前显示的广告项
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user