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 : '第三届“中国最美露营地征集评选活动”是由中国汽车改装用品协会房车露营工作委员会、CFCC汽车房车露营', link: 'https://yulan.youtoupiao.com/page/show/id/914c4ac49223e79b/lid/6464.html', imgUrl: tplCfg.param.share_cover ? 'https://cdn.youtoupiao.com/' + tplCfg.param.share_cover + '-vote2.share' : $('img').eq(0).attr('src') }; wx.config({"appId":"wxb6a454852c62b7e0","timestamp":1714834293,"nonceStr":"32e9b5ef17430bd01771e9d681542576","signature":"7dad4b372d1833ea33b752dfe5fe1d235daae575","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'); } }); });