Merge branch 'gaohao' of https://e.coding.net/g-cphe0354/duanju/video_app into test
This commit is contained in:
commit
2d1ccf6793
|
|
@ -243,12 +243,17 @@
|
|||
// jumpType (integer, optional): 跳转类型 1 内部路径 2 外部路径 ,
|
||||
// type (integer, optional): 任务类型 1 普通任务 2 打卡任务 9 其它 ,
|
||||
// buttonUrl
|
||||
|
||||
|
||||
if (item.jumpType == 0) {
|
||||
if (item.buttonTitle.indexOf("领取") != -1) {
|
||||
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
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue