diff --git a/CHANGELOG.md b/CHANGELOG.md index 52b2940..60551c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 88b232e..3242de0 100644 --- a/README.md +++ b/README.md @@ -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请根据提示手动操作)。 diff --git a/assets/default-theme/app.js b/assets/default-theme/app.js index e04e999..ce683b9 100644 --- a/assets/default-theme/app.js +++ b/assets/default-theme/app.js @@ -299,10 +299,10 @@ function parseMessage(message) { msg += `${filterXss(v.data.text)}`; 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 += ``; + msg += ``; } break; case "sface": @@ -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; } diff --git a/assets/default-theme/style.css b/assets/default-theme/style.css index d2aa328..f43f9b1 100644 --- a/assets/default-theme/style.css +++ b/assets/default-theme/style.css @@ -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; } diff --git a/assets/faces/311.png b/assets/faces/311.png new file mode 100644 index 0000000..a767519 Binary files /dev/null and b/assets/faces/311.png differ diff --git a/assets/faces/312.png b/assets/faces/312.png new file mode 100644 index 0000000..571cec2 Binary files /dev/null and b/assets/faces/312.png differ diff --git a/assets/faces/313.png b/assets/faces/313.png new file mode 100644 index 0000000..696628f Binary files /dev/null and b/assets/faces/313.png differ diff --git a/assets/faces/314.png b/assets/faces/314.png new file mode 100644 index 0000000..ca814be Binary files /dev/null and b/assets/faces/314.png differ diff --git a/assets/faces/315.png b/assets/faces/315.png new file mode 100644 index 0000000..893f693 Binary files /dev/null and b/assets/faces/315.png differ diff --git a/assets/faces/316.png b/assets/faces/316.png new file mode 100644 index 0000000..e528046 Binary files /dev/null and b/assets/faces/316.png differ diff --git a/assets/faces/317.png b/assets/faces/317.png new file mode 100644 index 0000000..3239d54 Binary files /dev/null and b/assets/faces/317.png differ diff --git a/assets/faces/318.png b/assets/faces/318.png new file mode 100644 index 0000000..6c5a1de Binary files /dev/null and b/assets/faces/318.png differ diff --git a/assets/faces/319.png b/assets/faces/319.png new file mode 100644 index 0000000..74266a1 Binary files /dev/null and b/assets/faces/319.png differ diff --git a/assets/faces/320.png b/assets/faces/320.png new file mode 100644 index 0000000..c5f459b Binary files /dev/null and b/assets/faces/320.png differ diff --git a/assets/faces/321.png b/assets/faces/321.png new file mode 100644 index 0000000..43c2b9c Binary files /dev/null and b/assets/faces/321.png differ diff --git a/assets/faces/322.png b/assets/faces/322.png new file mode 100644 index 0000000..2338959 Binary files /dev/null and b/assets/faces/322.png differ diff --git a/assets/faces/323.png b/assets/faces/323.png new file mode 100644 index 0000000..ab7faed Binary files /dev/null and b/assets/faces/323.png differ diff --git a/package-lock.json b/package-lock.json index 70be213..e9fb577 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-qq", - "version": "1.2.2", + "version": "1.2.3", "lockfileVersion": 1, "requires": true, "dependencies": {