mirror of
https://github.com/caojiezi2003/live2d-widget.git
synced 2024-11-10 04:49:47 +00:00
Update
This commit is contained in:
parent
601bc7f195
commit
4e27c54ba5
@ -12,7 +12,7 @@
|
|||||||
在网页中添加 Live2D 看板娘。兼容 PJAX,支持无刷新加载。
|
在网页中添加 Live2D 看板娘。兼容 PJAX,支持无刷新加载。
|
||||||
Add Live2D widget to web page. Compatible with PJAX.
|
Add Live2D widget to web page. Compatible with PJAX.
|
||||||
|
|
||||||
**警告:本项目使用了大量 ES6 语法,且依赖于 WebGL。不支持 IE 11 等老旧浏览器。**
|
**警告:本项目使用了大量 ES6 语法,不支持 IE 11 等老旧浏览器。**
|
||||||
**WARNING: This project does not support legacy browsers such as IE 11.**
|
**WARNING: This project does not support legacy browsers such as IE 11.**
|
||||||
|
|
||||||
## 示例 Demo
|
## 示例 Demo
|
||||||
@ -33,7 +33,7 @@ Font Awesome (v4 or v5) is required for this plugin. Take Font Awesome v4 as an
|
|||||||
```xml
|
```xml
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css">
|
||||||
```
|
```
|
||||||
否则无法正常显示。(如果网页中已经加载了任何版本的 Font Awesome,就不要重复加载了)
|
否则图标将无法正常显示。(如果网页中已经加载了任何版本的 Font Awesome,就不要重复加载了)
|
||||||
|
|
||||||
## 使用 Usage
|
## 使用 Usage
|
||||||
|
|
||||||
|
@ -74,9 +74,6 @@
|
|||||||
}, {
|
}, {
|
||||||
"selector": ".highlight .table-container, .gist",
|
"selector": ".highlight .table-container, .gist",
|
||||||
"text": ["GitHub!我是新手!", "PHP 是最好的语言!"]
|
"text": ["GitHub!我是新手!", "PHP 是最好的语言!"]
|
||||||
}, {
|
|
||||||
"selector": ".container a[href^='http'], .nav-link .nav-text",
|
|
||||||
"text": ["要去看看 <span>{text}</span> 么?", "去 <span>{text}</span> 逛逛吧。", "到 <span>{text}</span> 看看吧。"]
|
|
||||||
}, {
|
}, {
|
||||||
"selector": "a[href^='mailto']",
|
"selector": "a[href^='mailto']",
|
||||||
"text": ["邮件我会及时回复的!", "点击就可以发送邮件啦~"]
|
"text": ["邮件我会及时回复的!", "点击就可以发送邮件啦~"]
|
||||||
@ -95,6 +92,12 @@
|
|||||||
}, {
|
}, {
|
||||||
"selector": "a[itemprop='discussionUrl']",
|
"selector": "a[itemprop='discussionUrl']",
|
||||||
"text": ["要去看看评论吗?"]
|
"text": ["要去看看评论吗?"]
|
||||||
|
}, {
|
||||||
|
"selector": ".beian a",
|
||||||
|
"text": ["我也是有户口的人哦。", "我的主人可是遵纪守法的好主人。"]
|
||||||
|
}, {
|
||||||
|
"selector": ".container a[href^='http'], .nav-link .nav-text",
|
||||||
|
"text": ["要去看看 <span>{text}</span> 么?", "去 <span>{text}</span> 逛逛吧。", "到 <span>{text}</span> 看看吧。"]
|
||||||
}, {
|
}, {
|
||||||
"selector": ".back-to-top",
|
"selector": ".back-to-top",
|
||||||
"text": ["点它就可以回到顶部啦!", "又回到最初的起点~", "要回到开始的地方么?"]
|
"text": ["点它就可以回到顶部啦!", "又回到最初的起点~", "要回到开始的地方么?"]
|
||||||
|
Loading…
Reference in New Issue
Block a user