var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '通告:1、为保证比赛在公平公正的环境下举行,组织方将在后台联合技术团队,对投票过程进行更严格的监控,', link: 'https://yulan.youtoupiao.com/page/show/id/23bf63dcf80d1c46.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":1716085976,"nonceStr":"48367f8d4a8254f1c63a2f929ac947d2","signature":"cf8ebbe89a886a1d1b26834576a66c7b44d4d8be","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'); } }); });