mirror of
https://github.com/caojiezi2003/live2d-widget.git
synced 2024-11-22 15:19:44 +00:00
update README.md
This commit is contained in:
parent
a26c6110fa
commit
fc6335941e
@ -7,7 +7,9 @@ Add Live2D widget to web page.
|
||||
## Demo
|
||||
在[米米的博客](https://zhangshuqiao.org)的左下角可查看效果。
|
||||
|
||||
![](screenshot.png)
|
||||
![](screenshot-1.png)
|
||||
![](screenshot-2.png)
|
||||
![](screenshot-3.png)
|
||||
|
||||
## 依赖 Dependencies
|
||||
本插件需要jQuery和font-awesome支持,请确保它们已在页面中加载,例如在`<head>`中加入:
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
BIN
screenshot-2.png
Normal file
BIN
screenshot-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
BIN
screenshot-3.png
Normal file
BIN
screenshot-3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
@ -73,7 +73,7 @@ function initWidget(waifuPath, apiPath) {
|
||||
document.body.appendChild(s);
|
||||
s.src = "https://galaxymimi.com/js/asteroids.js";
|
||||
});
|
||||
$("#waifu-tool .fa-user-circle-o").click(function() {
|
||||
$("#waifu-tool .fa-user-circle").click(function() {
|
||||
loadOtherModel();
|
||||
});
|
||||
$("#waifu-tool .fa-street-view").click(function() {
|
||||
|
@ -12,7 +12,7 @@
|
||||
"selector": "#waifu-tool .fa-paper-plane",
|
||||
"text": ["要不要来玩飞机大战?", "这个按钮上写着“不要点击”。", "怎么,你想来和我玩个游戏?", "听说这样可以蹦迪!"]
|
||||
}, {
|
||||
"selector": "#waifu-tool .fa-user-circle-o",
|
||||
"selector": "#waifu-tool .fa-user-circle",
|
||||
"text": ["要见见我的姐姐嘛?", "要切换看板娘吗?"]
|
||||
}, {
|
||||
"selector": "#waifu-tool .fa-street-view",
|
||||
|
Loading…
Reference in New Issue
Block a user