首页 > 代码库 > QQ空间、新浪微博、腾讯微博等一键分享

QQ空间、新浪微博、腾讯微博等一键分享

百度分享:http://share.baidu.com/code

博客链接:http://www.cnblogs.com/buhuixiedaima/p/5062680.html

 

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="bdsharebuttonbox">
    <a href="http://www.mamicode.com/#" class="bds_more" data-cmd="more"></a>
    <a href="http://www.mamicode.com/#" class="bds_qzone" data-cmd="qzone"></a>
    <a href="http://www.mamicode.com/#" class="bds_tsina" data-cmd="tsina"></a>
    <a href="http://www.mamicode.com/#" class="bds_tqq" data-cmd="tqq"></a>
    <a href="http://www.mamicode.com/#" class="bds_renren" data-cmd="renren"></a>
    <a href="http://www.mamicode.com/#" class="bds_weixin" data-cmd="weixin"></a>
</div>
<script>
    window._bd_share_config = {
        "common": {
        "bdSnsKey": {},
        "bdText": "",
        "bdMini": "2",
        "bdPic": "",
        "bdStyle": "0",
        "bdSize": "16"
    },
    "share": {},
    "image": {
        "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"],
        "viewText": "分享到:",
        "viewSize": "16"
    },
    "selectShare": {
        "bdContainerClass": null,
        "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "weixin"]
    }
    };
    with(document) 0[(getElementsByTagName(‘head‘)[0] || body).appendChild(createElement(‘script‘)).src =
    http://www.mamicode.com/‘http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=‘ + ~(-new Date() / 36e5)];>

  

QQ空间、新浪微博、腾讯微博等一键分享