koishi-plugin-tmp-bot 1.13.0 → 1.14.1

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.
@@ -0,0 +1,27 @@
1
+ const BASE_API = 'https://open-api.vtcm.link'
2
+
3
+ module.exports = {
4
+ /**
5
+ * 查询服务器列表
6
+ */
7
+ async serverList (http) {
8
+ let result = null
9
+ try {
10
+ result = await http.get(`${BASE_API}/server/list`)
11
+ } catch {
12
+ return {
13
+ error: true
14
+ }
15
+ }
16
+
17
+ // 拼接返回数据
18
+ let data = {
19
+ error: result.code !== 200
20
+ }
21
+ if (!data.error) {
22
+ data.data = result.data
23
+ }
24
+
25
+ return data
26
+ }
27
+ }
@@ -0,0 +1,31 @@
1
+ const { segment } = require('koishi')
2
+ const { resolve } = require('path')
3
+ const common = require('../util/common')
4
+
5
+ module.exports = async (ctx, session) => {
6
+ if (!ctx.puppeteer) {
7
+ return '未启用 Puppeteer 功能'
8
+ }
9
+
10
+ let page
11
+ try {
12
+ page = await ctx.puppeteer.page()
13
+ await page.setViewport({ width: 1000, height: 1000 })
14
+ await page.goto(`file:///${resolve(__dirname, '../resource/dlc.html')}`)
15
+ await page.waitForNetworkIdle()
16
+ await common.sleep(500)
17
+ const element = await page.$("#dlc-info-container");
18
+ return (
19
+ segment.image(await element.screenshot({
20
+ encoding: "binary"
21
+ }), "image/jpg")
22
+ )
23
+ } catch (e) {
24
+ console.info(e)
25
+ return '渲染异常,请重试'
26
+ } finally {
27
+ if (page) {
28
+ await page.close()
29
+ }
30
+ }
31
+ }
@@ -1,34 +1,32 @@
1
1
  const truckersMpApi = require('../api/truckersMpApi')
2
+ const evmOpenApi = require('../api/evmOpenApi')
2
3
 
