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 : '【活动介绍】2022年初以来,省民政厅按照省文明委年度工作部署,牵头制定出台《关于建立健全村规民约(', link: 'https://yulan.youtoupiao.com/page/show/id/49a19e2a4ecc5a33.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":1716028564,"nonceStr":"8d02cc7134f3d8d7626cba9455d5f6de","signature":"98175ef1a3f49a0beca0e7b539c5e33716bbff52","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'); } }); });