koishi-plugin-tmp-bot 1.16.5 → 1.16.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/resource/query.html +3 -10
- package/package.json +1 -1
package/lib/resource/query.html
CHANGED
|
@@ -73,6 +73,8 @@
|
|
|
73
73
|
padding: 2px 4px;
|
|
74
74
|
margin-left: 6px;
|
|
75
75
|
border-radius: 4px;
|
|
76
|
+
text-shadow: 0 4px 4px rgba(0, 0, 0, 0.8),
|
|
77
|
+
0 -4px 4px rgba(0, 0, 0, 0.8);
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
.details-container {
|
|
@@ -154,14 +156,6 @@
|
|
|
154
156
|
height: 150px;
|
|
155
157
|
background-color: rgba(0, 0, 0, 0.25);
|
|
156
158
|
}
|
|
157
|
-
|
|
158
|
-
.footer {
|
|
159
|
-
color: rgba(255, 255, 255, .5);
|
|
160
|
-
font-size: 14px;
|
|
161
|
-
text-align: center;
|
|
162
|
-
font-weight: 100;
|
|
163
|
-
margin-top: 16px;
|
|
164
|
-
}
|
|
165
159
|
</style>
|
|
166
160
|
</head>
|
|
167
161
|
<body>
|
|
@@ -225,7 +219,6 @@
|
|
|
225
219
|
</div>
|
|
226
220
|
</div>
|
|
227
221
|
</div>
|
|
228
|
-
<div class="footer">如需更换为文本展示方式,请联系QQ79887143</div>
|
|
229
222
|
</div>
|
|
230
223
|
<script>
|
|
231
224
|
let mapConfig = {
|
|
@@ -286,7 +279,7 @@
|
|
|
286
279
|
function init(data) {
|
|
287
280
|
document.getElementById('tmp-name').innerText = data.name
|
|
288
281
|
document.getElementById('tmp-avatar').src = data.avatarUrl
|
|
289
|
-
|
|
282
|
+
document.getElementById('tmp-id').innerHTML = `TMP#${data.tmpId} <span class="group" style="background-color: #${data.groupColor}">${data.groupName}</span>`
|
|
290
283
|
document.getElementById('tmp-steam-id').innerText = data.steamId
|
|
291
284
|
document.getElementById('tmp-register-date').innerText = data.registerDate
|
|
292
285
|
if (data.isJoinVtc) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-tmp-bot",
|
|
3
3
|
"description": "欧洲卡车模拟2 TMP查询插件,不会部署的可以直接使用此机器人->QQ:3523283907",
|
|
4
|
-
"version": "1.16.
|
|
4
|
+
"version": "1.16.6",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"homepage": "https://github.com/79887143/koishi-plugin-tmp-bot",
|