koishi-plugin-tmp-bot 1.16.4 → 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.
@@ -6,6 +6,16 @@
6
6
  <link href="./package/leaflet/leaflet.min.css" rel="stylesheet">
7
7
  <script src="./package/leaflet/leaflet.min.js"></script>
8
8
  <style>
9
+ @font-face {
10
+ font-family: 'segui-emj';
11
+ src: url('./package/SEGUIEMJ.TTF');
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ }
15
+ body {
16
+ font-family: 'segui-emj', serif;
17
+ }
18
+
9
19
  .border {
10
20
  border: 1px solid red;
11
21
  }
@@ -63,6 +73,8 @@
63
73
  padding: 2px 4px;
64
74
  margin-left: 6px;
65
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);
66
78
  }
67
79
 
68
80
  .details-container {
@@ -144,14 +156,6 @@
144
156
  height: 150px;
145
157
  background-color: rgba(0, 0, 0, 0.25);
146
158
  }
147
-
148
- .footer {
149
- color: rgba(255, 255, 255, .5);
150
- font-size: 14px;
151
- text-align: center;
152
- font-weight: 100;
153
- margin-top: 16px;
154
- }
155
159
  </style>
156
160
  </head>
157
161
  <body>
@@ -166,27 +170,27 @@
166
170
  <div class="details-container">
167
171
  <div class="form-box">
168
172
  <div class="form-item full">
169
- <div class="label">SteamID</div>
173
+ <div class="label">🎮SteamID</div>
170
174
  <div class="value" id="tmp-steam-id"></div>
171
175
  </div>
172
176
  <div class="form-item full">
173
- <div class="label">注册日期</div>
177
+ <div class="label">📑注册日期</div>
174
178
  <div class="value" id="tmp-register-date"></div>
175
179
  </div>
176
180
  <div class="form-item full" id="tmp-vtc-box">
177
- <div class="label">所属车队</div>
181
+ <div class="label">🚚所属车队</div>
178
182
  <div class="value" id="tmp-vtc-name"></div>
179
183
  </div>
180
184
  <div class="form-item full" id="tmp-vtc-role-box">
181
- <div class="label">车队角色</div>
185
+ <div class="label">🚚车队角色</div>
182
186
  <div class="value" id="tmp-vtc-role"></div>
183
187
  </div>
184
188
  <div class="form-item" id="tmp-sponsor-box">
185
- <div class="label">赞助用户</div>
189
+ <div class="label">🎁赞助用户</div>
186
190
  <div class="value" id="tmp-sponsor-amount"></div>
187
191
  </div>
188
192
  <div class="form-item" id="tmp-sponsor-cumulative-box">
189
- <div class="label">累计赞助</div>
193
+ <div class="label">🎁累计赞助</div>
190
194
  <div class="value" id="tmp-sponsor-cumulative"></div>
191
195
  </div>
192
196
  </div>
@@ -215,7 +219,6 @@
215
219
  </div>
216
220
  </div>
217
221
  </div>
218
- <div class="footer">如需更换为文本展示方式,请联系QQ79887143</div>
219
222
  </div>
220
223
  <script>
221
224
  let mapConfig = {
@@ -276,7 +279,7 @@
276
279
  function init(data) {
277
280
  document.getElementById('tmp-name').innerText = data.name
278
281
  document.getElementById('tmp-avatar').src = data.avatarUrl
279
- document.getElementById('tmp-id').innerHTML = `TMP#${data.tmpId} <span class="group" style="background-color: #${data.groupColor}">${data.groupName}</span>`
282
+ document.getElementById('tmp-id').innerHTML = `TMP#${data.tmpId} <span class="group" style="background-color: #${data.groupColor}">${data.groupName}</span>`
280
283
  document.getElementById('tmp-steam-id').innerText = data.steamId
281
284
  document.getElementById('tmp-register-date').innerText = data.registerDate
282
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",
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",