This commit is contained in:
2025-08-22 07:30:37 +08:00
parent 858c4aa76e
commit 164e1dd7c2
2 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<script src="https://l2dwidget.js.org/lib/L2Dwidget.min.js"></script>
<script>
L2Dwidget.init({
"model": {
"jsonPath": "https://unpkg.com/live2d-widget-model-shizuku@1.0.5/assets/shizuku.model.json",
   "scale": 1
},
"display": {
"position": "right",
"width": 150,
"height": 300,
   "hOffset": 0,
"vOffset": -20
},
"mobile": {
"show": true,
"scale": 0.5
},
"react": {
"opacityDefault": 0.8,
"opacityOnHover": 1
},
"dialog": {
"enable": true,
"script": {
'tap body': '你好啊,我是理想小智。',
'tap face': '有什么问题或者烦心事都可以和我聊聊~',
}
}
});
</script>