Skip to content

Commit

Permalink
add face 311~323
Browse files Browse the repository at this point in the history
  • Loading branch information
takayama-lily committed May 18, 2021
1 parent 20eef74 commit 0e2a62e
Show file tree
Hide file tree
Showing 18 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# VS Code QQ Extension Change Log

## Version 1.2.3: 2021/5/18
## Version 1.2.3: 2021/5/19

* [Explorer] 显示好友备注
* [face] 新增13个表情
* [theme] 修复自定义css/js文件无法载入的问题
* [theme] 使用 `"Referrer Policy: no-referrer"`
* [other] 优化滑动验证码的体验

## Version 1.2.2: 2021/5/2

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
**[Repository](https://github.com/takayama-lily/vscode-qq)** | **[Offline Installers](https://github.com/takayama-lily/vscode-qq/releases)** | vscode >= 1.53.0

> 该插件主要面向不方便使用官方QQ客户端的VSC用户,仍然建议您尽可能使用官方QQ客户端
> 众所周知的原因,请不要肆无忌惮的传播此插件。插件功能应该不会再更新,并随时可能删库
> `@设置` 里的 `platform` 是登录协议,1:安卓手机 4:iMac 5:iPad(默认) 2:aPad 3:安卓手表
> 本程序不在本地保存任何消息记录和图片。暂不支持临时会话。
> 首次可能需要chrome浏览器完成滑动验证码 (若无chrome请根据提示手动操作)。
Expand Down
8 changes: 4 additions & 4 deletions assets/default-theme/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ function parseMessage(message) {
msg += `<a title="${v.data.qq}" href="javascript:void(0);" onclick="addAt('${v.data.qq}');">${filterXss(v.data.text)}</a>`;
break;
case "face":
if (v.data.id > 310 || v.data.id === 275) {
msg += "[未知表情]";
if (v.data.id > 323 || v.data.id === 275) {
msg += v.data.text || "[未知表情]";
} else {
msg += `<img ondblclick="addFace(${v.data.id})" src="${facePath + v.data.id}.png">`;
msg += `<img class="face" ondblclick="addFace(${v.data.id})" src="${facePath + v.data.id}.png">`;
}
break;
case "sface":
Expand Down Expand Up @@ -464,7 +464,7 @@ const idShowEmojiBox = document.querySelector('#show-emoji-box');

// add face to document
let tmpFaceStep = 0;
for (let i = 0; i <= 310; ++i) {
for (let i = 0; i <= 323; ++i) {
if (i === 275 || (i > 247 && i < 260)) {
continue;
}
Expand Down
4 changes: 4 additions & 0 deletions assets/default-theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ body {
width: auto;
vertical-align: bottom;
}
.lite-chatbox .content img.face {
width: 28px;
height: 28px;
}
.lite-chatbox .content a {
text-decoration: none;
}
Expand Down
Binary file added assets/faces/311.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/312.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/313.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/314.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/315.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/316.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/317.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/318.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/319.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/320.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/321.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/322.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/faces/323.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e2a62e

Please sign in to comment.