这两天想给自己的博客折腾一下添加一个打赏组件。github上找了一圈找到一个比较满意的,并对其简单改造了一下。
github原地址:https://github.com/ihoey/Playing-reward
改造后的打赏预览
点击后效果
完整代码:https://gitee.com/lqccan/blog-demo demo5
使用方法:
参考代码demo5中index.html的注释。
- 组件依赖于jquery,所以需要提前引入jquery
- 引入html代码
- 引入css代码
- 引入js代码
这两天想给自己的博客折腾一下添加一个打赏组件。github上找了一圈找到一个比较满意的,并对其简单改造了一下。
github原地址:https://github.com/ihoey/Playing-reward
改造后的打赏预览
点击后效果
完整代码:https://gitee.com/lqccan/blog-demo demo5
使用方法:
参考代码demo5中index.html的注释。