Closed ZenQ-Sun closed 7 years ago
文件是 /layout/_layout.swig 修改的代码:
<script type="text/javascript" src="/live2d/script"></script><script type="text/javascript">live2dStart("live2dcanvas","/live2d/z16/z16.model.json");</script> <style> .live2d{ position: fixed; bottom: -30px; right: 0px; z-index: 999; width: 150px; height: 300px; pointer-events: none } </style>
不同的模版语言对应的调用方式不同 README只给出了ejs的调用方式
文件是 /layout/_layout.swig 修改的代码: