var share = { share_title: tplConfig.share.share_title ? tplConfig.share.share_title : document.title, share_desc: tplConfig.share.share_desc ? tplConfig.share.share_desc : '书香肃南 LOGO 征集大赛作品', link: 'https://m1cc626e3fb7e0be4.wxvote.pingxuan123.com/page/show/id/ee46bdb648dc9a.html', imgUrl: tplConfig.share.share_img ? tplConfig.urls.url_uploads_path + tplConfig.share.share_img + tplConfig.coverTag.img_tag_share : $('img').eq(0).attr('src') }; wx.config({"appId":"wxb6a454852c62b7e0","timestamp":1743923544,"nonceStr":"0304e8b2c3902b461ed43029e2942993","signature":"653f7ae759688b303532d0117449603cf4c25511","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(tplConfig.urls.url_share + '?type=2'); } }); wx.onMenuShareTimeline({ title: share.share_title, link: share.link, imgUrl: share.imgUrl, success: function () { requestUrlBg(tplConfig.urls.url_share + '?type=1'); } }); });