main
xy 3 years ago
parent e724560224
commit 007b25c09b

@ -227,7 +227,7 @@
title: '疯狂赏金-192用户话费红包大派送', // title: '疯狂赏金-192用户话费红包大派送', //
desc: '疯狂赏金-192用户话费红包大派送', desc: '疯狂赏金-192用户话费红包大派送',
link: url, // ,JS link: url, // ,JS
imgUrl: 'http://h5.ali251.langye.net/storage/files/1686122729648030e9447aa.jpeg', // imgUrl: 'http://h5.ali251.langye.net/res/share-img.jpeg', //
}); });
jwx.updateTimelineShareData({ jwx.updateTimelineShareData({
title: '疯狂赏金-192用户话费红包大派送', // title: '疯狂赏金-192用户话费红包大派送', //
@ -240,12 +240,26 @@
desc: '疯狂赏金-192用户话费红包大派送', desc: '疯狂赏金-192用户话费红包大派送',
link: url, // ,JS link: url, // ,JS
imgUrl: 'http://h5.ali251.langye.net/res/share-img.jpeg', // imgUrl: 'http://h5.ali251.langye.net/res/share-img.jpeg', //
success: () => {
this.$u.api.endTask({
task_id: 1
}).then(res => {
this.getProducts()
})
}
}); });
jwx.onMenuShareTimeline({ jwx.onMenuShareTimeline({
title: '疯狂赏金-192用户话费红包大派送', // title: '疯狂赏金-192用户话费红包大派送', //
desc: '疯狂赏金-192用户话费红包大派送', desc: '疯狂赏金-192用户话费红包大派送',
link: url, // ,JS link: url, // ,JS
imgUrl: 'http://h5.ali251.langye.net/res/share-img.jpeg', // imgUrl: 'http://h5.ali251.langye.net/res/share-img.jpeg', //
success: () => {
this.$u.api.endTask({
task_id: 1
}).then(res => {
this.getProducts()
})
}
}); });
}) })
}) })
@ -354,15 +368,15 @@
}) })
} }
}, },
toShare(newVal) { // toShare(newVal) {
if (!newVal) { // if (!newVal) {
this.$u.api.endTask({ // this.$u.api.endTask({
task_id: 1 // task_id: 1
}).then(res => { // }).then(res => {
this.getProducts() // this.getProducts()
}) // })
} // }
} // }
}, },
onShow() { onShow() {
this.getProducts() this.getProducts()

Loading…
Cancel
Save