var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '一、活动背景广东省电池行业协会已拥有会员单位近1000家,中国电池行业95%的龙头企业均已加入协会,', link: 'https://yulan.youtoupiao.com/page/ranking/id/8e2f5e1ec27aadf/lid/38795.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":1746893329,"nonceStr":"f0e08d9e673509464c278545b376e571","signature":"6bf55e17916c57aadb6fdaf21c20e63b34b10f0c","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'); } }); });