Skip to content

Commit abf8bd1

Browse files
committed
3.1.1
1 parent 741856c commit abf8bd1

File tree

3 files changed

+21
-10
lines changed

3 files changed

+21
-10
lines changed

docs/demo.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,14 @@ title: 示例页面
1616
</p>
1717
</div>
1818
<br />
19+
20+
21+
<ins class="adsbygoogle"
22+
style="display:block"
23+
data-ad-format="fluid"
24+
data-ad-layout-key="-fb+5w+4e-db+86"
25+
data-ad-client="ca-pub-9420537843748923"
26+
data-ad-slot="8405286900"></ins>
27+
<script>
28+
(adsbygoogle = window.adsbygoogle || []).push({});
29+
</script>

docs/release.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
title: 更新日志
33
sidebar: auto
44
---
5-
### 👍 `2020.9.9`
6-
* `3.1.0`
5+
### 👍 `2020.9.13`
6+
* `3.1.0~3.1.1`
77

88
* 新增评论功能,点击每条说说右下角的评论图标即可进入评论页面,再次点击会刷新页面已达到返回的目的。如果首次使用评论功能的话,会出现页面一直加载中的情况。前往存放shuoshuo的leancloud应用中新建一个class命名为`atComment`即可。
9+
* 评论计数功能添加,新增配置项`atComment`,控制评论功能是否启用,默认为`1`,可填`0`以关闭评论功能。
910

1011
### 👍 `2020.9.6`
1112

docs/settings.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,20 +113,20 @@ JS 自带三套表情包(贴吧,bilibili小电视,QQ),分四页,最
113113
* 格式;链接形式,可根据仓库中的main.css魔改(注意:仓库中的main.css中的color1等换成你所需要的颜色即可)
114114
* 参数类型: `string`
115115

116+
### 📌atComment
117+
118+
* 功能:评论功能的开关
119+
* 默认值:1(开启)
120+
* 可选项:0(关闭),1(开启)
121+
* 参数类型: `Boolean`
122+
116123
## 配置项填写示例
117124

118125
```html
119126
<script>
120127
new Artitalk({
121128
appId: '123456',
122129
appKey: '123456',
123-
serverURL: 'https://example.com',
124-
pageSize: 5,
125-
shuoPla: 'abaaba',
126-
avatarPla: 'abaaba',
127-
motion: 1,
128-
bgImg: 'https://example.com/abaaba.jpg',
129-
color1: 'red',
130130
atEmoji: {
131131
baiyan: "https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/baiyan.png",
132132
bishi: "https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/bishi.png",
@@ -141,7 +141,6 @@ JS 自带三套表情包(贴吧,bilibili小电视,QQ),分四页,最
141141
fadai: "https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/fadai.png",
142142
fanu: "https://cdn.jsdelivr.net/gh/Artitalk/Artitalk-emoji/fanu.png",
143143
},
144-
cssUrl: 'https://example.com/abaaba.css'
145144
})
146145
</script>
147146
```

0 commit comments

Comments
 (0)