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 = () => {
setTimeout(() => {
if (globalProperties.$wx.isWeixin()) { if (globalProperties.$wx.isWeixin()) {
let obj = { let obj = {
title: informationDetail.value.title, title: informationDetail.value.title,
link: "https://testhelp.gelifood.com/index.html#/articleDetails?id=" + id, link:
"https://testhelp.gelifood.com/index.html#/articleDetails?id=" + id,
desc: "", desc: "",
imgUrl: "../../assets/img/helpImg.png", imgUrl: informationDetail.value.promotional_image,
}; };
globalProperties.$wx.wxShare(obj); 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