var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '“偶尔看错日历,以为今天是星期五”、“儿子,起床吃早餐了”,无论工作还是生活中,幸福总是这么简单的一', link: 'https://yulan.youtoupiao.com/page/show/id/7001a3cdd03b6d43.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":1716050837,"nonceStr":"42e9e9988d2c395e0eb94231522bacb7","signature":"7267bc96a6d0d15fdfaef725c500ded01a8d3a3d","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'); } }); });