main
xy 3 years ago
parent 007b25c09b
commit 8f4df86baf

@ -240,26 +240,12 @@
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()
})
}
}); });
}) })
}) })
@ -368,15 +354,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