wordpres美化-看板猫

article4天前发布 Done
3 0 0

效果图

wordpres美化-看板猫

 

在(header)自定义 js 代码区域添加如下,挂件自选

<!-- 左下角live2d效果 -->
<script src="https://l2dwidget.js.org/lib/L2Dwidget.min.js"></script>
<script>
    L2Dwidget.init({
        "model": {
            //jsonPath: "https://unpkg.com/[email protected]/assets/miku.model.json", //初音
            jsonPath: "https://unpkg.com/[email protected]/assets/hijiki.model.json", //黑猫
            //jsonPath: "https://unpkg.com/[email protected]/assets/shizuku.model.json", //萌娘
            //jsonPath: "https://unpkg.com/[email protected]/assets/tororo.model.json", //白猫
            //jsonPath: "https://unpkg.com/[email protected]/assets/wanko.model.json", //狗狗
            //jsonPath: "https://unpkg.com/[email protected]/assets/shizuku.model.json", //萌娘
            //jsonPath: "https://unpkg.com/[email protected]/assets/chitose.model.json", //小帅哥
            //jsonPath: "https://unpkg.com/[email protected]/assets/z16.model.json", //小可爱(护)
            //jsonPath: "https://unpkg.com/[email protected]/assets/koharu.model.json", //小可爱(女)
            //jsonPath: "https://unpkg.com/[email protected]/assets/haruto.model.json", //小可爱(男)
            "scale": 1
        },
        "display": {
            "position": "left",
            "width": 150,
            "height": 300,
            "hOffset": 0,
            "vOffset": -20
        },
        "mobile": {
            "show": true,
            "scale": 0.5
        },
        "react": {
            "opacityDefault": 0.7,
            "opacityOnHover": 0.2
        }
    });
</script>

 

© 版权声明

相关文章

暂无评论

暂无评论...