var share = { share_title: tplCfg.param.text_share_title ? tplCfg.param.text_share_title : document.title, share_desc: tplCfg.param.text_share_desc ? tplCfg.param.text_share_desc : '第四届中蒙博览会于2023年9月6日在呼和浩特敕勒川国际会展中心召开,为迎接本次博览会,主办方自8月', link: 'https://mfbf3f5696b66eec.wxvote.pingxuan123.com/page/show/id/9fbce865f03f5f4.html', imgUrl: tplCfg.param.share_cover ? 'https://cdn.youtoupiao.com/' + tplCfg.param.share_cover + '-vote2.share' : ($('img.width-pull').eq(0).attr('src') ? $('img.width-pull').eq(0).attr('src') : $('img.play-img').attr('src')) }; wx.config({"appId":"wxb6a454852c62b7e0","timestamp":1726949894,"nonceStr":"1d28b0eaacb6a99b5c059e49e6d64cd6","signature":"07a5a5c1d3ee55e5990d27619dec66dcf6b57df9","jsApiList":["onMenuShareTimeline","onMenuShareAppMessage","hideAllNonBaseMenuItem"]}); wx.ready(function () { wx.onMenuShareAppMessage({ title: share.share_title, desc: share.share_desc, link: share.link, imgUrl: share.imgUrl, type: '', dataUrl: '', success: function () { requestUrlBg(tplCfg.urls.url_share + '?type=2'); } }); wx.onMenuShareTimeline({ title: share.share_title, link: share.link, imgUrl: share.imgUrl, success: function () { requestUrlBg(tplCfg.urls.url_share + '?type=1'); } }); });