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 : 'TOP企业数字商学院(简称“TOP CDBS”)评选由数字中欧发起并主办,希望通过评选企业学习与发展', link: 'https://m200ee2579a40b0c7.wxvote.pingxuan123.com/page/show/id/5fb5fcfdb6d659c8/lid/29577.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":1714238607,"nonceStr":"6a0f221f7fed14098a8b6396ec1c106d","signature":"47a29cef07231afe9e9f4bcfe3359d36d4dcfff4","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'); } }); });