koishi-plugin-group-analysis-mx 1.7.5 → 1.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/service/renderer.js
CHANGED
|
@@ -261,7 +261,7 @@ class RendererService extends koishi_1.Service {
|
|
|
261
261
|
const avatar = String(entry.avatar || DEFAULT_AVATAR).replace(/"/g, '"');
|
|
262
262
|
const image = '<img src="' + avatar + '" alt="" style="width:18px;height:18px;border-radius:50%;margin-right:4px;display:block;flex-shrink:0">';
|
|
263
263
|
// Copy original capsule metrics exactly to keep avatar/name vertically centered on the text baseline.
|
|
264
|
-
return '<span style="display:inline-flex;align-items:center;background:rgba(0,0,0,0.05);padding:2px 6px 2px 2px;border-radius:12px;margin:0 2px;vertical-align:middle;border:1px solid rgba(0,0,0,0.1);text-decoration:none
|
|
264
|
+
return '<span style="display:inline-flex;align-items:center;background:rgba(0,0,0,0.05);padding:2px 6px 2px 2px;border-radius:12px;margin:0 2px;vertical-align:middle;border:1px solid rgba(0,0,0,0.1);text-decoration:none">' + image + '<span style="font-size:0.85em;color:inherit;font-weight:500;line-height:1">' + name + '</span></span>';
|
|
265
265
|
};
|
|
266
266
|
data = {
|
|
267
267
|
...data,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-group-analysis-mx",
|
|
3
3
|
"description": "群聊分析插件 - 生成精美群聊统计报告,支持 AI 话题总结(独立版,不依赖 ChatLuna)",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.6",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
7
7
|
"typings": "lib/index.d.ts",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|