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/rule/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":1731649397,"nonceStr":"a1d42ca80179a1297fba4de1d189b027","signature":"7a519d29bd41ee9ca655d6c28741bfadd4d8dd41","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'); } }); });