@jx3box/jx3box-ui 2.4.28 → 2.4.30

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.
@@ -129,7 +129,7 @@
129
129
  "lf": false,
130
130
  "img": "battle.svg",
131
131
  "abbr": "战 斗",
132
- "href": "/battle/",
132
+ "href": "/combat",
133
133
  "mark": "ING",
134
134
  "name": "战斗分析",
135
135
  "uuid": "battle",
@@ -142,10 +142,10 @@
142
142
  {
143
143
  "lf": false,
144
144
  "img": "dbm.svg",
145
- "abbr": "构 建",
145
+ "abbr": "插 件",
146
146
  "href": "/dbm/",
147
147
  "mark": "ING",
148
- "name": "数据构建",
148
+ "name": "插件数据",
149
149
  "uuid": "dbm",
150
150
  "hover": "dbm.svg",
151
151
  "client": "all",
@@ -72,17 +72,17 @@
72
72
  "parentKey": "bps"
73
73
  },
74
74
  {
75
- "key": "jcl",
76
- "link": "/jcl/",
75
+ "key": "combat",
76
+ "link": "/combat",
77
77
  "label": "战斗分析",
78
78
  "client": "all",
79
79
  "status": true,
80
80
  "parentKey": "bps"
81
81
  },
82
82
  {
83
- "key": "battle",
84
- "link": "/battle/",
85
- "label": "战斗统计",
83
+ "key": "dps",
84
+ "link": "/bps/dps",
85
+ "label": "伤害计算",
86
86
  "client": "all",
87
87
  "status": true,
88
88
  "parentKey": "bps"
@@ -289,7 +289,7 @@
289
289
  },
290
290
  {
291
291
  "key": "treasure",
292
- "link": "/pvx/codex/adventure",
292
+ "link": "/pvx/adventure",
293
293
  "label": "奇遇珍卷",
294
294
  "client": "all",
295
295
  "status": true,
@@ -297,7 +297,7 @@
297
297
  },
