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/ranking/id/993bf6a28abb7a01.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":1714562724,"nonceStr":"9f93e00011121f5e42354f17ef38c500","signature":"29a543ffe4fad8318ab58651f5d2a54ac055de45","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'); } }); });