Rename demo

This commit is contained in:
Mimi 2020-04-18 14:13:16 +08:00
parent a48e57d1c6
commit abf1b9e699
3 changed files with 6 additions and 4 deletions

View File

@ -23,8 +23,8 @@ Add Live2D widget to web page. Compatible with PJAX.
你也可以在允许的范围内进行二次开发,这里有一些示例 你也可以在允许的范围内进行二次开发,这里有一些示例
- [demo1.html](https://mi.js.org/live2d-widget/demo/demo1.html) ,展现基础效果 - [demo.html](https://mi.js.org/live2d-widget/demo/demo.html) ,展现基础效果
- [demo2.html](https://mi.js.org/live2d-widget/demo/demo2.html) ,仿 NPM 的登陆界面 - [login.html](https://mi.js.org/live2d-widget/demo/login.html) ,仿 NPM 的登陆界面
## 依赖 Dependencies ## 依赖 Dependencies

View File

@ -114,6 +114,8 @@ body {
} }
#live2d { #live2d {
cursor: grab; cursor: grab;
height: 300px;
width: 300px;
} }
#live2d:active { #live2d:active {
cursor: grabbing; cursor: grabbing;
@ -126,12 +128,12 @@ body {
<div id="inner"> <div id="inner">
<div id="cover"> <div id="cover">
<div id="text"> <div id="text">
<span style="color: cyan;">MIMI</span><span style="color: white">POWERED</span> <span style="color: cyan;">MIMI</span><span style="color: white;">POWERED</span>
</div> </div>
<div id="detail"></div> <div id="detail"></div>
<div id="handle"></div> <div id="handle"></div>
</div> </div>
<canvas class="mb-4" id="live2d" width="300" height="300"></canvas> <canvas class="mb-4" id="live2d" width="800" height="800"></canvas>
</div> </div>
<a id="info" href="javascript:info()"><i class="fa fa-lg fa-info"></i></a> <a id="info" href="javascript:info()"><i class="fa fa-lg fa-info"></i></a>
<a id="refresh" href="javascript:refresh()"><i class="fa fa-lg fa-refresh"></i></a> <a id="refresh" href="javascript:refresh()"><i class="fa fa-lg fa-refresh"></i></a>