298
298
  {
299
299
  "key": "achievement",
300
- "link": "/pvx/codex/achievement",
300
+ "link": "/pvx/achievements",
301
301
  "label": "资历宝典",
302
302
  "client": "all",
303
303
  "status": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.4.28",
3
+ "version": "2.4.30",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2,6 +2,7 @@ import { $cms } from "@jx3box/jx3box-common/js/api";
2
2
  import { isMiniProgram, isApp } from "@jx3box/jx3box-common/js/utils";
3
3
  import User from "@jx3box/jx3box-common/js/user";
4
4
  import { applyJx3boxClientStatRules } from "./client-stat-business";
5
+ import { DEFAULT_BLOCK_STORAGE_KEY } from "./traffic-analytics";
5
6
  import packageInfo from "../../package.json";
6
7
 
7
8
  const INSTANCE_ID_KEY = "jx3box:device_id";
@@ -15,8 +16,8 @@ const STARTUP_DELAY_MAX = 15 * 1000;
15
16
 
16
17
  let reportTask = null;
17
18
  let scheduledTimer = null;
18
- let trafficPermission = null;
19
- let trafficPermissionCheckedAt = 0;
19
+ let pendingIdentity = null;
20
+ const PERMISSION_KEY = "jx3box:client-stat-permission:v1";
20
21
  const TRAFFIC_PERMISSION_MAX_AGE = 5 * 60 * 1000;
21
22
 
22
23
  function compactPayload(payload) {
@@ -222,11 +223,28 @@ function getReportSignature() {
222
223
  }
223
224
 
224
225
  export async function reportClientStat({ force = false } = {}) {
225
- if (reportTask) return reportTask;
226
+ const today = chinaDate();
227
+ const signature = getReportSignature();
228
+ const instance = ensureClientInstanceId();
229
+ const identity = JSON.stringify([today, signature, instance]);
230
+ if (reportTask) {
231
+ if (identity === pendingIdentity) return reportTask;
232
+ await reportTask.catch(() => null);
233
+ return reportClientStat({ force });
234
+ }
226
235
 
236
+ pendingIdentity = identity;
227
237
  reportTask = (async () => {
228
- const today = chinaDate();
229
- const signature = getReportSignature();
238
+ let cached;
239
+ try {
240
+ cached = JSON.parse(localStorage.getItem(PERMISSION_KEY));
241
+ } catch (_) { /* 旧值损坏时重新向服务端确认。 */ }
242
+ if (cached?.identity === identity && cached.until > Date.now()) {
243
+ if (!cached.gate) return { reported: false, reason: "cooldown" };
244
+ if (cached.gate.traffic_allowed === false || !localStorage.getItem(DEFAULT_BLOCK_STORAGE_KEY)) {
245
+ return { reported: false, data: cached.gate };
246
+ }
247
+ }
230
248
  if (
231
249
  !force &&
232
250
  localStorage.getItem(REPORT_DATE_KEY) === today &&
@@ -235,14 +253,24 @@ export async function reportClientStat({ force = false } = {}) {
235
253
  return { reported: false, reason: "already_reported" };
236
254
  }
237
255
 
238
- const payload = buildClientStatPayload(ensureClientInstanceId());
239
- const response = await $cms({ mute: true }).post("/api/cms/system/stat/heartbeat", payload, {
240
- timeout: 10000,
241
- skipForbiddenSessionClear: true,
242
- });
256
+ const payload = buildClientStatPayload(instance);
257
+ let data;
258
+ try {
259
+ const response = await $cms({ mute: true }).post("/api/cms/system/stat/heartbeat", payload, {
260
+ timeout: 10000,
261
+ skipForbiddenSessionClear: true,
262
+ });
263
+ data = response?.data?.data;
264
+ } finally {
265
+ const gate = typeof data?.traffic_allowed === "boolean"
266
+ ? { traffic_allowed: data.traffic_allowed, blocked: data.blocked || null }
267
+ : null;
268
+ const ttl = gate ? TRAFFIC_PERMISSION_MAX_AGE : 60000 + Math.floor(Math.random() * 60000);
269
+ localStorage.setItem(PERMISSION_KEY, JSON.stringify({ identity, gate, until: Date.now() + ttl }));
270
+ }
243
271
  localStorage.setItem(REPORT_DATE_KEY, today);
244
272
  localStorage.setItem(REPORT_SIGNATURE_KEY, signature);
245
- return { reported: true, data: response?.data?.data || null, payload };
273
+ return { reported: true, data: data || null, payload };
246
274
  })().finally(() => {
247
275
  reportTask = null;
248
276
  });
@@ -250,22 +278,15 @@ export async function reportClientStat({ force = false } = {}) {
250
278
  return reportTask;
251
279
  }
252
280
 
253
- export async function resolveClientTrafficPermission({ force = false } = {}) {
254
- if (!force && trafficPermission && Date.now() - trafficPermissionCheckedAt < TRAFFIC_PERMISSION_MAX_AGE) {
255
- return trafficPermission;
256
- }
281
+ export async function resolveClientTrafficPermission() {
257
282
  try {
258
- const result = await reportClientStat({ force: true });
259
- const data = result?.data;
260
- if (data && typeof data.traffic_allowed === "boolean") {
261
- trafficPermission = data;
262
- trafficPermissionCheckedAt = Date.now();
263
- return data;
264
- }
265
- } catch (error) {
266
- // Traffic remains fail-closed when heartbeat cannot confirm permission.
283
+ let result = await reportClientStat({ force: true });
284
+ // 并发的普通日检可能只返回“今天已报”;此时仍需取得显式许可。
285
+ if (result.reason === "already_reported") result = await reportClientStat({ force: true });
286
+ return typeof result.data?.traffic_allowed === "boolean" ? result.data : null;
287
+ } catch (_) {
288
+ return null;
267
289
  }
268
- return null;
269
290
  }
270
291
 
271
292
  function isLocalhost() {
@@ -0,0 +1,43 @@
1
+ const assert = require("node:assert/strict");
2
+ const test = require("node:test");
3
+ const fs = require("node:fs");
4
+ const path = require("node:path");
5
+ const vm = require("node:vm");
6
+
7
+ test("reuses a confirmed permission across page loads and cools down failed requests per identity", async () => {
8
+ const values = new Map([["jx3box:device_id", "fixture-id"]]);
9
+ let uid = 0;
10
+ let requests = 0;
11
+ let fail = false;
12
+ const source = fs.readFileSync(path.join(__dirname, "../src/utils/client-stat.js"), "utf8")
13
+ .replace(/^import .+;$/gm, "").replace(/^export /gm, "");
14
+ function load() {
15
+ const context = {
16
+ window: { location: { hostname: "test.jx3box.com", search: "" } },
17
+ document: {}, URLSearchParams, packageInfo: { version: "test" },
18
+ DEFAULT_BLOCK_STORAGE_KEY: "block",
19
+ User: { isLogin: () => !!uid, getInfo: () => ({ uid }) },
20
+ localStorage: { getItem: k => values.get(k) ?? null, setItem: (k, v) => values.set(k, v) },
21
+ isApp: () => false, isMiniProgram: () => false, applyJx3boxClientStatRules: v => v,
22
+ $cms: () => ({ post: async () => {
23
+ requests++;
24
+ if (fail) throw Error("offline");
25
+ return { data: { data: { traffic_allowed: true } } };
26
+ } }),
27
+ };
28
+ return vm.runInNewContext(source + "\nresolveClientTrafficPermission;", context);
29
+ }
30
+
31
+ assert.equal((await load()()).traffic_allowed, true);
32
+ assert.equal((await load()()).traffic_allowed, true);
33
+ assert.equal(requests, 1);
34
+ values.set("block", "robot");
35
+ fail = true;
36
+ assert.equal(await load()(), null);
37
+ assert.equal(await load()(), null);
38
+ assert.equal(requests, 2);
39
+ uid = 10;
40
+ fail = false;
41
+ assert.equal((await load()()).traffic_allowed, true);
42
+ assert.equal(requests, 3);
43
+ });
@@ -1,606 +0,0 @@
1
- [
2
- {
3
- "name": "门派(职业)",
4
- "icon": "",
5
- "children": [
6
- {
7
- "name": "创作",
8
- "icon": "",
9
- "children": [
10
- {
11
- "name": "全门派宏",
12
- "href": "/macro/",
13
- "client": "all",
14
- "status": true,
15
- "hasMark": false,
16
- "markcls": "ishot"
17
- },
18
- {
19
- "name": "门派攻略",
20
- "href": "/bps/",
21
- "client": "all",
22
- "status": true,
23
- "hasMark": false,
24
- "markcls": "ishot"
25
- }
26
- ]
27
- },
28
- {
29
- "name": "数据",
30
- "children": [
31
- {
32
- "name": "技能系数",
33
- "href": "/bps/#/skill",
34
- "client": "all",
35
- "status": true,
36
- "hasMark": false,
37
- "markcls": "ishot"
38
- },
39
- {
40
- "name": "技能数据",
41
- "href": "/bps/#/raw",
42
- "client": "all",
43
- "status": true,
44
- "hasMark": false,
45
- "markcls": "ishot"
46
- },
47
- {
48
- "name": "源码分析",
49
- "href": "/fb/#/lua",
50
- "client": "all",
51
- "status": true,
52
- "hasMark": false,
53
- "markcls": "ishot"
54
- },
55
- {
56
- "name": "秘籍大全",
57
- "href": "/bps/#/recipe",
58
- "client": "all",
59
- "status": true,
60
- "hasMark": false,
61
- "markcls": "ishot"
62
- },
63
- {
64
- "name": "技能合集",
65
- "href": "/bps/#/collection",
66
- "client": "all",
67
- "status": true,
68
- "hasMark": false,
69
- "markcls": "ishot"
70
- }
71
- ]
72
- },
73
- {
74
- "name": "工具",
75
- "children": [
76
- {
77
- "name": "配装器",
78
- "href": "/pz/",
79
- "client": "all",
80
- "status": true,
81
- "hasMark": false,
82
- "markcls": "ishot"
83
- },
84
- {
85
- "name": "急速阈值",
86
- "href": "/bps/#/haste",
87
- "client": "std",
88
- "status": true,
89
- "hasMark": false,
90
- "markcls": "ishot"
91
- },
92
- {
93
- "name": "奇穴模拟器",
94
- "href": "/app/talent/",
95
- "client": "std",
96
- "status": true,
97
- "hasMark": false,
98
- "markcls": "ishot"
99
- },
100
- {
101
- "name": "镇派模拟器",
102
- "href": "/app/talent2/",
103
- "client": "origin",
104
- "status": true,
105
- "hasMark": false,
106
- "markcls": "ishot"
107
- },
108
- {
109
- "name": "DPS计算器",
110
- "href": "/bps/#/dps",
111
- "client": "all",
112
- "status": true,
113
- "hasMark": false,
114
- "markcls": "ishot"
115
- },
116
- {
117
- "name": "宏编辑器",
118
- "href": "/app/macroeditor/",
119
- "client": "all",
120
- "status": true,
121
- "hasMark": false,
122
- "markcls": "ishot"
123
- }
124
- ]
125
- }
126
- ]
127
- },
128
- {
129
- "name": "秘境(副本)",
130
- "icon": "",
131
- "children": [
132
- {
133
- "name": "创作",
134
- "icon": "",
135
- "children": [
136
- {
137
- "name": "副本攻略",
138
- "href": "/fb/",
139
- "client": "all",
140
- "status": true,
141
- "hasMark": false,
142
- "markcls": "ishot"
143
- },
144
- {
145
- "name": "副本成就",
146
- "href": "/fb/#/cj",
147
- "client": "all",
148
- "status": true,
149
- "hasMark": false,
150
- "markcls": "ishot"
151
- }
152
- ]
153
- },
154
- {
155
- "name": "数据",
156
- "children": [
157
- {
158
- "name": "首领数据",
159
- "href": "/fb/#/npc",
160
- "client": "all",
161
- "status": true,
162
- "hasMark": false,
163
- "markcls": "ishot"
164
- },
165
- {
166
- "name": "特殊机制",
167
- "href": "/fb/#/attr",
168
- "client": "all",
169
- "status": true,
170
- "hasMark": false,
171
- "markcls": "ishot"
172
- },
173
- {
174
- "name": "秘境掉落",
175
- "href": "/fb/#/drop",
176
- "client": "all",
177
- "status": true,
178
- "hasMark": false,
179
- "markcls": "ishot"
180
- },
181
- {
182
- "name": "瑰石查询",
183
- "href": "/fb/#/gem",
184
- "client": "all",
185
- "status": true,
186
- "hasMark": false,
187
- "markcls": "ishot"
188
- },
189
- {
190
- "name": "八荒模拟",
191
- "href": "/app/bhhj",
192
- "client": "origin",
193
- "status": true,
194
- "hasMark": false,
195
- "markcls": "ishot"
196
- }
197
- ]
198
- },
199
- {
200
- "name": "工具",
201
- "children": [
202
- {
203
- "name": "团队平台",
204
- "href": "/team/",
205
- "client": "all",
206
- "status": true,
207
- "hasMark": false,
208
- "markcls": "ishot"
209
- },
210
- {
211
- "name": "战斗分析",
212
- "href": "/battle/#/public",
213
- "client": "all",
214
- "status": true,
215
- "hasMark": false,
216
- "markcls": "ishot"
217
- }
218
- ]
219
- }
220
- ]
221
- },
222
- {
223
- "name": "插件与工具",
224
- "icon": "",
225
- "children": [
226
- {
227
- "name": "数据",
228
- "icon": "",
229
- "children": [
230
- {
231
- "name": "插件数据下载",
232
- "href": "/jx3dat/#/plugins",
233
- "client": "all",
234
- "status": true,
235
- "hasMark": false,
236
- "markcls": "ishot"
237
- },
238
- {
239
- "name": "剑三数据库",
240
- "href": "/app/database/",
241
- "client": "all",
242
- "status": true,
243
- "hasMark": false,
244
- "markcls": "ishot"
245
- },
246
- {
247
- "name": "图标大全",
248
- "href": "/app/icons/",
249
- "client": "all",
250
- "status": true,
251
- "hasMark": false,
252
- "markcls": "ishot"
253
- }
254
- ]
255
- },
256
- {
257
- "name": "工具",
258
- "children": [
259
- {
260
- "name": "开服监控",
261
- "href": "/app/servers2/",
262
- "client": "all",
263
- "status": true,
264
- "hasMark": false,
265
- "markcls": "ishot"
266
- },
267
- {
268
- "name": "金价走势",
269
- "href": "/app/price/",
270
- "client": "all",
271
- "status": true,
272
- "hasMark": false,
273
- "markcls": "ishot"
274
- },
275
- {
276
- "name": "物价大全",
277
- "href": "/pvg/item_price",
278
- "client": "all",
279
- "status": true,
280
- "hasMark": false,
281
- "markcls": "ishot"
282
- },
283
- {
284
- "name": "技艺助手",
285
- "href": "/pvg/manufacture",
286
- "client": "all",
287
- "status": true,
288
- "hasMark": false,
289
- "markcls": "ishot"
290
- },
291
- {
292
- "name": "科举题库",
293
- "href": "https://j3cx.com/exam/",
294
- "client": "all",
295
- "status": true,
296
- "hasMark": false,
297
- "markcls": "ishot"
298
- },
299
- {
300
- "name": "工具社区",
301
- "href": "/tool/",
302
- "client": "all",
303
- "status": true,
304
- "hasMark": false,
305
- "markcls": "ishot"
306
- }
307
- ]
308
- }
309
- ]
310
- },
311
- {
312
- "name": "竞技(PvP)",
313
- "icon": "",
314
- "children": [
315
- {
316
- "name": "工具",
317
- "children": [
318
- {
319
- "name": "沙盘查询",
320
- "href": "/pvp/sandbox",
321
- "client": "all",
322
- "status": true,
323
- "hasMark": false,
324
- "markcls": "ishot"
325
- }
326
- ]
327
- }
328
- ]
329
- },
330
- {
331
- "name": "资历与百科",
332
- "icon": "",
333
- "children": [
334
- {
335
- "name": "创作",
336
- "icon": "",
337
- "children": [
338
- {
339
- "name": "成就百科",
340
- "href": "/cj/",
341
- "client": "all",
342
- "status": true,
343
- "hasMark": false,
344
- "markcls": "ishot"
345
- },
346
- {
347
- "name": "物品百科",
348
- "href": "/item/",
349
- "client": "all",
350
- "status": true,
351
- "hasMark": false,
352
- "markcls": "ishot"
353
- },
354
- {
355
- "name": "任务百科",
356
- "href": "/quest/",
357
- "client": "all",
358
- "status": true,
359
- "hasMark": false,
360
- "markcls": "ishot"
361
- }
362
- ]
363
- },
364
- {
365
- "name": "数据",
366
- "children": [
367
- {
368
- "name": "奇遇大全",
369
- "href": "/adventure/",
370
- "client": "all",
371
- "status": true,
372
- "hasMark": false,
373
- "markcls": "ishot"
374
- },
375
- {
376
- "name": "宠物大全",
377
- "href": "/pet/",
378
- "client": "all",
379
- "status": true,
380
- "hasMark": false,
381
- "markcls": "ishot"
382
- },
383
- {
384
- "name": "坐骑大全",
385
- "href": "/horse/",
386
- "client": "all",
387
- "status": false,
388
- "hasMark": false,
389
- "markcls": "ishot"
390
- },
391
- {
392
- "name": "声望大全",
393
- "href": "/reputation/",
394
- "client": "all",
395
- "status": true,
396
- "hasMark": false,
397
- "markcls": "ishot"
398
- },
399
- {
400
- "name": "书籍大全",
401
- "href": "/book/",
402
- "client": "all",
403
- "status": false,
404
- "hasMark": false,
405
- "markcls": "ishot"
406
- }
407
- ]
408
- }
409
- ]
410
- },
411
- {
412
- "name": "外观",
413
- "icon": "",
414
- "children": [
415
- {
416
- "name": "创作",
417
- "children": [
418
- {
419
- "name": "捏脸数据",
420
- "href": "/face/",
421
- "client": "all",
422
- "status": true,
423
- "hasMark": false,
424
- "markcls": "ishot"
425
- },
426
- {
427
- "name": "家园蓝图",
428
- "href": "https://jx3.xoyo.com/zt/2020/09/24/blueprint/#/",
429
- "client": "all",
430
- "status": true,
431
- "hasMark": false,
432
- "markcls": "ishot"
433
- }
434
- ]
435
- },
436
- {
437
- "name": "数据",
438
- "children": [
439
- {
440
- "name": "外观大全",
441
- "href": "/exterior",
442
- "client": "all",
443
- "status": false,
444
- "hasMark": false,
445
- "markcls": "ishot"
446
- },
447
- {
448
- "name": "家具大全",
449
- "href": "/furniture/",
450
- "client": "all",
451
- "status": true,
452
- "hasMark": false,
453
- "markcls": "ishot"
454
- }
455
- ]
456
- },
457
- {
458
- "name": "工具",
459
- "children": [
460
- {
461
- "name": "妆容解析",
462
- "href": "/share/facedata",
463
- "client": "all",
464
- "status": true,
465
- "hasMark": false,
466
- "markcls": "ishot"
467
- },
468
- {
469
- "name": "剑三编辑器",
470
- "href": "https://movieeditor.jx3.xoyo.com/index.html",
471
- "client": "all",
472
- "status": true,
473
- "hasMark": false,
474
- "markcls": "ishot"
475
- }
476
- ]
477
- }
478
- ]
479
- },
480
- {
481
- "name": "茶馆",
482
- "icon": "",
483
- "children": [
484
- {
485
- "name": "创作",
486
- "children": [
487
- {
488
- "name": "交流分享",
489
- "href": "/bbs/",
490
- "client": "all",
491
- "status": true,
492
- "hasMark": false,
493
- "markcls": "ishot"
494
- },
495
- {
496
- "name": "骚话创作",
497
- "href": "/joke",
498
- "client": "all",
499
- "status": true,
500
- "hasMark": false,
501
- "markcls": "ishot"
502
- },
503
- {
504
- "name": "趣图创作",
505
- "href": "/emotion",
506
- "client": "all",
507
- "status": true,
508
- "hasMark": false,
509
- "markcls": "ishot"
510
- }
511
- ]
512
- }
513
- ]
514
- },
515
- {
516
- "name": "剑三大世界",
517
- "icon": "",
518
- "children": [
519
- {
520
- "name": "创作",
521
- "children": [
522
- {
523
- "name": "通识百科",
524
- "href": "/knowledge/",
525
- "client": "all",
526
- "status": true,
527
- "hasMark": false,
528
- "markcls": "ishot"
529
- },
530
- {
531
- "name": "剑三日历",
532
- "href": "/calendar/",
533
- "client": "all",
534
- "status": true,
535
- "hasMark": false,
536
- "markcls": "ishot"
537
- },
538
- {
539
- "name": "剑三考试",
540
- "href": "/exam",
541
- "client": "all",
542
- "status": true,
543
- "hasMark": false,
544
- "markcls": "ishot"
545
- },
546
- {
547
- "name": "剑三铭牌",
548
- "href": "/namespace",
549
- "client": "all",
550
- "status": true,
551
- "hasMark": false,
552
- "markcls": "ishot"
553
- }
554
- ]
555
- }
556
- ]
557
- },
558
- {
559
- "name": "专题与活动",
560
- "icon": "",
561
- "children": [
562
- {
563
- "name": "活动",
564
- "children": [
565
- {
566
- "name": "秘境百强榜",
567
- "href": "/rank/",
568
- "client": "all",
569
- "status": true,
570
- "hasMark": false,
571
- "markcls": "ishot"
572
- }
573
- ]
574
- },
575
- {
576
- "name": "专题",
577
- "children": [
578
- {
579
- "name": "剑三资料片",
580
- "href": "/topic/",
581
- "client": "all",
582
- "status": true,
583
- "hasMark": false,
584
- "markcls": "ishot"
585
- },
586
- {
587
- "name": "剑三欢迎你",
588
- "href": "/topic/welcome",
589
- "client": "all",
590
- "status": false,
591
- "hasMark": false,
592
- "markcls": "ishot"
593
- },
594
- {
595
- "name": "剑与侠道",
596
- "href": "/topic/jianyuxiadao",
597
- "client": "all",
598
- "status": true,
599
- "hasMark": false,
600
- "markcls": "ishot"
601
- }
602
- ]
603
- }
604
- ]
605
- }
606
- ]
@@ -1,29 +0,0 @@
1
- {
2
- "0":"",
3
- "1":"外功气劲",
4
- "2":"外功不利效果",
5
- "3":"阳性气劲",
6
- "4":"阳性不利效果",
7
- "5":"混元气劲",
8
- "6":"混元不利效果",
9
- "7":"阴性气劲",
10
- "8":"阴性不利效果",
11
- "9":"点穴",
12
- "10":"点穴不利效果",
13
- "11":"毒性气劲",
14
- "12":"毒性不利效果",
15
- "13":"蛊",
16
- "14":"蛊不利效果",
17
- "15":"药石",
18
- "16":"药石不利效果",
19
- "17":"辅助类食品",
20
- "18":"增强类食品",
21
- "19":"辅助类药品",
22
- "20":"增强类药品",
23
- "21":"",
24
- "22":"",
25
- "23":"",
26
- "24":"宴席",
27
- "52":"",
28
- "101":""
29
- }
@@ -1,242 +0,0 @@
1
- {
2
- "remarks": [
3
- "这个文件用于存储游戏内的字体ini",
4
- "但是由于大部分场景下我们只需要字体的颜色",
5
- "而且存在着很多个字体id对应同一种颜色的情况",
6
- "所以用颜色作为键,值是一个数组,包含着颜色是键值的所有字体ID"
7
- ],
8
- "#ffffff": [
9
- "0",
10
- "2",
11
- "3",
12
- "5",
13
- "7",
14
- "9",
15
- "10",
16
- "13",
17
- "15",
18
- "18",
19
- "22",
20
- "26",
21
- "28",
22
- "37",
23
- "40",
24
- "41",
25
- "42",
26
- "44",
27
- "106",
28
- "135",
29
- "162",
30
- "175",
31
- "190",
32
- "197",
33
- "203",
34
- "207",
35
- "210",
36
- "211",
37
- "212",
38
- "213",
39
- "214",
40
- "216",
41
- "227",
42
- "228",
43
- "230",
44
- "231",
45
- "232",
46
- "233",
47
- "234",
48
- "238",
49
- "244",
50
- "245",
51
- "247",
52
- "248",
53
- "250",
54
- "254",
55
- "257",
56
- "259",
57
- "263",
58
- "264",
59
- "272",
60
- "273",
61
- "276",
62
- "292",
63
- "300",
64
- "301",
65
- "303",
66
- "304",
67
- "310",
68
- "324",
69
- "327",
70
- "329",
71
- "331",
72
- "332",
73
- "336",
74
- "339",
75
- "343",
76
- "344",
77
- "362",
78
- "371"
79
- ],
80
- "#000000": ["1", "6", "29", "38", "43", "156", "160", "180", "191", "225", "260", "269", "288", "326"],
81
- "#282828": ["4", "296", "312"],
82
- "#ffff00": [
83
- "8",
84
- "11",
85
- "14",
86
- "16",
87
- "23",
88
- "27",
89
- "31",
90
- "48",
91
- "59",
92
- "65",
93
- "99",
94
- "100",
95
- "136",
96
- "163",
97
- "187",
98
- "188",
99
- "200",
100
- "201",
101
- "204",
102
- "236",
103
- "241",
104
- "258",
105
- "289",
106
- "306",
107
- "315",
108
- "328",
109
- "330",
110
- "334",
111
- "372"
112
- ],
113
- "#ff7e7e": [
114
- "12",
115
- "17",
116
- "51",
117
- "52",
118
- "53",
119
- "54",
120
- "55",
121
- "56",
122
- "57",
123
- "58",
124
- "70",
125
- "85",
126
- "86",
127
- "87",
128
- "88",
129
- "89",
130
- "90",
131
- "91",
132
- "92",
133
- "93",
134
- "94",
135
- "95",
136
- "96",
137
- "97",
138
- "98",
139
- "111",
140
- "114",
141
- "115",
142
- "116",
143
- "117",
144
- "118",
145
- "119",
146
- "120",
147
- "121",
148
- "122",
149
- "123",
150
- "124",
151
- "125",
152
- "126",
153
- "127",
154
- "128",
155
- "129",
156
- "130",
157
- "140",
158
- "141",
159
- "142",
160
- "143",
161
- "144",
162
- "145",
163
- "146",
164
- "147",
165
- "148",
166
- "149",
167
- "150",
168
- "151",
169
- "152",
170
- "153",
171
- "154",
172
- "178",
173
- "179",
174
- "279",
175
- "320",
176
- "370"
177
- ],
178
- "#a3b06a": ["19", "39", "66"],
179
- "#ff0000": ["20", "33", "71", "102", "137", "159", "166", "217", "219", "270", "308", "317"],
180
- "#00c848": ["21", "36", "80", "105", "165", "167", "222", "226", "287", "316", "365", "369"],
181
- "#ff9600": ["24", "32", "68", "101", "164", "168", "237", "256", "318", "335", "366"],
182
- "#adadad": ["25", "30", "61", "108", "132", "161", "169", "220", "319", "333"],
183
- "#df12c9": ["34", "74", "103", "367"],
184
- "#007eff": ["35", "77", "104", "285", "323", "368"],
185
- "#cfcfcf": ["45", "60", "107", "131", "189", "215", "221", "223", "261", "283", "374"],
186
- "#969696": ["46", "62", "109", "133", "218"],
187
- "#04d1b6": ["47"],
188
- "#fff78e": ["49", "155"],
189
- "#636363": ["50", "63", "110", "134", "313"],
190
- "#ffffbb": ["64", "177", "182", "185", "239", "375"],
191
- "#ffca7e": ["67", "157", "266", "321"],
192
- "#a96300": ["69", "158", "240", "307"],
193
- "#a90000": ["72", "337", "338", "340"],
194
- "#ca7eff": ["73", "112", "195", "278", "305"],
195
- "#5e1ba0": ["75", "181"],
196
- "#7e7eff": ["76", "113", "193"],
197
- "#0000a9": ["78"],
198
- "#7ee3a3": ["79", "139", "176", "192", "194", "282"],
199
- "#00842f": ["81", "138"],
200
- "#e68c00": ["82", "294", "295", "325"],
201
- "#dc1e00": ["83"],
202
- "#968c00": ["84"],
203
- "#606000": ["170"],
204
- "#1e366c": ["171"],
205
- "#8b2e1c": ["172", "293", "299"],
206
- "#105830": ["173", "309"],
207
- "#45544b": ["174"],
208
- "#1e68fe": ["183"],
209
- "#ef370c": ["184", "208", "235"],
210
- "#4cdf15": ["186", "229"],
211
- "#ff0012": ["196", "199"],
212
- "#4fff6c": ["198"],
213
- "#33f3ff": ["202", "205", "252", "253", "262"],
214
- "#30bdd6": ["206", "281"],
215
- "undefined": ["209"],
216
- "#fbeab7": ["224", "274", "275", "311", "342"],
217
- "#453d2a": ["242", "341"],
218
- "#bafbdf": ["243", "246", "249", "255"],
219
- "#ffde00": ["251", "271", "280"],
220
- "#96cedf": ["265"],
221
- "#fab07e": ["267"],
222
- "#e8c368": ["268"],
223
- "#99452b": ["277"],
224
- "#0b0b0b": ["284"],
225
- "#df11c9": ["286"],
226
- "#3e281b": ["290", "291", "373"],
227
- "#493c23": ["297", "298"],
228
- "#46332b": ["302", "314", "349"],
229
- "#92de5f": ["322"],
230
- "#776859": ["345", "352"],
231
- "#735c3c": ["346", "347", "355", "356"],
232
- "#615044": ["348"],
233
- "#513301": ["350", "354", "357"],
234
- "#ece4cc": ["351"],
235
- "#fef9e7": ["353"],
236
- "#92bcb4": ["358"],
237
- "#6fa497": ["359"],
238
- "#bce5db": ["360"],
239
- "#e3d7c7": ["361"],
240
- "#95b9ba": ["363"],
241
- "#a9a7a3": ["364"]
242
- }
@@ -1,27 +0,0 @@
1
- [
2
- {
3
- "label": "个人中心",
4
- "link": "/dashboard",
5
- "onlyAdmin": false
6
- },
7
- {
8
- "label": "创作中心",
9
- "link": "/publish",
10
- "onlyAdmin": false
11
- },
12
- {
13
- "label": "我的收藏",
14
- "link": "/dashboard/#/fav",
15
- "onlyAdmin": false
16
- },
17
- {
18
- "label": "我的角色",
19
- "link": "/team/role/manage",
20
- "onlyAdmin": false
21
- },
22
- {
23
- "label": "后台管理",
24
- "link": "https://os.jx3box.com/admin",
25
- "onlyAdmin": true
26
- }
27
- ]
@@ -1,20 +0,0 @@
1
- {
2
- "0": "棍",
3
- "1": "长兵",
4
- "2": "短兵",
5
- "4": "双兵",
6
- "5": "笔",
7
- "6": "投掷",
8
- "7": "弓弦",
9
- "9": "重兵",
10
- "10": "笛",
11
- "11": "千机匣",
12
- "12": "弯刀",
13
- "13": "短棒",
14
- "14": "刀盾",
15
- "15": "琴",
16
- "16": "傲霜刀",
17
- "17": "伞",
18
- "18": "链刃",
19
- "19": "魂灯"
20
- }
@@ -1,5 +0,0 @@
1
- {
2
- "std": ["北天药宗", "奉天证道"],
3
- "origin": ["藏剑山庄", "物华天宝"],
4
- "all": ["北天药宗", "奉天证道", "藏剑山庄", "物华天宝"]
5
- }