main
xy 3 years ago
parent e724560224
commit 007b25c09b

@ -227,7 +227,7 @@
title: '疯狂赏金-192用户话费红包大派送', // 分享标题
desc: '疯狂赏金-192用户话费红包大派送',
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({
title: '疯狂赏金-192用户话费红包大派送', // 分享标题
@ -240,12 +240,26 @@
desc: '疯狂赏金-192用户话费红包大派送',
link: url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: 'http://h5.ali251.langye.net/res/share-img.jpeg', // 分享图标
success: () => {
this.$u.api.endTask({
task_id: 1
}).then(res => {
this.getProducts()
})
}
});
jwx.onMenuShareTimeline({
title: '疯狂赏金-192用户话费红包大派送', // 分享标题
desc: '疯狂赏金-192用户话费红包大派送',
link: url, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
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) {
if (!newVal) {
this.$u.api.endTask({
task_id: 1
}).then(res => {
this.getProducts()
})
}
}
// toShare(newVal) {
// if (!newVal) {
// this.$u.api.endTask({
// task_id: 1
// }).then(res => {
// this.getProducts()
// })
// }
// }
},
onShow() {
this.getProducts()
@ -733,4 +747,4 @@
opacity: 0;
}
}
</style>
</style>

Loading…
Cancel
Save