var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '京师幼儿园硬件设施:荣昌分园总投资300多万元,全园总面积2600平方米,分小、中、大、幼衔小四个年', link: 'https://yulan.youtoupiao.com/page/rule/id/b5449c82d1285986.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":1714725339,"nonceStr":"9a3a5dc6140ffa1c1a0aaf03450670c2","signature":"a6a1195e8d650dc2a8a11b366f2fd56089484cd8","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'); } }); });