1. 程式人生 > 其它 >部落格看板娘程式碼

部落格看板娘程式碼

<!--小蘿莉模型-->
<!--<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>-->

<script>
    L2Dwidget.init({         //暫時disable一下
        "model": {
       //jsonpath控制顯示那個小蘿莉模型,下面這個就是我覺得最可愛的小蘿莉模型
            jsonPath: "https://unpkg.com/[email protected]/assets/koharu.model.json",
            "scale": 1
        },
        "display": {
            "position": "right", //看板孃的表現位置
            "width": 120,  //小蘿莉的寬度
            "height": 240, //小蘿莉的高度
            "hOffset": 0,
            "vOffset": -80
        },
        "mobile": {
            "show": true,
            "scale": 0.5
        },
        "react": {
            "opacityDefault": 0.7,
            "opacityOnHover": 0.2
        }
    });
</script>
<!-- require APlayer -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css">
<script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script>
<!-- require MetingJS -->
<script src="https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js"></script>
<meting-js
        id="2614827308"
        lrc-type="0"
        server="netease"
        order="list"
        type="playlist"
        fixed="true"
        list-olded="true">
</meting-js>

<!--butterfly效果-->
<!--<script id="c_n_script" src="https://blog-static.cnblogs.com/files/ButterflyEffect/Example.js" color="0,0,0" opacity="1" count="75" zindex="-2">
if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {

} else {
       
}
</script>-->

<canvas id="c_n11" width="1280" height="237" style="position: fixed; top: 0px; left: 0px; z-index: -2; opacity: 1;"></canvas>