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