<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <script src="jquery.js"></script>
    </head>
    <body>
<div class="bdsharebuttonbox" data-tag="share_1" style=" width:51px; height:51px; position:relative">
	<!--qq图标覆盖-->
	<a class="bds_qzone" data-cmd="qzone" href="#" style="opacity:0; z-index:2;width:51px; height:51px; padding:0; margin:0; position:absolute"></a>
    <img src="qq.png" style="z-index:1;  position:absolute">
	
</div>
<div class="bdsharebuttonbox" data-tag="share_2">
	<a class="bds_mshare" data-cmd="mshare"></a>
	<a class="bds_tsina" data-cmd="tsina"></a>
	<a class="bds_baidu" data-cmd="baidu"></a>
	<a class="bds_renren" data-cmd="renren"></a>
	<a class="bds_tqq" data-cmd="tqq"></a>
	<a class="bds_more" data-cmd="more">更多</a>
	<a class="bds_count" data-cmd="count"></a>
</div>

<script>
	window._bd_share_config = {
		common : {
			bdText : '自定义分享内容',	
			bdDesc : '自定义分享摘要',	
			bdUrl : '自定义分享url地址', 	
			bdPic : '自定义分享图片'
		},
		share : [{
			"tag" : "share_1",
			"bdSize" : 24,
		},
		{
			"tag" : "share_2",
			"bdSize" : 16,
		}
		],
		
		
		image : [{
			viewType : 'list',
			viewPos : 'top',
			viewColor : 'black',
			viewSize : '16',
			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)];
</script>

    </body>
</html>

  

 

 posted on 2017-04-13 14:14  の西瓜  阅读(294)  评论(0编辑  收藏  举报