This commit is contained in:
GaoHao 2024-12-25 17:59:15 +08:00
commit 2d1ccf6793
1 changed files with 7 additions and 2 deletions

View File

@ -243,12 +243,17 @@
// jumpType (integer, optional): 1 2 , // jumpType (integer, optional): 1 2 ,
// type (integer, optional): 1 2 9 , // type (integer, optional): 1 2 9 ,
// buttonUrl // buttonUrl
if (item.jumpType == 0) { if (item.jumpType == 0) {
if (item.buttonTitle.indexOf("领取") != -1) { if (item.buttonTitle.indexOf("领取") != -1) {
this.taskReceive(item.id) this.taskReceive(item.id)
} else if (item.buttonTitle.indexOf("观看视频") != -1) { } else if (item.buttonTitle.indexOf("观看视频") != -1) {
// 广 // 广
// uni.showToast({
// title: this.adRewardedVideo,
// icon: 'none'
// })
this.urlCallback = { this.urlCallback = {
userId: uni.getStorageSync('userId'), userId: uni.getStorageSync('userId'),
extra: uni.getStorageSync('userId') + "" + new Date().getTime(), extra: uni.getStorageSync('userId') + "" + new Date().getTime(),
@ -325,7 +330,7 @@
}) })
// #ifdef H5 // #ifdef H5
this.list.map(item=>{ this.list.map(item=>{
if(item.title.indexOf("观看视频") != -1) { if(item.title.indexOf("观看视频") != -1&&this.adRewardedVideo) {
item.show = false item.show = false
} }
}) })