var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '  为进一步推动全市建筑施工围挡提质升级,美化人居环境,现正式启动威海市建筑施工围挡优秀设计方案网络', link: 'https://m5bb6035fd3ce334d.wxvote.pingxuan123.com/page/rule/id/e46dabdc9107e5.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":1746355459,"nonceStr":"9664d3641efd51f4c286da94f02b85cc","signature":"5f3e132492e6c44096a93b3687e6861fc9679fc7","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'); } }); });