标签:html block events lib can otto follow das aci
https://www.cnblogs.com/spiderc/p/10833582.html
首先我们在博客的那里加入以下代码:
<div id="live2d-widget"><canvas id="live2dcanvas" width="300" height="600" style="position: fixed;opacity: 0.7;right: 0px;bottom: -20px;z-index: 99999;pointer-events: none;border: 1px dashed rgb(204, 204, 204);"></canvas></div>
然后再引入2个js文件,注意加入到你的js那里:
<script type="text/javascript" charset="utf-8" async="" src="https://cdn.jsdelivr.net/npm/live2d-widget@3.0.4/lib/L2Dwidget.0.min.js"></script> <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/live2d-widget@3.0.4/lib/L2Dwidget.min.js?_=1557308476616"></script>
<script type="text/javascript">
L2Dwidget.init();
</script>
<script type="text/javascript">getFollowStatus(‘df91d846-448f-4c9a-c764-08d6b94b3063‘)</script>
标签:html block events lib can otto follow das aci
原文地址:https://www.cnblogs.com/php-linux/p/11231512.html