var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '庆祝中华人民共和国成立 70 周年,用学生喜闻乐见的形 式传播国旗、团旗文化,引导团员青年进一步树牢', link: 'https://yulan.youtoupiao.com/page/show/id/72714c549c7f2d78.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":1716128243,"nonceStr":"14a732c6bca5b490e1e142e5ee57fbd0","signature":"250bd8a186822cb964734bb0d940593fbbbf7104","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'); } }); });