拼团列表接口

This commit is contained in:
2022-08-04 13:52:46 +08:00
parent 574994dafd
commit 454ccb91c8
13 changed files with 2007 additions and 835 deletions

View File

@@ -4,7 +4,7 @@
<view class="swiper">
<view class="swiper-box">
<swiper autoplay @change="swiperCount = $event.detail.current">
<swiper-item v-for="(item, index) in banners" :key="index">
<swiper-item v-for="(item, index) in banners" :key="index" @click="goBook(item)">
<image :src="item.cover" mode="aspectFill"></image>
</swiper-item>
</swiper>
@@ -107,7 +107,16 @@
this.shops = res.shops
uni.stopPullDownRefresh()
})
}
},
goBook(item){
if(item.url){
if(item.url.openType === 'navigateTo'){
uni.navigateTo({
url:item.url.path
})
}
}
}
},
onPullDownRefresh() {
this.getMall()