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 : '2020吕田红色旅游讲解员选拔大赛实施细则一、大赛主题赓续红色因子 讲好吕田故事二、活动组织指导单位', link: 'https://m5c502b8822e15735.wxvote.pingxuan123.com/page/show/id/cdbcec5d23b28d71.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":1714497136,"nonceStr":"73460a41424cd909e5ddd132d31aed90","signature":"113a809e6dd44eb6ea3c333e4c39ad0f4a9b77ac","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'); } }); });