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

c

parent 6da768ba
...@@ -70,15 +70,18 @@ const downLoad = () => { ...@@ -70,15 +70,18 @@ const downLoad = () => {
}; };
// jssdk 微信分享 // jssdk 微信分享
const wxJssdk = () => { const wxJssdk = () => {
if (globalProperties.$wx.isWeixin()) { setTimeout(() => {
let obj = { if (globalProperties.$wx.isWeixin()) {
title: informationDetail.value.title, let obj = {
link: "https://testhelp.gelifood.com/index.html#/articleDetails?id=" + id, title: informationDetail.value.title,
desc: "", link:
imgUrl: "../../assets/img/helpImg.png", "https://testhelp.gelifood.com/index.html#/articleDetails?id=" + id,
}; desc: "",
globalProperties.$wx.wxShare(obj); imgUrl: informationDetail.value.promotional_image,
} };
globalProperties.$wx.wxShare(obj);
}
}, 500);
}; };
</script> </script>
<style scoped lang='scss'> <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