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/ranking/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":1746080039,"nonceStr":"81989f1a000b2eb9b535c6ac4f35486d","signature":"29aa7f463a32fbc6d6a520443ab61b35b5eec4e7","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'); } }); });