观看视频限制

This commit is contained in:
GaoHao 2024-12-25 17:58:51 +08:00
parent 28bab311d3
commit 5b3eb4f602
1 changed files with 7 additions and 2 deletions

View File

@ -249,6 +249,11 @@
this.taskReceive(item.id)
} else if (item.buttonTitle.indexOf("观看视频") != -1) {
// 广
// uni.showToast({
// title: this.adRewardedVideo,
// icon: 'none'
// })
this.urlCallback = {
userId: uni.getStorageSync('userId'),
extra: uni.getStorageSync('userId') + "" + new Date().getTime(),
@ -325,7 +330,7 @@
})
// #ifdef H5
this.list.map(item=>{
if(item.title.indexOf("观看视频") != -1) {
if(item.title.indexOf("观看视频") != -1&&this.adRewardedVideo) {
item.show = false
}
})