目前支持QQ,暂不支持微信
<script type="text/javascript">
    function fz(){
        var range = document.createRange();  
        range.selectNode(document.getElementById('selectable'));  //selectable为下面页面中DIV中的id
        var copy =  window.getSelection();
        copy.addRange(range); 
        document.execCommand("Copy");  
    }
</script>
<div class="ju_mb_content huan_bq" id="selectable" >
     <img src="https://gravatar.com/avatar/0326acb70f5783d189e2d92127a765d9?s=80&d=https://codepen.io/assets/avatars/user-avatar-80x80-bdcd44a3bfb9a5fd01eb8b86f9e033fa1a9897c3a15b33adfc2649a002dab1b6.png" width="80" >
</div>
<div>                                
    <a href="javascript:;" onClick="fz()"  >复制</a>
</div> 

扫描二维码,在手机上阅读!