代码:加到博客主题页脚footer.php
代码语言:javascript复制<script type="text/javascript" src="https://www.sunleon.cn/wp-content/themes/Adams-master/static/meme.js"></script>
<canvas class="fireworks" style="position:fixed;left:0;top:0;z-index:99999999;pointer-events:none;"></canvas>
<script type="text/javascript" src="https://cdn.bootcss.com/animejs/2.2.0/anime.min.js"></script>
<script type="text/javascript" src="https://www.sunleon.cn/wp-content/themes/Adams-master/static/fireworks.js"></script>
代码来自群友@执念的鱼