博客园的打赏功能

 1 <script>
 2     window.tctipConfig = {
 3         staticPrefix: "http://static.tctip.com",
 4         buttonImageId: 5,
 5         buttonTip: "dashang",
 6         list: {
 7             alipay: { qrimg: "https://files.cnblogs.com/files/cboydream/zfb.gif" },
 8             weixin: { qrimg: "https://files.cnblogs.com/files/cboydream/wechat.gif" },
 9         }
10     };
11 </script>

 引用:

<script src="http://static.tctip.com/js/tctip.min.js"></script>

<link type="text/css" rel="stylesheet" href="http://static.tctip.com/css/myRewards.css" />

 1   <script src="http://static.tctip.com/js/tctip.min.js"></script>
 2   <link type="text/css" rel="stylesheet" href="http://static.tctip.com/css/myRewards.css" /> 
 3   <div class="myRewards" style=" 0px" id="myRewards">
 4    <a class="btn-myRewards"><img class="png" src="http://static.tctip.com/img/dashang/tab_5.png" /></a>
 5    <div class="myRewards-main">
 6     <h1 class="myR-h">喜欢请打赏</h1>
 7     <div class="myRewardsbox">
 8      <div class="myRewards-list">
 9       <ul class="not-full">
10        <li><a>支付宝<img class="png" src="http://static.tctip.com/img/alipay.png" alt="支付宝" /></a></li>
11        <li class="myR-on"><a>微信<img class="png" src="http://static.tctip.com/img/weixin.png" alt="微信" /></a></li>
12       </ul>
13      </div>
14      <div class="myRewards-detail">
15       <div class="myRewards-ubox">
16        <p class="myRewards-code-tit">扫描二维码打赏</p>
17        <div class="myRewards-code">
18         <img src="https://files.cnblogs.com/files/cboydream/wechat.gif" />
19        </div>
20        <p class="myRewards-account">微信打赏</p>
21       </div>
22      </div>
23     </div>
24     <p class="myR-bot"><a href="https://github.com/greedying/tctip" target="_blank">了解更多</a></p>
25    </div>
26   </div>
原文地址:https://www.cnblogs.com/cboydream/p/6294505.html