var share = { share_title: tplCfg.param.text_share_title ? tplCfg.param.text_share_title : document.title, share_desc: tplCfg.param.text_share_desc ? tplCfg.param.text_share_desc : '城市更新和既有建筑改造,正成为我国当下提高城市竞争力、满足百姓美好生活意愿的重要途径。近年来,各城市', link: 'https://yulan.youtoupiao.com/page/rule/id/66ef6fdfed51d735.html', imgUrl: tplCfg.param.share_cover ? 'https://cdn.youtoupiao.com/' + tplCfg.param.share_cover + '-vote2.share' : ($('img.width-pull').eq(0).attr('src') ? $('img.width-pull').eq(0).attr('src') : $('img.play-img').attr('src')) }; wx.config({"appId":"wxb6a454852c62b7e0","timestamp":1714638163,"nonceStr":"13b009e49e22fd68de90e88dfbdbdc2d","signature":"023a9917c483c3052d1e9876ee8f9521e1438405","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(tplCfg.urls.url_share + '?type=2'); } }); wx.onMenuShareTimeline({ title: share.share_title, link: share.link, imgUrl: share.imgUrl, success: function () { requestUrlBg(tplCfg.urls.url_share + '?type=1'); } }); });