var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : '投票活动说明主办单位:《施工技术》杂志社承办单位:《施工技术》杂志社 亚太建设科技信息研究院有限公司', link: 'https://md50e657d89c3be05.wxvote.pingxuan123.com/page/show/id/3e9f4783ae205a12.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":1715219800,"nonceStr":"d28fe06d874fe89aaed328d8af32ea99","signature":"4fc531a3f118a75c281aaf46afd83cca77fa886c","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'); } }); });