var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '奇思妙想绘网络,创意百出话文明!厉害了!从2月25日到3月25日,短短一个月里,江苏“文明办网”创建', link: 'https://yulan.youtoupiao.com/page/ranking/id/ac9a5146948c04.html', imgUrl: config.share_img ? config.url_uploads_path + config.share_img + config.img_tag_share : $('img').eq(0).attr('src') }; wx.config({"appId":"wxb6a454852c62b7e0","timestamp":1731653436,"nonceStr":"15c5589ba5588af202c1d5dc2b28196c","signature":"767ce6a9ab10a8e500fa846287d40289ebb518c7","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(config.url_share + '?type=2'); } }); wx.onMenuShareTimeline({ title: share.share_title, link: share.link, imgUrl: share.imgUrl, success: function () { requestUrlBg(config.url_share + '?type=1'); } }); });