百度分享share.js插件

时间:2023-06-09 09:34:20
//百度分享
window._bd_share_config = {
common : {
bdText : '分享标题',
bdDesc : '分享描述',
bdUrl : '分享链接',
bdPic : '分享图片' },
share : [{
"bdSize" : 22
}],
image : [{
viewType : 'list',
viewPos : 'top',
viewColor : 'black',
viewSize : '22',
viewList : ['qzone','tsina','huaban','tqq','renren']
}],
selectShare : [{
"bdselectMiniList" : ['qzone','tqq','kaixin001','bdxc','tqf']
}]
}
//分享按钮组织点击
with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];