Commit 5d80c4ea by fengfan

还原

parent c9cca0f6
...@@ -101,15 +101,17 @@ function _init_wx_jssdk(){ ...@@ -101,15 +101,17 @@ function _init_wx_jssdk(){
// 设置成功 // 设置成功
} }
}) })
var img = shareImg()
// wx.onMenuShareTimeline({
wx.updateTimelineShareData({ wx.updateTimelineShareData({
title: getUserInfoByLocalStorage()?`${getUserInfoByLocalStorage()}的2020幸运打卡地:丹寨`:FRONT_TITLE, // 分享标题 title: getUserInfoByLocalStorage()?`${getUserInfoByLocalStorage()}的2020幸运打卡地:丹寨`:FRONT_TITLE, // 分享标题
link: FRONT_URL, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 link: FRONT_URL, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: shareImg(), // 分享图标 imgUrl: img, // 分享图标
success: function () { success: function () {
// 设置成功 // 设置成功
} }
}) })
} }
} }
......
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 sign in to comment