update README.md

This commit is contained in:
StevenJoeZhang 2019-01-14 00:00:27 +08:00
parent a26c6110fa
commit fc6335941e
6 changed files with 5 additions and 3 deletions

View File

@ -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>`中加入:

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

BIN
screenshot-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
screenshot-3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -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() {

View File

@ -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",