|
@@ -276,7 +276,8 @@
|
|
|
contentType: item.contentType,
|
|
|
id: item.id,
|
|
|
name: item.name,
|
|
|
- promoActiveSn: item.promoActiveSn
|
|
|
+ promoActiveSn: item.promoActiveSn,
|
|
|
+ content: item.content
|
|
|
})
|
|
|
})
|
|
|
})
|
|
@@ -284,6 +285,7 @@
|
|
|
})
|
|
|
},
|
|
|
pageInit(){
|
|
|
+ this.carouselList = []
|
|
|
if(this.hasLogin){
|
|
|
// 获取扫描记录
|
|
|
this.getVinLog()
|
|
@@ -454,6 +456,7 @@
|
|
|
// 单击banner
|
|
|
clickBanner(index){
|
|
|
const row = this.imgList[index]
|
|
|
+ console.log(row)
|
|
|
if(row.activeType == 'redPacket'){
|
|
|
uni.navigateTo({url:"/pages/morePage/redPacket"})
|
|
|
}
|
|
@@ -462,12 +465,12 @@
|
|
|
uni.navigateTo({url:"/pagesA/activeDetail/index?sn="+row.promoActiveSn})
|
|
|
}
|
|
|
// 视频
|
|
|
- if(row.activeType == 'VIDEO'){
|
|
|
+ if(row.contentType == 'VIDEO'){
|
|
|
uni.navigateTo({url:"/pages/videos/detail?sn="+row.promoActiveSn})
|
|
|
}
|
|
|
// 链接
|
|
|
- if(row.activeType == 'LINK'){
|
|
|
- openWebView({url:item.content})
|
|
|
+ if(row.contentType == 'LINK'){
|
|
|
+ openWebView({url:row.content})
|
|
|
}
|
|
|
},
|
|
|
// 选择取货方式
|