Commit 91959458 authored by 何毅恒's avatar 何毅恒

c

parent 6da768ba
......@@ -70,15 +70,18 @@ const downLoad = () => {
};
// jssdk 微信分享
const wxJssdk = () => {
if (globalProperties.$wx.isWeixin()) {
let obj = {
title: informationDetail.value.title,
link: "https://testhelp.gelifood.com/index.html#/articleDetails?id=" + id,
desc: "",
imgUrl: "../../assets/img/helpImg.png",
};
globalProperties.$wx.wxShare(obj);
}
setTimeout(() => {
if (globalProperties.$wx.isWeixin()) {
let obj = {
title: informationDetail.value.title,
link:
"https://testhelp.gelifood.com/index.html#/articleDetails?id=" + id,
desc: "",
imgUrl: informationDetail.value.promotional_image,
};
globalProperties.$wx.wxShare(obj);
}
}, 500);
};
</script>
<style scoped lang='scss'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment