koishi-plugin-tmp-bot 1.18.1 → 1.18.3

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.
@@ -11,16 +11,12 @@
11
11
  font-style: normal;
12
12
  }
13
13
  body {
14
- font-family: 'segui-emj', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
14
+ font-family: 'segui-emj', sans-serif;
15
15
  margin: 0;
16
16
  padding: 0;
17
17
  background-color: #000;
18
18
  }
19
19
 
20
- .emoji {
21
- font-family: 'emoji-font', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
22
- }
23
-
24
20
  #container {
25
21
  width: 340px;
26
22
  background: linear-gradient(135deg, #1f2f54, #0f2c2a);
@@ -167,7 +163,7 @@
167
163
  <body>
168
164
  <div id="container">
169
165
  <div class="header">
170
- <div class="title">🏆 行驶里程排行榜</div>
166
+ <div class="title">🚗 行驶里程排行榜</div>
171
167
  </div>
172
168
 
173
169
  <div class="leaderboard-container">
@@ -242,16 +238,15 @@
242
238
 
243
239
  if (titleElement) {
244
240
  const titles = {
245
- 1: '🏆 总行驶里程排行榜',
246
- 2: '🏆 今日行驶里程排行榜'
241
+ 1: '🚗 总行驶里程排行榜',
242
+ 2: '🚗 今日行驶里程排行榜'
247
243
  };
248
244
  const footerNotes = {
249
245
  1: '* 数据自 2025年8月23日 20:00 开始统计',
250
246
  2: '* 每日 0:00 重置统计'
251
247
  };
252
248
 
253
- const titleText = titles[apiData.rankingType] || '🏆 行驶里程排行榜';
254
- titleElement.innerHTML = `<span class="emoji">${titleText.substring(0, 2)}</span>${titleText.substring(2)}`;
249
+ titleElement.textContent = titles[apiData.rankingType] || '🚗 行驶里程排行榜';
255
250
  if (footerElement) {
256
251
  footerElement.textContent = footerNotes[apiData.rankingType] || '* 数据统计说明';
257
252
  }
@@ -13,7 +13,7 @@
13
13
  font-style: normal;
14
14
  }
15
15
  body {
16
- font-family: 'segui-emj', serif;
16
+ font-family: 'segui-emj', 'sans-serif';
17
17
  }
18
18
 
19
19
  .border {
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.18.1",
4
+ "version": "1.18.3",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "homepage": "https://github.com/79887143/koishi-plugin-tmp-bot",