这是林泊百科的迁移技术测试站点,所有改动不会同步到林泊百科上,此站点将会在正式迁移后关闭,请勿存放重要数据
用户:Yingxxxx/test.js:修订间差异
跳转到导航
跳转到搜索
创建页面,内容为“L2Dwidget.init({ "model": { jsonPath: "https://unpkg.com/live2d-widget-model-tororo@1.0.5/assets/tororo.model.json", "scale": 1 }, "display": { "position": "right", //模型的表现位置 "width": 150, //模型的宽度 "height": 300, //模型的高度 "hOffset": 0, "vOffset": -20 }, "mobile": { "show": true, "scale": 0.5 }, "react": { "opacityDefault": 0.7, //模型默认透明度 "opacityOnHover": 0.2 } });” |
小无编辑摘要 |
||
| (未显示同一用户的2个中间版本) | |||
| 第1行: | 第1行: | ||
L2Dwidget.init({ | L2Dwidget.init({ | ||
"model": { | "model": { | ||
"jsonPath": "https://unpkg.com/live2d-widget-model-z16@1.0.5/assets/z16.model.json", | |||
"scale": 1 | "scale": 1 | ||
}, | }, | ||
"display": { | "display": { | ||
"position": " | "position": "left", | ||
"width": 150, | "width": 150, | ||
"height": 300, | "height": 300, | ||
"hOffset": 0, | "hOffset": 0, | ||
"vOffset": -20 | "vOffset": -20 | ||
}, | }, | ||
"mobile": { | "mobile": { | ||
"show": true, | "show": true, | ||
"scale": 0.5 | "scale": 0.5 | ||
}, | }, | ||
"react": { | "react": { | ||
"opacityDefault": 0.7, | "opacityDefault": 0.7, | ||
"opacityOnHover": 0.2 | "opacityOnHover": 0.2 | ||
} | } | ||
}); | }); | ||
2022年9月1日 (四) 15:37的最新版本
L2Dwidget.init({
"model": {
"jsonPath": "https://unpkg.com/live2d-widget-model-z16@1.0.5/assets/z16.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
}
});