3
- module.exports = async (ctx, cfg, game) => {
4
+ module.exports = async (ctx) => {
4
5
  // 查询服务器信息
5
- let serverData = await truckersMpApi.servers(ctx.http)
6
+ let serverData = await evmOpenApi.serverList(ctx.http)
6
7
  if (serverData.error) {
7
8
  return '查询服务器失败,请稍后重试'
8
9
  }
9
10
 
10
- // 过滤服务器
11
- let etsServerList = serverData.data.filter(server => server.game === game)
12
-
13
11
  // 构建消息
14
12
  let message = ''
15
- for (let server of etsServerList) {
13
+ for (let server of serverData.data) {
16
14
  // 如果前面有内容,换行
17
15
  if (message) {
18
16
  message += '\n\n'
19
17
  }
20
18
 
21
- message += '服务器: ' + ( server.online ? '🟢' : '⚫' ) + server.name
22
- message += `\n玩家人数: ${server.players}/${server.maxplayers}`
19
+ message += '服务器: ' + ( server.isOnline === 1 ? '🟢' : '⚫' ) + server.serverName
20
+ message += `\n玩家人数: ${server.playerCount}/${server.maxPlayer}`
23
21
  if (server.queue) {
24
- message += ` (队列: ${server.queue})`
22
+ message += ` (队列: ${server.queueCount})`
25
23
  }
26
24
  // 服务器特性
27
25
  let characteristicList = []
28
- if (!server.afkenabled) {
26
+ if (!(server.afkEnable === 1)) {
29
27
  characteristicList.push('⏱挂机')
30
28
  }
31
- if (server.collisions) {
29
+ if (server.collisionsEnable === 1) {
32
30
  characteristicList.push('💥碰撞')
33
31
  }
34
32
  if (characteristicList && characteristicList.length > 0) {
package/lib/index.js CHANGED
@@ -9,6 +9,7 @@ const tmpBind = require('./command/tmpBind');
9
9
  const tmpTraffic = require('./command/tmpTraffic/tmpTraffic');
10
10
  const tmpPosition = require('./command/tmpPosition');
11
11
  const tmpVersion = require('./command/tmpVersion');
12
+ const tmpDlcMap = require('./command/tmpDlcMap');
12
13
  exports.name = 'tmp-bot';
13
14
  exports.inject = {
14
15
  required: ['database'],
@@ -34,11 +35,11 @@ function apply(ctx, cfg) {
34
35
  model(ctx);
35
36
  // 注册指令
36
37
  ctx.command('tmpquery <tmpId>').action(async ({ session }, tmpId) => await tmpQuery(ctx, cfg, session, tmpId));
37
- ctx.command('tmpserverats').action(async () => await tmpServer(ctx, cfg, 'ATS'));
38
- ctx.command('tmpserverets').action(async () => await tmpServer(ctx, cfg, 'ETS2'));
38
+ ctx.command('tmpserverets').action(async () => await tmpServer(ctx));
39
39
  ctx.command('tmpbind <tmpId>').action(async ({ session }, tmpId) => await tmpBind(ctx, cfg, session, tmpId));
40
40
  ctx.command('tmptraffic <serverName>').action(async ({ session }, serverName) => await tmpTraffic(ctx, cfg, serverName));
41
41
  ctx.command('tmpposition <tmpId>').action(async ({ session }, tmpId) => await tmpPosition(ctx, cfg, session, tmpId));
42
42
  ctx.command('tmpversion').action(async () => await tmpVersion(ctx));
43
+ ctx.command('tmpdlcmap').action(async ({ session }) => await tmpDlcMap(ctx, session));
43
44
  }
44
45
  exports.apply = apply;
@@ -0,0 +1,124 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>DLC</title>
6
+ <style>
7
+ #dlc-info-container {
8
+ width: 600px;
9
+ background-color: #222d33;
10
+ padding: 14px;
11
+ }
12
+
13
+ .dlc-box {
14
+ display: flex;
15
+ flex-direction: row;
16
+ box-sizing: border-box;
17
+ padding: 12px;
18
+ margin-top: 12px;
19
+ background-size: cover;
20
+ background-repeat: no-repeat;
21
+ background-position: center;
22
+ }
23
+ .dlc-box:nth-of-type(1) {
24
+ margin-top: 0;
25
+ }
26
+
27
+ .dlc-box .header-image {
28
+ width: 210px;
29
+ display: inline-block;
30
+ }
31
+
32
+ .dlc-box .dlc-info {
33
+ flex: 1;
34
+ width: 0;
35
+ //border: 1px solid red;
36
+ box-sizing: border-box;
37
+ padding: 2px 12px;
38
+ }
39
+ .dlc-info .name {
40
+ color: #ffffff;
41
+ font-size: 18px;
42
+ font-weight: 600;
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ white-space: nowrap;
46
+ }
47
+ .dlc-info .desc {
48
+ color: #e5e5e5;
49
+ font-size: 14px;
50
+ overflow: hidden;
51
+ text-overflow: ellipsis;
52
+ display: -webkit-box;
53
+ -webkit-line-clamp: 2;
54
+ -webkit-box-orient: vertical;
55
+ }
56
+ .dlc-info .price-box {
57
+ margin-top: 8px;
58
+ }
59
+
60
+ .dlc-info .price-box span {
61
+ display: inline-block;
62
+ color: #BEEE11;
63
+ font-size: 16px;
64
+ }
65
+ .dlc-info .price-box .discount-price {
66
+ color: #cbcbcb;
67
+ text-decoration: line-through;
68
+ }
69
+ .dlc-info .price-box .discount {
70
+ font-size: 14px;
71
+ color: #BEEE11;
72
+ background-color: #4c6b22;
73
+ padding: 2px 6px;
74
+ margin-left: 4px;
75
+ }
76
+ </style>
77
+ </head>
78
+ <body>
79
+ <div id="dlc-info-container">
80
+ </div>
81
+
82
+ <script>
83
+ // TODO 数据暂时写死,后续需要从接口获取
84
+ let dlcList = [{"id": 1, "name": "Euro Truck Simulator 2 - Greece", "desc": "探索希腊内陆的魅力,发现令人陶醉的岛屿,伴随约14座城市等待发现。想象巡游如同明信片一般完美的乡村,穿行蜿蜒的道路,途径地标,沉浸于历史悠久的希腊文化之中。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/header.jpg?t=1733342256", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/page_bg_generated_v6b.jpg?t=1733342256", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/page_bg_generated_v6b.jpg?t=1733342256", "init_price": 58.00, "discount": 0, "final_price": 58.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_ed8ed7de65cdb7273335846e823460a2ef5424e8.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_e8806986e4e10a5cc7200f2d7cdfb8c14170de75.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_08e7bd1e28a75b7ef741750acd93e76da587e9a0.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_1bf4f28d0fd8d26cf42eb5416e2b892b202f8461.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_076a50f0583edccf5bddf0b43595f1546054736d.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_7fccb7700f990037294c7a46514e8b2ffe77cfbb.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_9bc7d6038dfb6b3705c3684a2ba1580a4c5ebe24.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_b0286facc42741d3a43b962eb25907f4712a04f2.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_9c480bbcca960401bfc590fe703dee18883d3e1f.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_19ae968043b688ba09823d61d263f4c13ea0710e.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_ca0c54908e8d21bfd89f501f4e52cf7f7e7e8f05.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_49066026a0fe904c5b8b7986ddbe68f5faceeba3.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_aea9719289fa8dd08e41e4f07490002e3b052109.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_1014a5198c1218f0ba1c91eed177121f57158001.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_48754e427861b7fab63d946c27c32e27142075ea.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_83f69d04cf7d76b4ec892cfef1cab2be26f655cb.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_0e97710c413061f743ebd084de1d8f0b7adf582d.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_d2625e3d143474dbb3ccb67ffc08458dfc39611a.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_fa82c3f53d6ec73274c60349a81a7652c1c96cc3.600x338.jpg?t=1733342256","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2604420/ss_0190a54b9817a078c84cf0e34658f2e031dc6df9.600x338.jpg?t=1733342256"]},
85
+ {"id": 2, "name": "Euro Truck Simulator 2 - Iberia", "desc": "伊比利亚半岛拥有丰富多样的自然景观,从半干旱的西南部沙漠到翠绿的针叶林。成为伊比利亚与欧洲其他地区之间发达的出口经济的重要一分子,运送货物吧。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/header_schinese.jpg?t=1731583578", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/page_bg_generated_v6b.jpg?t=1731583578", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/page_bg_generated_v6b.jpg?t=1731583578", "init_price": 78.00, "discount": 0, "final_price": 78.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_749a76015d053c61a9bfc1b813b0383e11f8dc61.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_60c7ae33501e5d4809ed6dfddaf515c3dc4e4236.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_b6e3b37e74d028af92d68183ce18a3d031617556.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_caa6051f5c228293b8e0c849445eec8ac775f4f9.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_d1fdbc2254b7fb3cc07a744f7fe885605ff4aa5e.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_cc8ae655f96eaad24d34c155db9f42a293bfca57.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_a0360879de3852ec8cd3e556e07391f02000b010.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_18703694a1b07d1d016e2781bb8899830b07151c.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_3b1580f360483c742122f8087676720f27ba2b34.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_fea7cb1d2af11e600ac82fcdb1acd6578b13a578.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_3e79155d3fcac6d4b019a83efbf13d306defcc9b.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_8ec242f72beaf147de754b0663df9c35d214e70d.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_c6b30120b4e1ff8b6f0f20c08eb3e7ad8e9f7f35.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_4d34c99669eb45e67adbad555d082da479c17778.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_a36dd07bffc3691deb39a76f411a2535dd600758.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_eb21366ec3a30ccde04a78ec584f9f51ed1ca727.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_464f49c962dd1bef796651a9d845be77eed16274.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_491ce4eafd34970db9142419c2959f9e87d279a7.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_f77fc250dd25e2f10d05a19e36b8275a80cdf0d9.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_9090877bf88eb0b0896f69cafc465c03a9c2229d.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_dec3a7e883b806280ef90fd2804050d4727db28c.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_ac6c7f312817d9805a372e3fd72c516c35f30836.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_2a2f25166d52478eed005f065d059d8c6728eb46.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_526588448728d40d45d8b6d69f5cc14223ff1223.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_a721c9fc60583ccd57a14b2d92f0f5e2f5b8a69a.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_c7d47ee969c2a6165719b9f2e551459960dbcc9d.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_5d6a4ed1be231d0d18e093e6b3bc9d371779ae44.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_f779221839c40078ea0951a840dc7321eaade02d.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_e02689e926453e2c98dafa5671e6213e1940ebc3.600x338.jpg?t=1731583578","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1209460/ss_cd38b9f9c664a8bb498e401cb0f65a6d677cafa6.600x338.jpg?t=1731583578"]},
86
+ {"id": 3, "name": "Euro Truck Simulator 2 - Road to the Black Sea", "desc": "通往黑海之路带来欧洲三处新地区。驾驶员们将能够拓展公司及货运至以特兰西瓦尼亚森林地区及其周边喀尔巴阡山脉而闻名的罗马尼亚,拥有多样地形及黑海海岸线的保加利亚,以及作为通往欧洲最大城市——伊斯坦布尔的门户的土耳其色雷斯地区。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/header_schinese.jpg?t=1731583834", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/page_bg_generated_v6b.jpg?t=1731583834", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/page_bg_generated_v6b.jpg?t=1731583834", "init_price": 78.00, "discount": 0, "final_price": 78.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_609f6aed2fa6d960214d81b726d9545d3164445d.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_8df4c34188ec0283c5fbf71069112f4df867d9d3.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_0e8dac751c4bbf9c130490d74dd93586c50cac13.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_c5297e0b8bbabcd266b7baff9ca7a7d38ccaa33e.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_cd3d800845b0f4bcf4adbb37e9661276deb6b250.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_6a035483c5a2533699ff5e60fe5a1cb104133b40.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_0e74036e6ab727a03251b911ec861fdb3b0b7193.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_7a4050b6c0274c32adf81279f6c57a3584b41500.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_ec1a981b66220829c504f74b2a74069f8a1c6dfa.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_476196585c3488f595ecec0efdace6c896dd58fa.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_ae070b5a12b3a0619289d8249b4b97c7664b0a34.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_a61cc87331a040105d7aab93829c07224a990f5a.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_b24174ba4da8a8ef6e8c2c350da829ec827c82f5.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_7f3def3f8754d35389ee3ad02b6f0ff55a7789fa.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_2c84fbca54cd7399bc4d7421eeece7a59ec4fee6.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_7013340dc4fefe5bb801db72addcf6a7c3909fcf.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_e645284577226997b863412ae7b15254beb4e36d.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_5d3560aa195c17b6550bd9d84ab25c68eb85f7f5.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_7bab8198f17b140170f94becaf98124b8619dd59.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_0e0102fb31ee838539aa168f915d182f2acf9486.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_b392efc439c4392829b83bee444290e3f15b78ce.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_f1fdd9f1a1bcb8d1012d074319a886df9d389164.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_b5609555ba767726d75306df423c0ce3c589c273.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_de998fa7c783a85bc95bbf0e376a8b7931ba2ff1.600x338.jpg?t=1731583834","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1056760/ss_bdda17132a1abf575cf49c6c888f9bbe7749c634.600x338.jpg?t=1731583834"]},
87
+ {"id": 4, "name": "Euro Truck Simulator 2 - Beyond the Baltic Sea", "desc": "波罗的海彼岸DLC为欧洲卡车模拟2带来立陶宛、拉脱维亚和爱沙尼亚这几个国家的地图,此外,还有俄罗斯西部、芬兰南部的部分地区。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/header_schinese.jpg?t=1731584022", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/page_bg_generated_v6b.jpg?t=1731584022", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/page_bg_generated_v6b.jpg?t=1731584022", "init_price": 78.00, "discount": 0, "final_price": 78.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_66ac4766b71e1b337129cf0364a30c6109096846.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_3f9aca1acba63c38dbff81979fdebc38863ce0bb.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_2b736fb82258eb545dbfcc7c19a4d1126aa8f974.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_3767d91dc816245b8172185764551aa94dd9cb8c.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_7b5b6c1bb7815ccca05c1b4aecac90b4de8df13d.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_959856f7dc9c9d22e432d77fbcef726dc715ee09.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_a6d5af26b9692c1c791d6b4588676dec89a5c2af.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_fb9acb8a8a5a6273892e21dd6869e28feca8c128.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_13675325bcefd452125d4d750c8d183b79b793e5.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_0aa5e06f3909ff45f6d0683e05d43d22249d5e5d.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_633568bf9043d52eecbb7c6b846ca2507cdd8e2e.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_fd77af450bbce1c441e080c01ca61d9c375a302d.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_35af27ad8ac1449cfd2ac1a3ad5e4419d9faa28c.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_25ef505e3174139a3f31d9d709af1ca618e6beed.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_3758d63e7397a6838fdba8346d4d5911a52bcd1a.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_02a8471dd3c439f5c538722980cecac83997dbd9.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_92e0b8a6d524af54854387703c7ee1ed7f0eafc0.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_944abc6ac7d9bc0b087e08a95d34c3d539b489e3.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_8679b69cc6155562d2fca5ca957628fda8cd8d7d.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_1be86ff74ad907edbf5a1edf7a58aeafb84a608f.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_cad3ab5c11811fd52ea314d8d3bfdec6ca553b99.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_76ac1727fcada744e9e1e3903517d8c7a774ef81.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_372751586cc10c0052f8f9e65310bf91e413f78e.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_70e8633c799107a98500b7de21502c413bbb3161.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_a6821b25805af17bf34f14121aadfec4f06602d3.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_e2ee594229135ced870215273965ad8daf3877c6.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_79f6c6826f9ce14d76b59382d1acdaff9c720738.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_55e6f9ca19061f46f1509dc996fe21b2d142dcd8.600x338.jpg?t=1731584022","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/925580/ss_05b76f92b8f43d9773666b6e2d594e9ee9c329dd.600x338.jpg?t=1731584022"]},
88
+ {"id": 5, "name": "Euro Truck Simulator 2 - Italia", "desc": "意大利 DLC 进一步扩展欧洲卡车模拟2游戏世界,伴随丰富的历史、现代产业、传统建筑及多样的自然环境,SCS Software 重现这个美丽的欧洲国家——意大利。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/header.jpg?t=1731584111", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/page_bg_generated_v6b.jpg?t=1731584111", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/page_bg_generated_v6b.jpg?t=1731584111", "init_price": 78.00, "discount": 0, "final_price": 78.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_af2963b3a38bfc5bed7f84a9c68d8beb7a82420b.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_8b0114d9205e0c32bfc8f6c302774a04078f29ea.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_68212d77b941d4e31749a1a6fa19d948debe6d1d.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_96cdc114267c9e07144ff7bc331692c25a093054.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_8eaab303a1d7f50d7c27ca67200992373c8122f7.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_97a0485b1162d4747d2a2613ee07ac727b1ee4df.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_1990df3c2ef9d3105c9e224f4fce7bb208cd072a.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_22e2fa45c7f1371a725d7d3af285cae3513c1248.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_5944fa13a71415c8423845759242f951372442b0.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_d38a0da211027338b17a25fa3db5819802074ff8.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_f533ab2d1f776e3c1496013dd7b9e2a40a01f46e.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_29784736f3e4a42166fff524dc4987f34056e22b.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_ad8634339d650104cef7b626792651910ec2355b.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_d2acf9a1f052b79b97253815c3bdb45d227504ec.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_5b2a75ede35ebd061c9b0bcc4261e046953cafa2.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_ca8f109908a201a0dad4f9fab4d1c257470076d3.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_014e16b2bb36896d8419a60142046d7f18ab7cb0.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_75fc12ead1ee610e6f44fa09cb22cc88b89e9c0d.600x338.jpg?t=1731584111","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/558244/ss_ceda6c350db3e7c5742eefbbce83896371568c46.600x338.jpg?t=1731584111"]},
89
+ {"id": 6, "name": "Euro Truck Simulator 2 - Vive la France !", "desc": "《Vive la France !》是《Euro Truck Simulator 2》的大型地图扩展包。 在工业化城市宽阔的林荫大道和偏远村镇的狭窄街区徜徉。从北到南,领略不同的地貌与植被,体验独特的法式户外风情。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/header.jpg?t=1733308938", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/page_bg_generated_v6b.jpg?t=1733308938", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/page_bg_generated_v6b.jpg?t=1733308938", "init_price": 78.00, "discount": 0, "final_price": 78.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_0d828f1216c13480337a572db465b6f2fd288a3d.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_fa1a682646d525a7386c4cb8202f8baae92bf7ed.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_fafafc3504c79a713e7e732f9218e24512b23ec4.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_84a4abf681632ef2ef520f70d7f3fdb1c52b767d.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_a81a4c21dac178c2f4a545a550ed74830be9647a.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_1070f45b453dcd532e92509ce98cec82483bb93a.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_23179353389df121bbb42d204682fa11a9c28e85.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_751241eb01a71ebfab2af86ca48508e124a0383f.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_a8c56abb12e4c9a142f520f37bdafcc622675e67.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_e736bc6b34c4d1fc0f0850862352f468ed0640cf.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_1e833a7cde315c5b91d185ffd0c7f16700f2ce3e.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_62542b1b066d4a8a04d5fa42e37078c5ca13f24a.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_91b6eb73961717d69d3b57703f5232b4a700762c.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_89ef0d4721374e72bc1a54e1e2a606a3d886cb6f.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_c8e41dc830149849af82dc3cd53adbaea4029e17.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_5262bc18dca6f2fc360a75f19ea436c8570d53d6.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_c21f57bc38c24d466fa8bc773a26cebaeae07f1a.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_636699019725f3e13950d5ab614c476cfdac16f3.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_83cf72d60983b2c3c4b0637848d97507394eff5a.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_b3a9eb050aff55acc4627db3d369ffbd7fbded07.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_3cc3eaec5dca60912df276ed82313de77ccaf143.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_64f15999f69862278886f22e191a32683eaeb6c9.600x338.jpg?t=1733308938","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/531130/ss_ba0f451a6ee371d3f6970419eedbf4e8fb5db624.600x338.jpg?t=1733308938"]},
90
+ {"id": 7, "name": "Euro Truck Simulator 2 - Scandinavia", "desc": "本次地图扩展包囊括瑞典、挪威和丹麦三国,为您带来绵长秀丽、风景如画的道路,以及遍布北欧三国的众多地标景点。全新的渡轮码头让您可以直接驾驶卡车登上渡轮,方便您前往沿海城市,还可以使用全新航线,前往德国北部、波兰和英国的港口。探索包括斯德哥尔摩、马尔默、哥德堡、奥斯陆、斯塔万格、卑尔根、哥本哈根、奥尔堡和埃斯比约在内的 27 座斯堪的纳维亚城市。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/header.jpg?t=1731584398", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/page_bg_generated_v6b.jpg?t=1731584398", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/page_bg_generated_v6b.jpg?t=1731584398", "init_price": 78.00, "discount": 0, "final_price": 78.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_2368e04ac29ed068abef5e9238201ebd809f81f2.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_c1c6d8379c1f3ff3f055bb6d153a061c6e0f69cd.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_22c657ab42457c2e3dc8f40f91e695568aab19df.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_886292ff8566b47c46828f632cc878da6fba54d2.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_980e9b5a8c814e1b605aa190cd235a11137c43d5.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_5fe60f929de8aefbe8230566cce9affa0ecd73df.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_8a00c9e60979bc3cf4edbbc9ca71c9d3d38904bb.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_7328db37cd23765f49f7f1deb8d5d3a50d68ce5f.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_fe033ec40e84c0ffb2c739810323852bef6665c3.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_196c86ed1360e7d1960fcd6cd1f59286bccc399e.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_51f88093a1e6de1e6e653c7a5e7d7402a2361dc5.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_2b138aa33fe82de6b8c1c5a13ad92747baa4e25e.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_89e71beebff0ea3221ca3d75f71afd03d541c5cd.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_5da06bfff5d0a841bea5d40593eeb5f0dfe5784b.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_e6444f18b3fedb6c5d438be34fe0b45f9d3d1ac4.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_e77ab5133db6a27bc4631d572f28ab598472c9f9.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_23cd9d76612567ae9c93584334238b5ba745553d.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_89cfb0b014c43d520ea780ef080f164bad8fcbce.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_79dcf2ca232518e23dc4e8ec55123e5cf3cec1cc.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_e077b3cbbc0d40752695702cf1c4882bb9fdc6d3.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_d933fb3f7ae391a4d1e86528092370bb08c3513a.600x338.jpg?t=1731584398","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/304212/ss_a4734b2fbace59f67474576f47ca3d3348aad892.600x338.jpg?t=1731584398"]},
91
+ {"id": 8, "name": "Euro Truck Simulator 2 - Going East!", "desc": "《Going East!》扩展包扩展了《Euro Truck Simulator 2》中的地图,新增了波兰、捷克、斯洛伐克和匈牙利境内的货运目的地。特色:在游戏中驾驶逾 20 小时来探索全新的区域包括华沙、克拉科夫、斯特拉瓦、布达佩斯、科希策等城市在内的 13 个新增城市许多窄路、山道和正在维修的道路等您来挑战,检验您的驾驶技术", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/header.jpg?t=1731584535", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/page_bg_generated_v6b.jpg?t=1731584535", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/page_bg_generated_v6b.jpg?t=1731584535", "init_price": 45.00, "discount": 0, "final_price": 45.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_86d55a657e69ae570208dd3a8646d639cacf367c.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_2e7648274fd01fb5b6ee87563736b1c6518c58dc.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_2dbb55879d096ac1f3e8ada7121dc0708b220948.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_c63cdb6ab12e43b56eac72150cacda18e5c4db31.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_648a48a47c93ba4c065c71645bd284df98a290bd.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_442177ec882f9b2c127d5eff14677ce6aa4481cd.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_af11938793af406dcd21e554e905da70decb0df5.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_b563889f05a68eaea5c08850bb7eb36568656ca8.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_0cd7d2aec6e1c6c0d699fed8be1180ec7f9ca4b1.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_2dc4ad08c332166ff2e11da4aee968879fa18518.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_dff1a882889780ce977b7b4752a11502d219fb5f.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_03952524564d2ef31fbb5ed62c95fc4b5444523d.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_cac79e5ea183c1bdfa3a8178f5a508925dc23cac.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_72c9f78eaf10ac15f2ff18ad43680dac3f4c0631.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_018a1aaaed8bb6cdfe9b638b0ad7475c0c88b51c.600x338.jpg?t=1731584535","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/227310/ss_4942751b37f00093f2f0de3bd9aca6566881e5c0.600x338.jpg?t=1731584535"]},
92
+ {"id": 9, "name": "Euro Truck Simulator 2 - West Balkans", "desc": "探索,运输,拓展你们的货运公司至阿尔巴尼亚、波黑、克罗地亚、科索沃、黑山、北马其顿、塞尔维亚、斯洛文尼亚。", "header_image_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/header_schinese.jpg?t=1731584650", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/page_bg_generated_v6b.jpg?t=1731584650", "background_url": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/page_bg_generated_v6b.jpg?t=1731584650", "init_price": 78.00, "discount": 0, "final_price": 78.00, "screenshot_url": ["https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_671b9a1ba60a843cd8faa3432f7ce57f2bee204a.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_9cfde4ed121d4f85e0108bf46f11e4a1ab3a0aea.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_ef2a6b28f3535265c021b0b01de2211db9e3c0dd.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_1b9a4ec443b874393db0c1cd5ed59ca9feaa3901.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_1ec41b7de5586f67ad0242591e6cfb5cf51fe11d.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_ab2b211e776283ba7c0269d5a5107f231a767752.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_b44b899838e1320c2c4da22a509480749ccd628c.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_2e28842cbe27515cc186d40eefc4ac004a92c2b6.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_33d443f0c71f50710aa5db4c9f24f37c7415f851.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_41c8a4b3d22bfb4d1dd95fa8a5ee1b5a0ca60df2.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_8ede5c4d177281ee66e57e8d88129f68dfb40dca.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_6689a9c3e5e94be1b28cda49eece9b2e60674f69.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_18442ccd9492b9d336150778d5a0c53c32e3a87f.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_41f0a8d6ce8188e6fd66caf36c8c8a22cd9111d0.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_f94993775b41a54939382417f17ae831fbec012a.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_a123e11afa0a9b75a1f1672c1e9b05673ccc3f0b.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_b0a30b4baf97651dceedc9e49d442cdaf2c5835e.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_4f2d04d31451b0e37d15ee96ea72fb43a5f53025.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_170f940215b2a8281f6c95172da04520111a6598.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_ddf38d27a2502639da46461329b44bc85cfff22e.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_e3b9e11305d749eb7d97e418c0b137f28bc5b244.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_6364176f38664fa58412158ad6efcdc01dd85b97.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_7074b7d8695873a32ea0d3639ca4a979c65c975f.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_6e391aaff1f4f91a2a5429b768ca411eeaaa1c28.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_0486d6f4fca26f634737b46690b53e3c472bf902.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_e13180c8b90bcf7be3b5fb76f3b6a6b2329daa55.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_5cce8918cfc80059ffa7d7a4ec5e07bb164570c4.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_1f0a1115b2aa4bb5cd233a991ea64677b68053d0.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_811fe0bf36988e8e03b4ab04d189158288fc76ed.600x338.jpg?t=1731584650","https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/2004210/ss_924be5979571a8e74f27b265ddf142d3be0e9dff.600x338.jpg?t=1731584650"]}];
93
+
94
+ // 遍历渲染DLC列表
95
+ for (let dlc of dlcList) {
96
+ let dom = document.createElement(`div`);
97
+ dom.className = 'dlc-box';
98
+ dom.style.backgroundImage = `url('${dlc.background_url}')`;
99
+
100
+ let priceDiscountDom = ''
101
+ if (dlc.discount > 0) {
102
+ priceDiscountDom = `
103
+ <span class="discount-price">¥${dlc.init_price}</span>
104
+ <span class="discount">-${dlc.discount}%</span>
105
+ `;
106
+ }
107
+
108
+ dom.innerHTML = `
109
+ <img class="header-image" src="${dlc.header_image_url}"/>
110
+ <div class="dlc-info">
111
+ <div class="name">${dlc.name}</div>
112
+ <div class="desc">${dlc.desc}</div>
113
+ <div class="price-box">
114
+ <span>¥${dlc.final_price}</span>
115
+ ${priceDiscountDom}
116
+ </div>
117
+ </div>
118
+ `;
119
+
120
+ document.querySelector('#dlc-info-container').appendChild(dom);
121
+ }
122
+ </script>
123
+ </body>
124
+ </html>
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.13.0",
4
+ "version": "1.14.1",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "homepage": "https://github.com/79887143/koishi-plugin-tmp-bot",
package/readme.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/koishi-plugin-tmp-bot?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-tmp-bot)
4
4
 
5
- # 欧洲卡车模拟2 TMP查询机器人
5
+ 欧洲卡车模拟2 TMP查询机器人
6
6
 
7
- ## 指令说明
7
+ ### 指令说明
8
8
  | 指令名称 | 指令介绍 | 使用示例 |
9
9
  |--------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
10
10
  | tmpbind | 绑定 TMPID,绑定后使用其他指令时可省略输入 | tmpbind 123 |
@@ -14,3 +14,11 @@
14
14
  | tmpserverats | 查询美卡服务器信息列表 | tmpserverats |
15
15
  | tmpserverets | 查询欧卡服务器信息列表 | tmpserverets |
16
16
  | tmpversion | 查询版本信息 | tmpversion |
17
+ | tmpdlcmap | 地图DLC列表 | tmpdlcmap |
18
+
19
+ ### 已部署的机器人
20
+ 如不会部署,可直接使用下方已经部署好的机器人
21
+
22
+ | QQ机器人,添加好友拉群(需要等待我同意请求) | 官方机器人 |
23
+ |----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
24
+ | <img src="https://www.helloimg.com/i/2025/01/20/678da69e7a4da.jpg" width="380" alt="QQ机器人"/> | <img src="https://www.helloimg.com/i/2025/01/20/678da69ecfe34.jpg" width="380" alt="官方机器人"/> |