添加打赏功能

master
李亚楠 3 weeks ago
parent f8e3e4d760
commit a62668a4bf
  1. 2
      _config.butterfly.yml
  2. 16
      source/html/bsrt.md
  3. BIN
      themes/butterfly/source/img/wechat.jpg

@ -170,7 +170,7 @@ post_copyright:
# Sponsor/reward # Sponsor/reward
reward: reward:
enable: false enable: true
text: text:
QR_code: QR_code:
- img: /img/wechat.jpg - img: /img/wechat.jpg

@ -59,6 +59,22 @@ toc: false
scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"
style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;"></iframe> style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;"></iframe>
</div> </div>
<div class="post-reward">
<div class="reward-button">
<i class="fas fa-qrcode"></i>
赞助
</div>
<div class="reward-main">
<ul class="reward-all">
<li class="reward-item">
<a href="/img/wechat.jpg" target="_blank">
<img class="post-qr-code-img" src="/img/wechat.jpg" alt="微信"/>
</a>
<div class="post-qr-code-desc">微信</div>
</li>
</ul>
</div>
</div>
</div> </div>
</body> </body>
<script> <script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Loading…
Cancel
Save