koishi-plugin-warframe 1.7.3 → 1.7.5
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/assets/render.css +47 -63
- package/lib/index.d.ts +4 -0
- package/lib/index.js +500 -486
- package/lib/index.tsbuildinfo +1 -1
- package/lib/warframe/assets/baro.txt +15867 -15869
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4178,33 +4178,72 @@ var import_koishi2 = require("koishi");
|
|
|
4178
4178
|
|
|
4179
4179
|
// src/components/miscs.tsx
|
|
4180
4180
|
var import_jsx_runtime = require("@satorijs/element/jsx-runtime");
|
|
4181
|
+
var rivenTypeLabel = {
|
|
4182
|
+
melee: "近战",
|
|
4183
|
+
rifle: "步枪",
|
|
4184
|
+
pistol: "手枪",
|
|
4185
|
+
shotgun: "霰弹",
|
|
4186
|
+
zaw: "Zaw"
|
|
4187
|
+
};
|
|
4181
4188
|
function HotRivenComponent(data) {
|
|
4182
4189
|
const displayData = data.slice(0, 20);
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size: 10px; color: #6b7a8f;", children: [
|
|
4197
|
-
"🟢在线",
|
|
4198
|
-
" ",
|
|
4199
|
-
item.active_count
|
|
4200
|
-
] })
|
|
4190
|
+
const rankColors = [
|
|
4191
|
+
"var(--wf-rarity-rare)",
|
|
4192
|
+
"#8a8a8a",
|
|
4193
|
+
"var(--wf-rarity-common)"
|
|
4194
|
+
];
|
|
4195
|
+
const rankColor = /* @__PURE__ */ __name((i) => i < 3 ? rankColors[i] : "var(--wf-border-strong)", "rankColor");
|
|
4196
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "width:640px;background-color:var(--wf-bg-card);border:1px solid var(--wf-border);border-radius:var(--wf-radius);padding:16px;box-shadow:var(--wf-shadow-card);font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;color:var(--wf-text-body);", children: [
|
|
4197
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--wf-divider);", children: [
|
|
4198
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { style: "font-size:18px;font-weight:bold;color:var(--wf-text-primary);margin:0;", children: "热门紫卡" }),
|
|
4199
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size:11px;color:var(--wf-text-muted);", children: [
|
|
4200
|
+
"Top",
|
|
4201
|
+
" ",
|
|
4202
|
+
displayData.length
|
|
4201
4203
|
] })
|
|
4202
4204
|
] }),
|
|
4203
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: "
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4205
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: "display:grid;grid-template-columns:1fr 1fr;gap:6px;", children: displayData.map((item, index) => {
|
|
4206
|
+
const rank = index + 1;
|
|
4207
|
+
const color = rankColor(index);
|
|
4208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: `display:flex;align-items:center;gap:8px;background-color:var(--wf-bg-subtle);padding:8px 10px;border-radius:var(--wf-radius-md);border:1px solid var(--wf-border);border-left:3px solid ${color};`, children: [
|
|
4209
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: `font-size:14px;font-weight:bold;color:${color};min-width:24px;text-align:center;flex-shrink:0;`, children: [
|
|
4210
|
+
"#",
|
|
4211
|
+
rank
|
|
4212
|
+
] }),
|
|
4213
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "flex:1;min-width:0;", children: [
|
|
4214
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display:flex;align-items:baseline;gap:4px;", children: [
|
|
4215
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size:13px;font-weight:600;color:var(--wf-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;", children: item.name_zh }),
|
|
4216
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size:10px;color:var(--wf-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;", children: item.name_en })
|
|
4217
|
+
] }),
|
|
4218
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "display:flex;align-items:center;gap:6px;margin-top:2px;flex-wrap:wrap;", children: [
|
|
4219
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: "font-size:10px;color:var(--wf-text-secondary);background-color:rgba(0,0,0,0.04);padding:1px 6px;border-radius:var(--wf-radius-sm);", children: rivenTypeLabel[item.rivenType] ?? item.rivenType }),
|
|
4220
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size:10px;color:var(--wf-text-secondary);", children: [
|
|
4221
|
+
"倾向",
|
|
4222
|
+
" ",
|
|
4223
|
+
item.disposition.toFixed(2)
|
|
4224
|
+
] }),
|
|
4225
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: "font-size:10px;color:var(--wf-success);white-space:nowrap;", children: [
|
|
4226
|
+
"●",
|
|
4227
|
+
" ",
|
|
4228
|
+
item.active_count
|
|
4229
|
+
] })
|
|
4230
|
+
] })
|
|
4231
|
+
] }),
|
|
4232
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "text-align:right;flex-shrink:0;", children: [
|
|
4233
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "font-size:15px;font-weight:700;color:var(--wf-platinum);line-height:1.2;", children: [
|
|
4234
|
+
item.bottom_price,
|
|
4235
|
+
"p"
|
|
4236
|
+
] }),
|
|
4237
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: "font-size:9px;color:var(--wf-text-muted);", children: [
|
|
4238
|
+
"≥",
|
|
4239
|
+
item.min_price,
|
|
4240
|
+
"p"
|
|
4241
|
+
] })
|
|
4242
|
+
] })
|
|
4243
|
+
] });
|
|
4244
|
+
}) }),
|
|
4245
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: "margin-top:14px;padding-top:10px;border-top:1px solid var(--wf-border);font-size:10px;color:var(--wf-text-muted);text-align:center;", children: "按底价排序 · ● 在线卖家数 · 数据来源 RivenTracker" })
|
|
4246
|
+
] });
|
|
4208
4247
|
}
|
|
4209
4248
|
__name(HotRivenComponent, "HotRivenComponent");
|
|
4210
4249
|
|
|
@@ -6044,6 +6083,17 @@ var wfmItemMatcher = (() => {
|
|
|
6044
6083
|
"圆盘",
|
|
6045
6084
|
"连接器"
|
|
6046
6085
|
];
|
|
6086
|
+
const arcanePrefixes = [
|
|
6087
|
+
"赋能",
|
|
6088
|
+
"主要",
|
|
6089
|
+
"次要",
|
|
6090
|
+
"近战",
|
|
6091
|
+
"魔导",
|
|
6092
|
+
"蜕化",
|
|
6093
|
+
"弓箭",
|
|
6094
|
+
"正直",
|
|
6095
|
+
"神威"
|
|
6096
|
+
];
|
|
6047
6097
|
const warframeAliasDict = ((aliasObject) => {
|
|
6048
6098
|
const transformedObject = {};
|
|
6049
6099
|
for (const [key, aliases] of Object.entries(aliasObject)) {
|
|
@@ -6134,6 +6184,23 @@ var wfmItemMatcher = (() => {
|
|
|
6134
6184
|
return slug ? lookup.globalItemDict[slug] : void 0;
|
|
6135
6185
|
}
|
|
6136
6186
|
__name(matchBySlugDict3, "matchBySlugDict");
|
|
6187
|
+
function reorderArcanePrefix2(input) {
|
|
6188
|
+
for (const prefix of arcanePrefixes) {
|
|
6189
|
+
if (input.endsWith(prefix) && input.length > prefix.length) {
|
|
6190
|
+
return prefix + input.slice(0, input.length - prefix.length);
|
|
6191
|
+
}
|
|
6192
|
+
}
|
|
6193
|
+
return void 0;
|
|
6194
|
+
}
|
|
6195
|
+
__name(reorderArcanePrefix2, "reorderArcanePrefix");
|
|
6196
|
+
function matchByArcaneReorder2(input, lookup) {
|
|
6197
|
+
const reordered = reorderArcanePrefix2(input);
|
|
6198
|
+
if (!reordered) {
|
|
6199
|
+
return void 0;
|
|
6200
|
+
}
|
|
6201
|
+
return matchBySlugDict3(reordered, lookup);
|
|
6202
|
+
}
|
|
6203
|
+
__name(matchByArcaneReorder2, "matchByArcaneReorder");
|
|
6137
6204
|
function matchByShortHand2(input, lookup) {
|
|
6138
6205
|
return shortHandProcess3(input, lookup);
|
|
6139
6206
|
}
|
|
@@ -6239,6 +6306,9 @@ var wfmItemMatcher = (() => {
|
|
|
6239
6306
|
const shortHandMatchedItem = matchByShortHand2(normalizedInput, lookup);
|
|
6240
6307
|
if (shortHandMatchedItem)
|
|
6241
6308
|
return shortHandMatchedItem;
|
|
6309
|
+
const arcaneReorderedItem = matchByArcaneReorder2(normalizedInput, lookup);
|
|
6310
|
+
if (arcaneReorderedItem)
|
|
6311
|
+
return arcaneReorderedItem;
|
|
6242
6312
|
const aliasInput = transformByWarframeAlias2(normalizedInput);
|
|
6243
6313
|
if (aliasInput) {
|
|
6244
6314
|
const aliasShortHandMatchedItem = matchByShortHand2(aliasInput, lookup);
|
|
@@ -6261,11 +6331,13 @@ var wfmItemMatcher = (() => {
|
|
|
6261
6331
|
__name(stringToWFMItem2, "stringToWFMItem");
|
|
6262
6332
|
return {
|
|
6263
6333
|
buildSuffixVariantCandidates: buildSuffixVariantCandidates2,
|
|
6334
|
+
matchByArcaneReorder: matchByArcaneReorder2,
|
|
6264
6335
|
matchByShortHand: matchByShortHand2,
|
|
6265
6336
|
matchBySlugDict: matchBySlugDict3,
|
|
6266
6337
|
matchBySuffixVariantLookup: matchBySuffixVariantLookup2,
|
|
6267
6338
|
matchByWordPrefixSequence: matchByWordPrefixSequence3,
|
|
6268
6339
|
removeNameSuffix: removeNameSuffix2,
|
|
6340
|
+
reorderArcanePrefix: reorderArcanePrefix2,
|
|
6269
6341
|
splitWordPrefixTokens: splitWordPrefixTokens5,
|
|
6270
6342
|
shortHandProcess: shortHandProcess3,
|
|
6271
6343
|
stringToWFMItem: stringToWFMItem2,
|
|
@@ -6274,12 +6346,14 @@ var wfmItemMatcher = (() => {
|
|
|
6274
6346
|
};
|
|
6275
6347
|
})();
|
|
6276
6348
|
var buildSuffixVariantCandidates = wfmItemMatcher.buildSuffixVariantCandidates;
|
|
6349
|
+
var matchByArcaneReorder = wfmItemMatcher.matchByArcaneReorder;
|
|
6277
6350
|
var matchByShortHand = wfmItemMatcher.matchByShortHand;
|
|
6278
6351
|
var matchBySlugDict = wfmItemMatcher.matchBySlugDict;
|
|
6279
6352
|
var matchBySuffixVariantLookup = wfmItemMatcher.matchBySuffixVariantLookup;
|
|
6280
6353
|
var matchByWordPrefixSequence = wfmItemMatcher.matchByWordPrefixSequence;
|
|
6281
6354
|
var normalizeWordPrefixName3 = wfmItemMatcher.normalizeWordPrefixName;
|
|
6282
6355
|
var removeNameSuffix = wfmItemMatcher.removeNameSuffix;
|
|
6356
|
+
var reorderArcanePrefix = wfmItemMatcher.reorderArcanePrefix;
|
|
6283
6357
|
var splitWordPrefixTokens3 = wfmItemMatcher.splitWordPrefixTokens;
|
|
6284
6358
|
var shortHandProcess = wfmItemMatcher.shortHandProcess;
|
|
6285
6359
|
var stringToWFMItem = wfmItemMatcher.stringToWFMItem;
|
|
@@ -6901,29 +6975,83 @@ __name(rgbToHex, "rgbToHex");
|
|
|
6901
6975
|
// src/components/wf.tsx
|
|
6902
6976
|
var import_jsx_runtime2 = require("@satorijs/element/jsx-runtime");
|
|
6903
6977
|
function ArbitrationComponent(arbi) {
|
|
6978
|
+
const rewardTier = /* @__PURE__ */ __name((rewards) => {
|
|
6979
|
+
if (rewards >= 400)
|
|
6980
|
+
return { color: "var(--wf-rarity-rare)", bg: "rgba(255, 215, 0, 0.12)" };
|
|
6981
|
+
if (rewards >= 380)
|
|
6982
|
+
return { color: "var(--wf-warning)", bg: "rgba(255, 140, 66, 0.12)" };
|
|
6983
|
+
if (rewards >= 350)
|
|
6984
|
+
return { color: "var(--wf-success)", bg: "rgba(46, 125, 50, 0.12)" };
|
|
6985
|
+
return { color: "var(--wf-rarity-common)", bg: "rgba(205, 127, 50, 0.12)" };
|
|
6986
|
+
}, "rewardTier");
|
|
6987
|
+
const formatDayLabel = /* @__PURE__ */ __name((dateStr) => {
|
|
6988
|
+
const parts = dateStr.split("/");
|
|
6989
|
+
if (parts.length >= 3) {
|
|
6990
|
+
return `${Number(parts[1])}月${Number(parts[2])}日`;
|
|
6991
|
+
}
|
|
6992
|
+
return dateStr;
|
|
6993
|
+
}, "formatDayLabel");
|
|
6994
|
+
const groups = /* @__PURE__ */ new Map();
|
|
6995
|
+
for (const a of arbi) {
|
|
6996
|
+
const spaceIdx = a.time.indexOf(" ");
|
|
6997
|
+
const dateKey = spaceIdx > 0 ? a.time.slice(0, spaceIdx) : a.time;
|
|
6998
|
+
if (!groups.has(dateKey))
|
|
6999
|
+
groups.set(dateKey, []);
|
|
7000
|
+
groups.get(dateKey).push(a);
|
|
7001
|
+
}
|
|
6904
7002
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
6905
7003
|
"div",
|
|
6906
7004
|
{
|
|
6907
|
-
style: "width:
|
|
7005
|
+
style: "width:600px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;box-shadow:var(--wf-shadow-card);border:1px solid var(--wf-border);font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;color:var(--wf-text-body);",
|
|
6908
7006
|
children: [
|
|
6909
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { children: "高掉落仲裁时间表" }),
|
|
6910
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime2.
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
)
|
|
6921
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
7007
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { style: "font-size:22px;font-weight:bold;color:var(--wf-text-primary);margin:0 0 16px 0;padding-bottom:12px;border-bottom:1px solid var(--wf-divider);text-align:center;", children: "高掉落仲裁时间表" }),
|
|
7008
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display:flex;flex-direction:column;gap:14px;", children: [...groups.entries()].map(([dateKey, items]) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7009
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7010
|
+
"div",
|
|
7011
|
+
{
|
|
7012
|
+
style: "font-size:13px;font-weight:bold;color:var(--wf-text-secondary);margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid var(--wf-border);",
|
|
7013
|
+
children: formatDayLabel(dateKey)
|
|
7014
|
+
}
|
|
7015
|
+
),
|
|
7016
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display:flex;flex-direction:column;gap:4px;", children: items.map((a) => {
|
|
7017
|
+
const tier = rewardTier(a.rewards);
|
|
7018
|
+
const timeLabel = a.time.includes(" ") ? a.time.slice(a.time.indexOf(" ") + 1) : a.time;
|
|
7019
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7020
|
+
"div",
|
|
7021
|
+
{
|
|
7022
|
+
style: "display:flex;align-items:center;gap:10px;padding:6px 10px;background-color:var(--wf-bg-subtle);border-radius:var(--wf-radius-sm);border-left:3px solid var(--wf-border-strong);",
|
|
7023
|
+
children: [
|
|
7024
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7025
|
+
"span",
|
|
7026
|
+
{
|
|
7027
|
+
style: "font-size:13px;font-weight:600;color:var(--wf-text-primary);font-family:monospace;min-width:52px;",
|
|
7028
|
+
children: timeLabel
|
|
7029
|
+
}
|
|
7030
|
+
),
|
|
7031
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size:13px;color:var(--wf-text-body);flex:1;min-width:0;", children: `${a.name} ${a.system}-${a.type}` }),
|
|
7032
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7033
|
+
"span",
|
|
7034
|
+
{
|
|
7035
|
+
style: "font-size:13px;color:var(--wf-accent);background-color:rgba(71,181,165,0.1);padding:1px 8px;border-radius:var(--wf-radius-sm);white-space:nowrap;",
|
|
7036
|
+
children: a.faction
|
|
7037
|
+
}
|
|
7038
|
+
),
|
|
7039
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7040
|
+
"span",
|
|
7041
|
+
{
|
|
7042
|
+
style: `font-size:13px;font-weight:700;color:${tier.color};background-color:${tier.bg};padding:2px 8px;border-radius:var(--wf-radius-sm);white-space:nowrap;min-width:96px;text-align:right;`,
|
|
7043
|
+
children: [
|
|
7044
|
+
a.rewards,
|
|
7045
|
+
" ",
|
|
7046
|
+
"精华/h"
|
|
7047
|
+
]
|
|
7048
|
+
}
|
|
7049
|
+
)
|
|
7050
|
+
]
|
|
7051
|
+
}
|
|
7052
|
+
);
|
|
7053
|
+
}) })
|
|
7054
|
+
] })) })
|
|
6927
7055
|
]
|
|
6928
7056
|
}
|
|
6929
7057
|
);
|
|
@@ -6934,13 +7062,14 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
6934
7062
|
"div",
|
|
6935
7063
|
{
|
|
6936
7064
|
style: `
|
|
6937
|
-
background:
|
|
6938
|
-
border-radius:
|
|
7065
|
+
background-color: var(--wf-bg-card);
|
|
7066
|
+
border-radius: var(--wf-radius);
|
|
6939
7067
|
padding: 16px;
|
|
6940
7068
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
6941
7069
|
width: 1000px;
|
|
6942
|
-
box-shadow:
|
|
6943
|
-
border: 1px solid
|
|
7070
|
+
box-shadow: var(--wf-shadow-card);
|
|
7071
|
+
border: 1px solid var(--wf-border);
|
|
7072
|
+
color: var(--wf-text-body);
|
|
6944
7073
|
`,
|
|
6945
7074
|
children: [
|
|
6946
7075
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
@@ -6950,7 +7079,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
6950
7079
|
text-align: center;
|
|
6951
7080
|
margin-bottom: 20px;
|
|
6952
7081
|
padding-bottom: 12px;
|
|
6953
|
-
border-bottom: 1px solid
|
|
7082
|
+
border-bottom: 1px solid var(--wf-divider);
|
|
6954
7083
|
`,
|
|
6955
7084
|
children: [
|
|
6956
7085
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
@@ -6959,7 +7088,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
6959
7088
|
style: `
|
|
6960
7089
|
font-size: 22px;
|
|
6961
7090
|
font-weight: bold;
|
|
6962
|
-
color:
|
|
7091
|
+
color: var(--wf-text-primary);
|
|
6963
7092
|
margin: 0 0 8px 0;
|
|
6964
7093
|
`,
|
|
6965
7094
|
children: "回廊奖励总览"
|
|
@@ -6969,7 +7098,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
6969
7098
|
"p",
|
|
6970
7099
|
{
|
|
6971
7100
|
style: `
|
|
6972
|
-
color:
|
|
7101
|
+
color: var(--wf-text-secondary);
|
|
6973
7102
|
font-size: 11px;
|
|
6974
7103
|
margin: 0;
|
|
6975
7104
|
`,
|
|
@@ -7004,11 +7133,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7004
7133
|
{
|
|
7005
7134
|
style: `
|
|
7006
7135
|
flex: 1;
|
|
7007
|
-
background:
|
|
7008
|
-
border-radius:
|
|
7136
|
+
background-color: var(--wf-bg-subtle);
|
|
7137
|
+
border-radius: var(--wf-radius);
|
|
7009
7138
|
padding: 12px;
|
|
7010
|
-
border: 1px solid
|
|
7011
|
-
box-shadow:
|
|
7139
|
+
border: 1px solid var(--wf-border);
|
|
7140
|
+
box-shadow: var(--wf-shadow-inner);
|
|
7012
7141
|
`,
|
|
7013
7142
|
children: [
|
|
7014
7143
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
@@ -7017,10 +7146,10 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7017
7146
|
style: `
|
|
7018
7147
|
font-weight: bold;
|
|
7019
7148
|
font-size: 15px;
|
|
7020
|
-
color:
|
|
7149
|
+
color: var(--wf-text-body);
|
|
7021
7150
|
margin-bottom: 12px;
|
|
7022
7151
|
padding-bottom: 8px;
|
|
7023
|
-
border-bottom: 1px solid
|
|
7152
|
+
border-bottom: 1px solid var(--wf-border);
|
|
7024
7153
|
`,
|
|
7025
7154
|
children: "灵化之源"
|
|
7026
7155
|
}
|
|
@@ -7039,11 +7168,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7039
7168
|
"div",
|
|
7040
7169
|
{
|
|
7041
7170
|
style: `
|
|
7042
|
-
background: ${isCurrent ? "
|
|
7043
|
-
border-radius:
|
|
7171
|
+
background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-card)"};
|
|
7172
|
+
border-radius: var(--wf-radius-sm);
|
|
7044
7173
|
padding: 8px 10px;
|
|
7045
|
-
border-left: 4px solid ${isCurrent ? "
|
|
7046
|
-
box-shadow:
|
|
7174
|
+
border-left: 4px solid ${isCurrent ? "var(--wf-warning)" : "var(--wf-border-strong)"};
|
|
7175
|
+
box-shadow: var(--wf-shadow-subtle);
|
|
7047
7176
|
`,
|
|
7048
7177
|
children: [
|
|
7049
7178
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
@@ -7052,7 +7181,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7052
7181
|
style: `
|
|
7053
7182
|
font-size: 10px;
|
|
7054
7183
|
font-weight: bold;
|
|
7055
|
-
color: ${isCurrent ? "
|
|
7184
|
+
color: ${isCurrent ? "var(--wf-warning)" : "var(--wf-text-muted)"};
|
|
7056
7185
|
margin-bottom: 6px;
|
|
7057
7186
|
`,
|
|
7058
7187
|
children: [
|
|
@@ -7076,13 +7205,13 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7076
7205
|
"span",
|
|
7077
7206
|
{
|
|
7078
7207
|
style: `
|
|
7079
|
-
background: ${isCurrent ? "
|
|
7208
|
+
background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-subtle)"};
|
|
7080
7209
|
padding: 3px 10px;
|
|
7081
|
-
border-radius:
|
|
7210
|
+
border-radius: var(--wf-radius-sm);
|
|
7082
7211
|
font-size: 11px;
|
|
7083
7212
|
font-weight: 500;
|
|
7084
|
-
color:
|
|
7085
|
-
border: 1px solid ${isCurrent ? "
|
|
7213
|
+
color: var(--wf-text-body);
|
|
7214
|
+
border: 1px solid ${isCurrent ? "var(--wf-border-strong)" : "var(--wf-border)"};
|
|
7086
7215
|
`,
|
|
7087
7216
|
children: item
|
|
7088
7217
|
}
|
|
@@ -7103,11 +7232,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7103
7232
|
{
|
|
7104
7233
|
style: `
|
|
7105
7234
|
flex: 1;
|
|
7106
|
-
background:
|
|
7107
|
-
border-radius:
|
|
7235
|
+
background-color: var(--wf-bg-subtle);
|
|
7236
|
+
border-radius: var(--wf-radius);
|
|
7108
7237
|
padding: 12px;
|
|
7109
|
-
border: 1px solid
|
|
7110
|
-
box-shadow:
|
|
7238
|
+
border: 1px solid var(--wf-border);
|
|
7239
|
+
box-shadow: var(--wf-shadow-inner);
|
|
7111
7240
|
`,
|
|
7112
7241
|
children: [
|
|
7113
7242
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
@@ -7116,10 +7245,10 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7116
7245
|
style: `
|
|
7117
7246
|
font-weight: bold;
|
|
7118
7247
|
font-size: 15px;
|
|
7119
|
-
color:
|
|
7248
|
+
color: var(--wf-text-body);
|
|
7120
7249
|
margin-bottom: 12px;
|
|
7121
7250
|
padding-bottom: 8px;
|
|
7122
|
-
border-bottom: 1px solid
|
|
7251
|
+
border-bottom: 1px solid var(--wf-border);
|
|
7123
7252
|
`,
|
|
7124
7253
|
children: "战甲"
|
|
7125
7254
|
}
|
|
@@ -7138,11 +7267,11 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7138
7267
|
"div",
|
|
7139
7268
|
{
|
|
7140
7269
|
style: `
|
|
7141
|
-
background: ${isCurrent ? "
|
|
7142
|
-
border-radius:
|
|
7270
|
+
background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-card)"};
|
|
7271
|
+
border-radius: var(--wf-radius-sm);
|
|
7143
7272
|
padding: 8px 10px;
|
|
7144
|
-
border-left: 4px solid ${isCurrent ? "
|
|
7145
|
-
box-shadow:
|
|
7273
|
+
border-left: 4px solid ${isCurrent ? "var(--wf-accent)" : "var(--wf-border-strong)"};
|
|
7274
|
+
box-shadow: var(--wf-shadow-subtle);
|
|
7146
7275
|
`,
|
|
7147
7276
|
children: [
|
|
7148
7277
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
@@ -7151,7 +7280,7 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7151
7280
|
style: `
|
|
7152
7281
|
font-size: 10px;
|
|
7153
7282
|
font-weight: bold;
|
|
7154
|
-
color: ${isCurrent ? "
|
|
7283
|
+
color: ${isCurrent ? "var(--wf-accent)" : "var(--wf-text-muted)"};
|
|
7155
7284
|
margin-bottom: 6px;
|
|
7156
7285
|
`,
|
|
7157
7286
|
children: [
|
|
@@ -7175,13 +7304,13 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7175
7304
|
"span",
|
|
7176
7305
|
{
|
|
7177
7306
|
style: `
|
|
7178
|
-
background: ${isCurrent ? "
|
|
7307
|
+
background-color: ${isCurrent ? "var(--wf-bg-tint)" : "var(--wf-bg-subtle)"};
|
|
7179
7308
|
padding: 3px 10px;
|
|
7180
|
-
border-radius:
|
|
7309
|
+
border-radius: var(--wf-radius-sm);
|
|
7181
7310
|
font-size: 11px;
|
|
7182
7311
|
font-weight: 500;
|
|
7183
|
-
color:
|
|
7184
|
-
border: 1px solid ${isCurrent ? "
|
|
7312
|
+
color: var(--wf-text-body);
|
|
7313
|
+
border: 1px solid ${isCurrent ? "var(--wf-border-strong)" : "var(--wf-border)"};
|
|
7185
7314
|
`,
|
|
7186
7315
|
children: item
|
|
7187
7316
|
}
|
|
@@ -7206,9 +7335,9 @@ function CircuitComponent(currentIncarnons, currentWarframes, allIncarnons, allW
|
|
|
7206
7335
|
style: `
|
|
7207
7336
|
margin-top: 16px;
|
|
7208
7337
|
padding-top: 12px;
|
|
7209
|
-
border-top: 1px solid
|
|
7338
|
+
border-top: 1px solid var(--wf-border);
|
|
7210
7339
|
font-size: 10px;
|
|
7211
|
-
color:
|
|
7340
|
+
color: var(--wf-text-muted);
|
|
7212
7341
|
text-align: center;
|
|
7213
7342
|
`,
|
|
7214
7343
|
children: "每周一更新"
|
|
@@ -7225,27 +7354,27 @@ function FissureComponent(fissures, type) {
|
|
|
7225
7354
|
"sp-fissure": "虚空裂缝 (钢铁之路)",
|
|
7226
7355
|
"rj-fissure": "虚空裂缝 (九重天)"
|
|
7227
7356
|
};
|
|
7228
|
-
const
|
|
7229
|
-
"
|
|
7230
|
-
"
|
|
7231
|
-
"
|
|
7232
|
-
"
|
|
7233
|
-
"
|
|
7234
|
-
"
|
|
7357
|
+
const tierColors = [
|
|
7358
|
+
"var(--wf-rarity-common)",
|
|
7359
|
+
"var(--wf-success)",
|
|
7360
|
+
"var(--wf-rarity-uncommon)",
|
|
7361
|
+
"var(--wf-rarity-rare)",
|
|
7362
|
+
"var(--wf-danger)",
|
|
7363
|
+
"var(--wf-accent)"
|
|
7235
7364
|
];
|
|
7236
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "display:flex;flex-direction:column;align-items:center;", children: [
|
|
7237
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { style: "font-size:
|
|
7238
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { style: "font-size:
|
|
7365
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "display:flex;flex-direction:column;align-items:center;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;box-shadow:var(--wf-shadow-card);border:1px solid var(--wf-border);", children: [
|
|
7366
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { style: "font-size:50px;color:var(--wf-text-primary);", children: titles[type] }),
|
|
7367
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("ul", { style: "font-size:30px;margin-top:30px;", children: fissures.filter((f) => f.expiry - Date.now() > 0).map((f) => {
|
|
7239
7368
|
const timeLeft = f.expiry - Date.now();
|
|
7240
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { style: "margin-top:
|
|
7241
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: `color:${
|
|
7242
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:
|
|
7369
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("li", { style: "margin-top:10px;color:var(--wf-text-body);", children: [
|
|
7370
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: `color:${tierColors[f.tierNum - 1]};`, children: `${f.tier}(T${f.tierNum})` }),
|
|
7371
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:20px;", children: [
|
|
7243
7372
|
f.node.name,
|
|
7244
7373
|
" ",
|
|
7245
7374
|
f.node.system
|
|
7246
7375
|
] }),
|
|
7247
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-left:
|
|
7248
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:
|
|
7376
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-left:10px;", children: f.node.type }),
|
|
7377
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "margin-left:10px;color:var(--wf-accent);", children: [
|
|
7249
7378
|
f.node.faction,
|
|
7250
7379
|
"(",
|
|
7251
7380
|
f.node.minLevel + 5 + (f.hard ? 100 : 0),
|
|
@@ -7256,7 +7385,7 @@ function FissureComponent(fissures, type) {
|
|
|
7256
7385
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7257
7386
|
"span",
|
|
7258
7387
|
{
|
|
7259
|
-
style: `margin-left:
|
|
7388
|
+
style: `margin-left:10px;color:${timeLeft > 36e5 ? "var(--wf-success)" : timeLeft > 6e5 ? "var(--wf-info)" : "var(--wf-danger)"};`,
|
|
7260
7389
|
children: [
|
|
7261
7390
|
"剩余",
|
|
7262
7391
|
msToHumanReadable(timeLeft)
|
|
@@ -7265,7 +7394,7 @@ function FissureComponent(fissures, type) {
|
|
|
7265
7394
|
)
|
|
7266
7395
|
] });
|
|
7267
7396
|
}) }),
|
|
7268
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "margin-top:
|
|
7397
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "margin-top:30px;font-size:30px;color:var(--wf-text-muted);", children: "注: 该功能的数据有一定延迟" })
|
|
7269
7398
|
] });
|
|
7270
7399
|
}
|
|
7271
7400
|
__name(FissureComponent, "FissureComponent");
|
|
@@ -7275,17 +7404,17 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7275
7404
|
"div",
|
|
7276
7405
|
{
|
|
7277
7406
|
style: `
|
|
7278
|
-
color:
|
|
7407
|
+
color: var(--wf-text-body);
|
|
7279
7408
|
line-height: 1.5;
|
|
7280
7409
|
font-size: 14px;
|
|
7281
|
-
background:
|
|
7410
|
+
background-color: var(--wf-bg-card);
|
|
7282
7411
|
font-family: 'Segoe UI', system-ui, sans-serif;
|
|
7283
7412
|
max-width: 600px;
|
|
7284
7413
|
margin: 0 auto;
|
|
7285
7414
|
padding: 16px;
|
|
7286
|
-
border-radius:
|
|
7287
|
-
box-shadow:
|
|
7288
|
-
border: 1px solid
|
|
7415
|
+
border-radius: var(--wf-radius);
|
|
7416
|
+
box-shadow: var(--wf-shadow-card);
|
|
7417
|
+
border: 1px solid var(--wf-border);
|
|
7289
7418
|
`,
|
|
7290
7419
|
children: [
|
|
7291
7420
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
@@ -7294,10 +7423,10 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7294
7423
|
style: `
|
|
7295
7424
|
font-size: 22px;
|
|
7296
7425
|
font-weight: bold;
|
|
7297
|
-
color:
|
|
7426
|
+
color: var(--wf-text-primary);
|
|
7298
7427
|
margin: 0 0 16px 0;
|
|
7299
7428
|
padding-bottom: 12px;
|
|
7300
|
-
border-bottom: 2px solid
|
|
7429
|
+
border-bottom: 2px solid var(--wf-divider);
|
|
7301
7430
|
text-align: center;
|
|
7302
7431
|
`,
|
|
7303
7432
|
children: [
|
|
@@ -7319,21 +7448,21 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7319
7448
|
children: items.map((item, index) => {
|
|
7320
7449
|
const weaponName = item.compatibility ? `${item.compatibility}` : item.itemType.replace(" Riven Mod", "");
|
|
7321
7450
|
const tierNum = index + 1;
|
|
7322
|
-
const tierColors = ["
|
|
7451
|
+
const tierColors = ["var(--wf-rarity-rare)", "var(--wf-rarity-uncommon)", "var(--wf-rarity-common)", "var(--wf-border-strong)"];
|
|
7323
7452
|
const tierColor = tierNum === 1 ? tierColors[0] : tierNum === 2 ? tierColors[1] : tierNum === 3 ? tierColors[2] : tierColors[3];
|
|
7324
7453
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7325
7454
|
"div",
|
|
7326
7455
|
{
|
|
7327
7456
|
style: `
|
|
7328
|
-
background-color:
|
|
7329
|
-
border: 1px solid
|
|
7330
|
-
border-radius:
|
|
7457
|
+
background-color: var(--wf-bg-card);
|
|
7458
|
+
border: 1px solid var(--wf-border);
|
|
7459
|
+
border-radius: var(--wf-radius-md);
|
|
7331
7460
|
padding: 10px 14px;
|
|
7332
7461
|
display: flex;
|
|
7333
7462
|
justify-content: space-between;
|
|
7334
7463
|
align-items: center;
|
|
7335
7464
|
border-left: 4px solid ${tierColor};
|
|
7336
|
-
box-shadow:
|
|
7465
|
+
box-shadow: var(--wf-shadow-subtle);
|
|
7337
7466
|
`,
|
|
7338
7467
|
children: [
|
|
7339
7468
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
@@ -7366,7 +7495,7 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7366
7495
|
style: `
|
|
7367
7496
|
font-weight: 600;
|
|
7368
7497
|
font-size: 15px;
|
|
7369
|
-
color:
|
|
7498
|
+
color: var(--wf-text-body);
|
|
7370
7499
|
`,
|
|
7371
7500
|
children: weaponName
|
|
7372
7501
|
}
|
|
@@ -7387,7 +7516,7 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7387
7516
|
"span",
|
|
7388
7517
|
{
|
|
7389
7518
|
style: `
|
|
7390
|
-
color:
|
|
7519
|
+
color: var(--wf-success);
|
|
7391
7520
|
font-weight: 600;
|
|
7392
7521
|
font-size: 15px;
|
|
7393
7522
|
`,
|
|
@@ -7397,7 +7526,7 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7397
7526
|
]
|
|
7398
7527
|
}
|
|
7399
7528
|
),
|
|
7400
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: { color: "
|
|
7529
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: { color: "var(--wf-text-muted)", fontSize: 12 }, children: `均价:${formatPrice(item.avg)}P 交易量:${item.pop} 区间:[${item.min}-${item.max}]` })
|
|
7401
7530
|
]
|
|
7402
7531
|
}
|
|
7403
7532
|
)
|
|
@@ -7413,9 +7542,9 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7413
7542
|
style: `
|
|
7414
7543
|
margin-top: 16px;
|
|
7415
7544
|
padding-top: 12px;
|
|
7416
|
-
border-top: 1px solid
|
|
7545
|
+
border-top: 1px solid var(--wf-border);
|
|
7417
7546
|
font-size: 10px;
|
|
7418
|
-
color:
|
|
7547
|
+
color: var(--wf-text-muted);
|
|
7419
7548
|
text-align: center;
|
|
7420
7549
|
`,
|
|
7421
7550
|
children: "数据来源: warframe.com weeklyRivensPC · 按未洗卡中位价排序,均价仅作参考"
|
|
@@ -7427,209 +7556,86 @@ function WeeklyRivenComponent(items, minPrice) {
|
|
|
7427
7556
|
}
|
|
7428
7557
|
__name(WeeklyRivenComponent, "WeeklyRivenComponent");
|
|
7429
7558
|
function WeeklyComponent(archon, deepArchimedea, temporalArchimedea) {
|
|
7430
|
-
const
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
}
|
|
7462
|
-
)
|
|
7463
|
-
]
|
|
7464
|
-
}
|
|
7465
|
-
);
|
|
7466
|
-
const deepArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7467
|
-
"section",
|
|
7468
|
-
{
|
|
7469
|
-
style: `
|
|
7470
|
-
border-radius: 8px;
|
|
7471
|
-
border: 1px solid #1f2937;
|
|
7472
|
-
padding: 12px 14px;
|
|
7473
|
-
background-color: #0b0f19;
|
|
7474
|
-
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
|
|
7475
|
-
color: #e5e7eb;
|
|
7476
|
-
`,
|
|
7477
|
-
children: [
|
|
7478
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7479
|
-
"div",
|
|
7480
|
-
{
|
|
7481
|
-
style: `
|
|
7482
|
-
font-size: 12px;
|
|
7483
|
-
color: #6ee7b7;
|
|
7484
|
-
margin-bottom: 6px;
|
|
7485
|
-
`,
|
|
7486
|
-
children: "Deep Archimedea"
|
|
7487
|
-
}
|
|
7488
|
-
),
|
|
7489
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7490
|
-
"div",
|
|
7491
|
-
{
|
|
7492
|
-
style: `
|
|
7493
|
-
font-size: 16px;
|
|
7494
|
-
font-weight: 600;
|
|
7495
|
-
margin-bottom: 8px;
|
|
7496
|
-
`,
|
|
7497
|
-
children: deepArchimedea.name
|
|
7498
|
-
}
|
|
7499
|
-
),
|
|
7500
|
-
deepArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7501
|
-
"div",
|
|
7502
|
-
{
|
|
7503
|
-
style: `
|
|
7504
|
-
border-radius: 6px;
|
|
7505
|
-
border: 1px solid rgba(255,255,255,0.15);
|
|
7506
|
-
padding: 8px 10px;
|
|
7507
|
-
margin-bottom: 8px;
|
|
7508
|
-
background-color: rgba(255,255,255,0.05);
|
|
7509
|
-
`,
|
|
7510
|
-
children: [
|
|
7511
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7512
|
-
"div",
|
|
7513
|
-
{
|
|
7514
|
-
style: `
|
|
7515
|
-
font-size: 13px;
|
|
7516
|
-
font-weight: 600;
|
|
7517
|
-
margin-bottom: 4px;
|
|
7518
|
-
`,
|
|
7519
|
-
children: m.type
|
|
7520
|
-
}
|
|
7521
|
-
),
|
|
7522
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px;", children: [
|
|
7523
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7524
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "偏差:" }),
|
|
7525
|
-
`${m.deviation.name}(${m.deviation.desc})`
|
|
7526
|
-
] }),
|
|
7527
|
-
m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7528
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "风险:" }),
|
|
7529
|
-
`${r.name}(${r.desc})`
|
|
7530
|
-
] }))
|
|
7531
|
-
] })
|
|
7532
|
-
]
|
|
7533
|
-
}
|
|
7534
|
-
)),
|
|
7535
|
-
deepArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px; margin-top: 4px;", children: [
|
|
7536
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "个人变量:" }),
|
|
7537
|
-
`${p.name}(${p.desc})`
|
|
7559
|
+
const sectionStyle = `
|
|
7560
|
+
border-radius: var(--wf-radius);
|
|
7561
|
+
border: 1px solid var(--wf-border);
|
|
7562
|
+
padding: 12px 14px;
|
|
7563
|
+
background-color: var(--wf-bg-subtle);
|
|
7564
|
+
box-shadow: var(--wf-shadow-inner);
|
|
7565
|
+
color: var(--wf-text-body);
|
|
7566
|
+
`;
|
|
7567
|
+
const missionCardStyle = `
|
|
7568
|
+
border-radius: var(--wf-radius-md);
|
|
7569
|
+
border: 1px solid var(--wf-border);
|
|
7570
|
+
padding: 8px 10px;
|
|
7571
|
+
margin-bottom: 8px;
|
|
7572
|
+
background-color: var(--wf-bg-card);
|
|
7573
|
+
`;
|
|
7574
|
+
const archonHuntSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
|
|
7575
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-text-muted);margin-bottom:6px;", children: "Archon Hunt" }),
|
|
7576
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:16px;font-weight:600;color:var(--wf-text-primary);", children: `执行官刺杀: ${archon.name}` })
|
|
7577
|
+
] });
|
|
7578
|
+
const deepArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
|
|
7579
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-success);margin-bottom:6px;", children: "Deep Archimedea" }),
|
|
7580
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:16px;font-weight:600;color:var(--wf-text-primary);margin-bottom:8px;", children: deepArchimedea.name }),
|
|
7581
|
+
deepArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: missionCardStyle, children: [
|
|
7582
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:13px;font-weight:600;margin-bottom:4px;color:var(--wf-text-body);", children: m.type }),
|
|
7583
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;color:var(--wf-text-secondary);", children: [
|
|
7584
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7585
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "偏差:" }),
|
|
7586
|
+
`${m.deviation.name}(${m.deviation.desc})`
|
|
7587
|
+
] }),
|
|
7588
|
+
m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7589
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "风险:" }),
|
|
7590
|
+
`${r.name}(${r.desc})`
|
|
7538
7591
|
] }))
|
|
7539
|
-
]
|
|
7540
|
-
}
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
color: #a5b4fc;
|
|
7560
|
-
margin-bottom: 6px;
|
|
7561
|
-
`,
|
|
7562
|
-
children: "Temporal Archimedea"
|
|
7563
|
-
}
|
|
7564
|
-
),
|
|
7565
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7566
|
-
"div",
|
|
7567
|
-
{
|
|
7568
|
-
style: `
|
|
7569
|
-
font-size: 16px;
|
|
7570
|
-
font-weight: 600;
|
|
7571
|
-
margin-bottom: 8px;
|
|
7572
|
-
`,
|
|
7573
|
-
children: temporalArchimedea.name
|
|
7574
|
-
}
|
|
7575
|
-
),
|
|
7576
|
-
temporalArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7577
|
-
"div",
|
|
7578
|
-
{
|
|
7579
|
-
style: `
|
|
7580
|
-
border-radius: 6px;
|
|
7581
|
-
border: 1px solid rgba(255,255,255,0.15);
|
|
7582
|
-
padding: 8px 10px;
|
|
7583
|
-
margin-bottom: 8px;
|
|
7584
|
-
background-color: rgba(255,255,255,0.05);
|
|
7585
|
-
`,
|
|
7586
|
-
children: [
|
|
7587
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7588
|
-
"div",
|
|
7589
|
-
{
|
|
7590
|
-
style: `
|
|
7591
|
-
font-size: 13px;
|
|
7592
|
-
font-weight: 600;
|
|
7593
|
-
margin-bottom: 4px;
|
|
7594
|
-
`,
|
|
7595
|
-
children: m.type
|
|
7596
|
-
}
|
|
7597
|
-
),
|
|
7598
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px;", children: [
|
|
7599
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7600
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "偏差:" }),
|
|
7601
|
-
`${m.deviation.name}(${m.deviation.desc})`
|
|
7602
|
-
] }),
|
|
7603
|
-
m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7604
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "风险:" }),
|
|
7605
|
-
`${r.name}(${r.desc})`
|
|
7606
|
-
] }))
|
|
7607
|
-
] })
|
|
7608
|
-
]
|
|
7609
|
-
}
|
|
7610
|
-
)),
|
|
7611
|
-
temporalArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size: 12px; margin-top: 4px;", children: [
|
|
7612
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: 600; margin-right: 4px;", children: "个人变量:" }),
|
|
7613
|
-
`${p.name}(${p.desc})`
|
|
7592
|
+
] })
|
|
7593
|
+
] })),
|
|
7594
|
+
deepArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;margin-top:4px;color:var(--wf-text-secondary);", children: [
|
|
7595
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "个人变量:" }),
|
|
7596
|
+
`${p.name}(${p.desc})`
|
|
7597
|
+
] }))
|
|
7598
|
+
] });
|
|
7599
|
+
const temporalArchimedeaSection = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { style: sectionStyle, children: [
|
|
7600
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:12px;color:var(--wf-info);margin-bottom:6px;", children: "Temporal Archimedea" }),
|
|
7601
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:16px;font-weight:600;color:var(--wf-text-primary);margin-bottom:8px;", children: temporalArchimedea.name }),
|
|
7602
|
+
temporalArchimedea.missions.map((m) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: missionCardStyle, children: [
|
|
7603
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "font-size:13px;font-weight:600;margin-bottom:4px;color:var(--wf-text-body);", children: m.type }),
|
|
7604
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;color:var(--wf-text-secondary);", children: [
|
|
7605
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7606
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "偏差:" }),
|
|
7607
|
+
`${m.deviation.name}(${m.deviation.desc})`
|
|
7608
|
+
] }),
|
|
7609
|
+
m.risks.map((r) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
7610
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "风险:" }),
|
|
7611
|
+
`${r.name}(${r.desc})`
|
|
7614
7612
|
] }))
|
|
7615
|
-
]
|
|
7616
|
-
}
|
|
7617
|
-
|
|
7613
|
+
] })
|
|
7614
|
+
] })),
|
|
7615
|
+
temporalArchimedea.peronal.map((p) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: "font-size:12px;margin-top:4px;color:var(--wf-text-secondary);", children: [
|
|
7616
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight:600;margin-right:4px;color:var(--wf-text-body);", children: "个人变量:" }),
|
|
7617
|
+
`${p.name}(${p.desc})`
|
|
7618
|
+
] }))
|
|
7619
|
+
] });
|
|
7618
7620
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7619
7621
|
"div",
|
|
7620
7622
|
{
|
|
7621
7623
|
style: `
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7624
|
+
color: var(--wf-text-body);
|
|
7625
|
+
line-height: 1.5;
|
|
7626
|
+
font-size: 14px;
|
|
7627
|
+
background-color: var(--wf-bg-card);
|
|
7628
|
+
font-family: 'Segoe UI', system-ui, sans-serif;
|
|
7629
|
+
max-width: 1024px;
|
|
7630
|
+
margin: 0 auto;
|
|
7631
|
+
padding: 16px;
|
|
7632
|
+
border-radius: var(--wf-radius);
|
|
7633
|
+
border: 1px solid var(--wf-border);
|
|
7634
|
+
box-shadow: var(--wf-shadow-card);
|
|
7635
|
+
display: grid;
|
|
7636
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
7637
|
+
gap: 16px;
|
|
7638
|
+
`,
|
|
7633
7639
|
children: [
|
|
7634
7640
|
archonHuntSection,
|
|
7635
7641
|
deepArchimedeaSection,
|
|
@@ -7645,12 +7651,12 @@ function RelicComponent(relic) {
|
|
|
7645
7651
|
const bronze = relic.items.filter((i) => i.rarity === "COMMON");
|
|
7646
7652
|
const getRateColor = /* @__PURE__ */ __name((rarity) => {
|
|
7647
7653
|
if (rarity === "RARE")
|
|
7648
|
-
return "
|
|
7654
|
+
return "var(--wf-rarity-rare)";
|
|
7649
7655
|
if (rarity === "UNCOMMON")
|
|
7650
|
-
return "
|
|
7656
|
+
return "var(--wf-rarity-uncommon)";
|
|
7651
7657
|
if (rarity === "COMMON")
|
|
7652
|
-
return "
|
|
7653
|
-
return "
|
|
7658
|
+
return "var(--wf-rarity-common)";
|
|
7659
|
+
return "var(--wf-text-primary)";
|
|
7654
7660
|
}, "getRateColor");
|
|
7655
7661
|
const relicRewardDropRate = {
|
|
7656
7662
|
RARE: "2/4/6/10",
|
|
@@ -7665,19 +7671,19 @@ function RelicComponent(relic) {
|
|
|
7665
7671
|
{
|
|
7666
7672
|
style: `padding: 8px 12px;
|
|
7667
7673
|
margin: 4px 0;
|
|
7668
|
-
border-radius:
|
|
7669
|
-
background-color:
|
|
7674
|
+
border-radius: var(--wf-radius-sm);
|
|
7675
|
+
background-color: var(--wf-bg-subtle);
|
|
7670
7676
|
border-left: 4px solid ${getRateColor(item.rarity)};
|
|
7671
7677
|
display: flex;
|
|
7672
7678
|
justify-content: space-between;
|
|
7673
7679
|
align-items: center;
|
|
7674
7680
|
line-height: 1;`,
|
|
7675
7681
|
children: [
|
|
7676
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color:
|
|
7682
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "color: var(--wf-text-primary); font-size: 14px;", children: item.name }),
|
|
7677
7683
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7678
7684
|
"span",
|
|
7679
7685
|
{
|
|
7680
|
-
style: `color:
|
|
7686
|
+
style: `color: var(--wf-text-faint);
|
|
7681
7687
|
font-size: 12px;
|
|
7682
7688
|
font-family: monospace;
|
|
7683
7689
|
display:flex;
|
|
@@ -7686,7 +7692,7 @@ function RelicComponent(relic) {
|
|
|
7686
7692
|
item.platinum ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7687
7693
|
"span",
|
|
7688
7694
|
{
|
|
7689
|
-
style: "\n color:
|
|
7695
|
+
style: "\n color: var(--wf-platinum);\n display:flex;\n line-height:1;",
|
|
7690
7696
|
children: [
|
|
7691
7697
|
item.platinum,
|
|
7692
7698
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
@@ -7700,7 +7706,7 @@ function RelicComponent(relic) {
|
|
|
7700
7706
|
]
|
|
7701
7707
|
}
|
|
7702
7708
|
) : "",
|
|
7703
|
-
item.ducats ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "color:
|
|
7709
|
+
item.ducats ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { style: "color: var(--wf-ducats);display:flex;line-height:1;", children: [
|
|
7704
7710
|
item.ducats,
|
|
7705
7711
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7706
7712
|
"svg",
|
|
@@ -7726,12 +7732,13 @@ function RelicComponent(relic) {
|
|
|
7726
7732
|
"div",
|
|
7727
7733
|
{
|
|
7728
7734
|
style: `
|
|
7729
|
-
border-radius:
|
|
7735
|
+
border-radius: var(--wf-radius);
|
|
7730
7736
|
padding: 16px;
|
|
7731
7737
|
margin: 12px;
|
|
7732
|
-
border: 1px solid
|
|
7733
|
-
box-shadow:
|
|
7734
|
-
color:
|
|
7738
|
+
border: 1px solid var(--wf-border);
|
|
7739
|
+
box-shadow: var(--wf-shadow-card);
|
|
7740
|
+
background-color: var(--wf-bg-card);
|
|
7741
|
+
color: var(--wf-text-primary);
|
|
7735
7742
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
7736
7743
|
max-width: 500px;
|
|
7737
7744
|
min-width: 320px;`,
|
|
@@ -7744,14 +7751,14 @@ function RelicComponent(relic) {
|
|
|
7744
7751
|
align-items: center;
|
|
7745
7752
|
margin-bottom: 16px;
|
|
7746
7753
|
padding-bottom: 12px;
|
|
7747
|
-
border-bottom: 1px solid
|
|
7754
|
+
border-bottom: 1px solid var(--wf-divider);`,
|
|
7748
7755
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7749
7756
|
"h1",
|
|
7750
7757
|
{
|
|
7751
7758
|
style: `font-size: 20px;
|
|
7752
7759
|
font-weight: bold;
|
|
7753
7760
|
margin: 0;
|
|
7754
|
-
color:
|
|
7761
|
+
color: var(--wf-text-primary);`,
|
|
7755
7762
|
children: `${relic.tier} ${relic.num} 遗物`
|
|
7756
7763
|
}
|
|
7757
7764
|
)
|
|
@@ -7769,7 +7776,7 @@ function RelicComponent(relic) {
|
|
|
7769
7776
|
{
|
|
7770
7777
|
style: `font-size: 14px;
|
|
7771
7778
|
font-weight: bold;
|
|
7772
|
-
color:
|
|
7779
|
+
color: var(--wf-rarity-rare);
|
|
7773
7780
|
margin: 0;
|
|
7774
7781
|
text-transform: uppercase;`,
|
|
7775
7782
|
children: "稀有"
|
|
@@ -7791,7 +7798,7 @@ function RelicComponent(relic) {
|
|
|
7791
7798
|
{
|
|
7792
7799
|
style: `font-size: 14px;
|
|
7793
7800
|
font-weight: bold;
|
|
7794
|
-
color:
|
|
7801
|
+
color: var(--wf-rarity-uncommon);
|
|
7795
7802
|
margin: 0;
|
|
7796
7803
|
text-transform: uppercase;`,
|
|
7797
7804
|
children: "罕见"
|
|
@@ -7813,7 +7820,7 @@ function RelicComponent(relic) {
|
|
|
7813
7820
|
{
|
|
7814
7821
|
style: `font-size: 14px;
|
|
7815
7822
|
font-weight: bold;
|
|
7816
|
-
color:
|
|
7823
|
+
color: var(--wf-rarity-common);
|
|
7817
7824
|
margin: 0;
|
|
7818
7825
|
text-transform: uppercase;`,
|
|
7819
7826
|
children: "常见"
|
|
@@ -7828,9 +7835,9 @@ function RelicComponent(relic) {
|
|
|
7828
7835
|
{
|
|
7829
7836
|
style: `margin-top: 16px;
|
|
7830
7837
|
padding-top: 12px;
|
|
7831
|
-
border-top: 1px solid
|
|
7838
|
+
border-top: 1px solid var(--wf-border);
|
|
7832
7839
|
font-size: 10px;
|
|
7833
|
-
color:
|
|
7840
|
+
color: var(--wf-text-muted);
|
|
7834
7841
|
text-align: center;`,
|
|
7835
7842
|
children: "价格数据来源于 WFM Ducanator, 约有1小时延迟"
|
|
7836
7843
|
}
|
|
@@ -7921,18 +7928,18 @@ function RivenComponent(data) {
|
|
|
7921
7928
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: "display: flex; gap: 20px; width: 600px;", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7922
7929
|
"div",
|
|
7923
7930
|
{
|
|
7924
|
-
style: "width: 100%; border-radius:
|
|
7931
|
+
style: "width: 100%; border-radius: var(--wf-radius); padding: 20px; box-shadow: var(--wf-shadow-card); border: 1px solid var(--wf-border); background-color: var(--wf-bg-card); color: var(--wf-text-body);",
|
|
7925
7932
|
children: [
|
|
7926
7933
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7927
7934
|
"div",
|
|
7928
7935
|
{
|
|
7929
|
-
style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid
|
|
7936
|
+
style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--wf-divider);",
|
|
7930
7937
|
children: [
|
|
7931
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: "margin: 0; font-size: 20px;", children: data.name }),
|
|
7938
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { style: "margin: 0; font-size: 20px; color: var(--wf-text-primary);", children: data.name }),
|
|
7932
7939
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7933
7940
|
"div",
|
|
7934
7941
|
{
|
|
7935
|
-
style: "background-color:
|
|
7942
|
+
style: "background-color: var(--wf-bg-subtle); padding: 4px 12px; border-radius: 12px; font-size: 14px; line-height: 1; color: var(--wf-text-body);",
|
|
7936
7943
|
children: `倾向: ${getDispositionIcon(
|
|
7937
7944
|
data.disposition
|
|
7938
7945
|
)} (${data.disposition.toFixed(2)})`
|
|
@@ -7945,7 +7952,7 @@ function RivenComponent(data) {
|
|
|
7945
7952
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
7946
7953
|
"h3",
|
|
7947
7954
|
{
|
|
7948
|
-
style: "color:
|
|
7955
|
+
style: "color: var(--wf-success); margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
|
|
7949
7956
|
children: [
|
|
7950
7957
|
"正面词条 (",
|
|
7951
7958
|
data.buffs.length,
|
|
@@ -7960,8 +7967,8 @@ function RivenComponent(data) {
|
|
|
7960
7967
|
"li",
|
|
7961
7968
|
{
|
|
7962
7969
|
style: `
|
|
7963
|
-
background-color:
|
|
7964
|
-
border-radius:
|
|
7970
|
+
background-color: var(--wf-bg-subtle);
|
|
7971
|
+
border-radius: var(--wf-radius-md);
|
|
7965
7972
|
padding: 12px;
|
|
7966
7973
|
margin-bottom: 10px;
|
|
7967
7974
|
border-left: 4px solid ${percentColor};
|
|
@@ -7972,15 +7979,15 @@ function RivenComponent(data) {
|
|
|
7972
7979
|
{
|
|
7973
7980
|
style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;",
|
|
7974
7981
|
children: [
|
|
7975
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold;", children: buff.name }),
|
|
7976
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold;", children: formatValue(buff.value, buff.unit) })
|
|
7982
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold; color: var(--wf-text-primary);", children: buff.name }),
|
|
7983
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold; color: var(--wf-text-primary);", children: formatValue(buff.value, buff.unit) })
|
|
7977
7984
|
]
|
|
7978
7985
|
}
|
|
7979
7986
|
),
|
|
7980
7987
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7981
7988
|
"div",
|
|
7982
7989
|
{
|
|
7983
|
-
style: "height: 10px; background-color:
|
|
7990
|
+
style: "height: 10px; background-color: var(--wf-border-strong); border-radius: 3px; margin-bottom: 8px;",
|
|
7984
7991
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
7985
7992
|
"div",
|
|
7986
7993
|
{
|
|
@@ -8000,7 +8007,7 @@ function RivenComponent(data) {
|
|
|
8000
8007
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8001
8008
|
"div",
|
|
8002
8009
|
{
|
|
8003
|
-
style: "display: flex; justify-content: space-between; font-size: 12px; color:
|
|
8010
|
+
style: "display: flex; justify-content: space-between; font-size: 12px; color: var(--wf-text-muted);",
|
|
8004
8011
|
children: [
|
|
8005
8012
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
|
|
8006
8013
|
"范围:",
|
|
@@ -8017,7 +8024,7 @@ function RivenComponent(data) {
|
|
|
8017
8024
|
!inRange ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8018
8025
|
"div",
|
|
8019
8026
|
{
|
|
8020
|
-
style: "margin-top: 8px; padding: 6px; background-color: rgba(
|
|
8027
|
+
style: "margin-top: 8px; padding: 6px; background-color: rgba(224, 80, 80, 0.12); border-radius: var(--wf-radius-sm); font-size: 12px; color: var(--wf-danger); display: flex; align-items: center;",
|
|
8021
8028
|
children: [
|
|
8022
8029
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-right: 6px;", children: "⚠" }),
|
|
8023
8030
|
"数值不在正常范围内(可能未满级或倾向未更新)"
|
|
@@ -8033,7 +8040,7 @@ function RivenComponent(data) {
|
|
|
8033
8040
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8034
8041
|
"h3",
|
|
8035
8042
|
{
|
|
8036
|
-
style: "color:
|
|
8043
|
+
style: "color: var(--wf-danger); margin: 0 0 15px 0; font-size: 16px; display: flex; align-items: center;",
|
|
8037
8044
|
children: [
|
|
8038
8045
|
"负面词条 (",
|
|
8039
8046
|
data.curses.length,
|
|
@@ -8047,22 +8054,22 @@ function RivenComponent(data) {
|
|
|
8047
8054
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8048
8055
|
"li",
|
|
8049
8056
|
{
|
|
8050
|
-
style: `background-color:
|
|
8057
|
+
style: `background-color: var(--wf-bg-subtle); border-radius: var(--wf-radius-md); padding: 12px; margin-bottom: 10px; border-left: 4px solid ${percentColor};`,
|
|
8051
8058
|
children: [
|
|
8052
8059
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8053
8060
|
"div",
|
|
8054
8061
|
{
|
|
8055
8062
|
style: "display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;",
|
|
8056
8063
|
children: [
|
|
8057
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold;", children: curse.name }),
|
|
8058
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold;", children: formatValue(curse.value, curse.unit) })
|
|
8064
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-weight: bold; color: var(--wf-text-primary);", children: curse.name }),
|
|
8065
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "font-size: 18px; font-weight: bold; color: var(--wf-text-primary);", children: formatValue(curse.value, curse.unit) })
|
|
8059
8066
|
]
|
|
8060
8067
|
}
|
|
8061
8068
|
),
|
|
8062
8069
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8063
8070
|
"div",
|
|
8064
8071
|
{
|
|
8065
|
-
style: "height: 10px; background-color:
|
|
8072
|
+
style: "height: 10px; background-color: var(--wf-border-strong); border-radius: 3px; margin-bottom: 8px;",
|
|
8066
8073
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8067
8074
|
"div",
|
|
8068
8075
|
{
|
|
@@ -8082,7 +8089,7 @@ function RivenComponent(data) {
|
|
|
8082
8089
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8083
8090
|
"div",
|
|
8084
8091
|
{
|
|
8085
|
-
style: "display: flex; justify-content: space-between; font-size: 12px; color:
|
|
8092
|
+
style: "display: flex; justify-content: space-between; font-size: 12px; color: var(--wf-text-muted);",
|
|
8086
8093
|
children: [
|
|
8087
8094
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
|
|
8088
8095
|
"范围:",
|
|
@@ -8099,7 +8106,7 @@ function RivenComponent(data) {
|
|
|
8099
8106
|
!inRange ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8100
8107
|
"div",
|
|
8101
8108
|
{
|
|
8102
|
-
style: "margin-top: 8px; padding: 6px; background-color: rgba(
|
|
8109
|
+
style: "margin-top: 8px; padding: 6px; background-color: rgba(224, 80, 80, 0.12); border-radius: var(--wf-radius-sm); font-size: 12px; color: var(--wf-danger); display: flex; align-items: center;",
|
|
8103
8110
|
children: [
|
|
8104
8111
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { style: "margin-right: 6px;", children: "⚠" }),
|
|
8105
8112
|
"数值不在正常范围内(可能未满级或倾向未更新)"
|
|
@@ -8137,9 +8144,12 @@ function RivenStatComponent(data) {
|
|
|
8137
8144
|
flex-direction: column;
|
|
8138
8145
|
gap: 16px;
|
|
8139
8146
|
padding: 16px;
|
|
8140
|
-
font-family: system-ui, sans-serif;
|
|
8141
|
-
background-color:
|
|
8142
|
-
border
|
|
8147
|
+
font-family: 'Segoe UI', system-ui, sans-serif;
|
|
8148
|
+
background-color: var(--wf-bg-card);
|
|
8149
|
+
border: 1px solid var(--wf-border);
|
|
8150
|
+
border-radius: var(--wf-radius);
|
|
8151
|
+
box-shadow: var(--wf-shadow-card);
|
|
8152
|
+
color: var(--wf-text-body);
|
|
8143
8153
|
max-width: 600px;
|
|
8144
8154
|
`,
|
|
8145
8155
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
@@ -8173,7 +8183,7 @@ function RivenStatComponent(data) {
|
|
|
8173
8183
|
{
|
|
8174
8184
|
style: `
|
|
8175
8185
|
margin: 0;
|
|
8176
|
-
color:
|
|
8186
|
+
color: var(--wf-success);
|
|
8177
8187
|
font-size: 16px;
|
|
8178
8188
|
font-weight: 600;
|
|
8179
8189
|
`,
|
|
@@ -8192,7 +8202,7 @@ function RivenStatComponent(data) {
|
|
|
8192
8202
|
"span",
|
|
8193
8203
|
{
|
|
8194
8204
|
style: `
|
|
8195
|
-
color:
|
|
8205
|
+
color: var(--wf-text-muted);
|
|
8196
8206
|
font-size: 12px;
|
|
8197
8207
|
`,
|
|
8198
8208
|
children: "最小"
|
|
@@ -8202,7 +8212,7 @@ function RivenStatComponent(data) {
|
|
|
8202
8212
|
"span",
|
|
8203
8213
|
{
|
|
8204
8214
|
style: `
|
|
8205
|
-
color:
|
|
8215
|
+
color: var(--wf-text-muted);
|
|
8206
8216
|
font-size: 12px;
|
|
8207
8217
|
`,
|
|
8208
8218
|
children: "最大"
|
|
@@ -8230,16 +8240,16 @@ function RivenStatComponent(data) {
|
|
|
8230
8240
|
justify-content: space-between;
|
|
8231
8241
|
align-items: center;
|
|
8232
8242
|
padding: 6px 8px;
|
|
8233
|
-
background-color:
|
|
8234
|
-
border-radius:
|
|
8235
|
-
border-left: 3px solid
|
|
8243
|
+
background-color: var(--wf-bg-subtle);
|
|
8244
|
+
border-radius: var(--wf-radius-sm);
|
|
8245
|
+
border-left: 3px solid var(--wf-success);
|
|
8236
8246
|
`,
|
|
8237
8247
|
children: [
|
|
8238
8248
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8239
8249
|
"span",
|
|
8240
8250
|
{
|
|
8241
8251
|
style: `
|
|
8242
|
-
color:
|
|
8252
|
+
color: var(--wf-text-body);
|
|
8243
8253
|
font-size: 13px;
|
|
8244
8254
|
`,
|
|
8245
8255
|
children: value.name
|
|
@@ -8257,7 +8267,7 @@ function RivenStatComponent(data) {
|
|
|
8257
8267
|
"span",
|
|
8258
8268
|
{
|
|
8259
8269
|
style: `
|
|
8260
|
-
color:
|
|
8270
|
+
color: var(--wf-success);
|
|
8261
8271
|
font-size: 13px;
|
|
8262
8272
|
font-weight: 500;
|
|
8263
8273
|
min-width: 60px;
|
|
@@ -8270,7 +8280,7 @@ function RivenStatComponent(data) {
|
|
|
8270
8280
|
"span",
|
|
8271
8281
|
{
|
|
8272
8282
|
style: `
|
|
8273
|
-
color:
|
|
8283
|
+
color: var(--wf-success);
|
|
8274
8284
|
font-size: 13px;
|
|
8275
8285
|
font-weight: 500;
|
|
8276
8286
|
min-width: 60px;
|
|
@@ -8294,28 +8304,28 @@ function RivenStatComponent(data) {
|
|
|
8294
8304
|
"div",
|
|
8295
8305
|
{
|
|
8296
8306
|
style: `
|
|
8297
|
-
|
|
8307
|
+
flex: 1;
|
|
8298
8308
|
`,
|
|
8299
8309
|
children: [
|
|
8300
8310
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8301
8311
|
"div",
|
|
8302
8312
|
{
|
|
8303
8313
|
style: `
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8314
|
+
display: flex;
|
|
8315
|
+
justify-content: space-between;
|
|
8316
|
+
align-items: center;
|
|
8317
|
+
margin-bottom: 8px;
|
|
8318
|
+
padding: 0 4px;
|
|
8309
8319
|
`,
|
|
8310
8320
|
children: [
|
|
8311
8321
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8312
8322
|
"h3",
|
|
8313
8323
|
{
|
|
8314
8324
|
style: `
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8325
|
+
margin: 0;
|
|
8326
|
+
color: var(--wf-danger);
|
|
8327
|
+
font-size: 16px;
|
|
8328
|
+
font-weight: 600;
|
|
8319
8329
|
`,
|
|
8320
8330
|
children: "负面属性"
|
|
8321
8331
|
}
|
|
@@ -8324,16 +8334,16 @@ function RivenStatComponent(data) {
|
|
|
8324
8334
|
"div",
|
|
8325
8335
|
{
|
|
8326
8336
|
style: `
|
|
8327
|
-
|
|
8328
|
-
|
|
8337
|
+
display: flex;
|
|
8338
|
+
gap: 12px;
|
|
8329
8339
|
`,
|
|
8330
8340
|
children: [
|
|
8331
8341
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8332
8342
|
"span",
|
|
8333
8343
|
{
|
|
8334
8344
|
style: `
|
|
8335
|
-
|
|
8336
|
-
|
|
8345
|
+
color: var(--wf-text-muted);
|
|
8346
|
+
font-size: 12px;
|
|
8337
8347
|
`,
|
|
8338
8348
|
children: "最小"
|
|
8339
8349
|
}
|
|
@@ -8342,8 +8352,8 @@ function RivenStatComponent(data) {
|
|
|
8342
8352
|
"span",
|
|
8343
8353
|
{
|
|
8344
8354
|
style: `
|
|
8345
|
-
|
|
8346
|
-
|
|
8355
|
+
color: var(--wf-text-muted);
|
|
8356
|
+
font-size: 12px;
|
|
8347
8357
|
`,
|
|
8348
8358
|
children: "最大"
|
|
8349
8359
|
}
|
|
@@ -8358,9 +8368,9 @@ function RivenStatComponent(data) {
|
|
|
8358
8368
|
"div",
|
|
8359
8369
|
{
|
|
8360
8370
|
style: `
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8371
|
+
display: flex;
|
|
8372
|
+
flex-direction: column;
|
|
8373
|
+
gap: 4px;
|
|
8364
8374
|
`,
|
|
8365
8375
|
children: Object.entries(data.negative).map(([, value]) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8366
8376
|
"div",
|
|
@@ -8370,16 +8380,16 @@ function RivenStatComponent(data) {
|
|
|
8370
8380
|
justify-content: space-between;
|
|
8371
8381
|
align-items: center;
|
|
8372
8382
|
padding: 6px 8px;
|
|
8373
|
-
background-color:
|
|
8374
|
-
border-radius:
|
|
8375
|
-
border-left: 3px solid
|
|
8383
|
+
background-color: var(--wf-bg-subtle);
|
|
8384
|
+
border-radius: var(--wf-radius-sm);
|
|
8385
|
+
border-left: 3px solid var(--wf-danger);
|
|
8376
8386
|
`,
|
|
8377
8387
|
children: [
|
|
8378
8388
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8379
8389
|
"span",
|
|
8380
8390
|
{
|
|
8381
8391
|
style: `
|
|
8382
|
-
color:
|
|
8392
|
+
color: var(--wf-text-body);
|
|
8383
8393
|
font-size: 13px;
|
|
8384
8394
|
`,
|
|
8385
8395
|
children: value.name
|
|
@@ -8397,7 +8407,7 @@ function RivenStatComponent(data) {
|
|
|
8397
8407
|
"span",
|
|
8398
8408
|
{
|
|
8399
8409
|
style: `
|
|
8400
|
-
color:
|
|
8410
|
+
color: var(--wf-danger);
|
|
8401
8411
|
font-size: 13px;
|
|
8402
8412
|
font-weight: 500;
|
|
8403
8413
|
min-width: 60px;
|
|
@@ -8410,7 +8420,7 @@ function RivenStatComponent(data) {
|
|
|
8410
8420
|
"span",
|
|
8411
8421
|
{
|
|
8412
8422
|
style: `
|
|
8413
|
-
color:
|
|
8423
|
+
color: var(--wf-danger);
|
|
8414
8424
|
font-size: 13px;
|
|
8415
8425
|
font-weight: 500;
|
|
8416
8426
|
min-width: 60px;
|
|
@@ -8441,30 +8451,30 @@ function VoidTraderComponent(data) {
|
|
|
8441
8451
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8442
8452
|
"div",
|
|
8443
8453
|
{
|
|
8444
|
-
style: "width:
|
|
8445
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("table", { style: "width:
|
|
8454
|
+
style: "width:400px;padding:16px;font-family:'Segoe UI',sans-serif;font-size:14px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);border:1px solid var(--wf-border);box-shadow:var(--wf-shadow-card);color:var(--wf-text-body);",
|
|
8455
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("table", { style: "width:100%;border-collapse:collapse;", children: [
|
|
8446
8456
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { children: [
|
|
8447
8457
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8448
8458
|
"th",
|
|
8449
8459
|
{
|
|
8450
|
-
style: "border-bottom:
|
|
8460
|
+
style: "border-bottom:1px solid var(--wf-border-strong);text-align:left;padding:6px;color:var(--wf-text-primary);",
|
|
8451
8461
|
children: "名称"
|
|
8452
8462
|
}
|
|
8453
8463
|
),
|
|
8454
8464
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
8455
8465
|
"th",
|
|
8456
8466
|
{
|
|
8457
|
-
style: "border-bottom:
|
|
8467
|
+
style: "border-bottom:1px solid var(--wf-border-strong);text-align:left;padding:6px;color:var(--wf-text-primary);",
|
|
8458
8468
|
children: "价格"
|
|
8459
8469
|
}
|
|
8460
8470
|
)
|
|
8461
8471
|
] }) }),
|
|
8462
8472
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("tbody", { children: data.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { children: [
|
|
8463
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { style: "padding:
|
|
8473
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { style: "padding:6px;border-bottom:1px solid var(--wf-border);", children: item.name }),
|
|
8464
8474
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
8465
8475
|
"td",
|
|
8466
8476
|
{
|
|
8467
|
-
style: "padding:
|
|
8477
|
+
style: "padding:6px;border-bottom:1px solid var(--wf-border);text-align:center;line-height:1;",
|
|
8468
8478
|
children: [
|
|
8469
8479
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { children: item.ducats }),
|
|
8470
8480
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
@@ -8657,7 +8667,7 @@ function trendArrow(trend) {
|
|
|
8657
8667
|
}
|
|
8658
8668
|
__name(trendArrow, "trendArrow");
|
|
8659
8669
|
function trendColor(trend) {
|
|
8660
|
-
return trend === "up" ? "
|
|
8670
|
+
return trend === "up" ? "var(--wf-danger)" : trend === "down" ? "var(--wf-success)" : "var(--wf-text-muted)";
|
|
8661
8671
|
}
|
|
8662
8672
|
__name(trendColor, "trendColor");
|
|
8663
8673
|
function ItemStatisticsChart(stats) {
|
|
@@ -8696,34 +8706,34 @@ function ItemStatisticsChart(stats) {
|
|
|
8696
8706
|
const baselineY = stats.baselineMedian !== void 0 ? yPos(stats.baselineMedian) : null;
|
|
8697
8707
|
const onlineYRaw = yPos(stats.onlineMin);
|
|
8698
8708
|
const onlineY = Math.max(padT, Math.min(H - padB, onlineYRaw));
|
|
8699
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { width: W, height: H, style: "font-family: Arial, sans-serif; background:
|
|
8709
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("svg", { width: W, height: H, style: "font-family: Arial, sans-serif; background: var(--wf-bg-subtle);", children: [
|
|
8700
8710
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polygon", { points: bandPoints, fill: "#5a95ff", fillOpacity: 0.12, stroke: "none" }),
|
|
8701
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: onlineY, x2: W - padR, y2: onlineY, stroke: "
|
|
8702
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: W - padR, y: onlineY - 6, textAnchor: "end", fontSize: 12, fill: "
|
|
8711
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: onlineY, x2: W - padR, y2: onlineY, stroke: "var(--wf-warning)", strokeWidth: 1.5, strokeDasharray: "6 4" }),
|
|
8712
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: W - padR, y: onlineY - 6, textAnchor: "end", fontSize: 12, fill: "var(--wf-warning)", children: [
|
|
8703
8713
|
"在线最低",
|
|
8704
8714
|
stats.onlineMin,
|
|
8705
8715
|
"p"
|
|
8706
8716
|
] }),
|
|
8707
8717
|
baselineY !== null ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("g", { children: [
|
|
8708
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: baselineY, x2: W - padR, y2: baselineY, stroke: "
|
|
8709
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: padL + 4, y: baselineY - 5, textAnchor: "start", fontSize: 11, fill: "
|
|
8718
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: padL, y1: baselineY, x2: W - padR, y2: baselineY, stroke: "var(--wf-text-faint)", strokeWidth: 1, strokeDasharray: "3 3" }),
|
|
8719
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("text", { x: padL + 4, y: baselineY - 5, textAnchor: "start", fontSize: 11, fill: "var(--wf-text-muted)", children: [
|
|
8710
8720
|
"7天中位",
|
|
8711
8721
|
stats.baselineMedian,
|
|
8712
8722
|
"p"
|
|
8713
8723
|
] })
|
|
8714
8724
|
] }) : null,
|
|
8715
8725
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: linePoints, fill: "none", stroke: "#5a95ff", strokeWidth: 2.5, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
8716
|
-
points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: xPos(i), cy: yPos(p.median), r: 3.5, fill: "#5a95ff", stroke: "
|
|
8717
|
-
points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: xPos(i), y: H - padB + 20, textAnchor: "middle", fontSize: 11, fill: "
|
|
8718
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: padT + 5, textAnchor: "end", fontSize: 11, fill: "
|
|
8719
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: H - padB, textAnchor: "end", fontSize: 11, fill: "
|
|
8726
|
+
points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: xPos(i), cy: yPos(p.median), r: 3.5, fill: "#5a95ff", stroke: "var(--wf-bg-card)", strokeWidth: 1 })),
|
|
8727
|
+
points.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: xPos(i), y: H - padB + 20, textAnchor: "middle", fontSize: 11, fill: "var(--wf-text-secondary)", children: formatShortDate(p.datetime) })),
|
|
8728
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: padT + 5, textAnchor: "end", fontSize: 11, fill: "var(--wf-text-secondary)", children: Math.round(dataMax) }),
|
|
8729
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("text", { x: padL - 8, y: H - padB, textAnchor: "end", fontSize: 11, fill: "var(--wf-text-secondary)", children: Math.round(dataMin) })
|
|
8720
8730
|
] });
|
|
8721
8731
|
}
|
|
8722
8732
|
__name(ItemStatisticsChart, "ItemStatisticsChart");
|
|
8723
8733
|
function StatCard(label, value, accent) {
|
|
8724
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "flex:1;min-width:0;border-radius:
|
|
8725
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "font-size:0.9rem;color
|
|
8726
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: `font-size:1.4rem;font-weight:700;color:${accent ?? "
|
|
8734
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "flex:1;min-width:0;border-radius:var(--wf-radius-md);padding:8px 10px;background:var(--wf-bg-subtle);border:1px solid var(--wf-border);display:flex;flex-direction:column;align-items:center;gap:2px;", children: [
|
|
8735
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "font-size:0.9rem;color:var(--wf-text-muted);", children: label }),
|
|
8736
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: `font-size:1.4rem;font-weight:700;color:${accent ?? "var(--wf-text-primary)"};`, children: value })
|
|
8727
8737
|
] });
|
|
8728
8738
|
}
|
|
8729
8739
|
__name(StatCard, "StatCard");
|
|
@@ -8745,16 +8755,16 @@ function ItemStatisticsCards(stats) {
|
|
|
8745
8755
|
"90天区间",
|
|
8746
8756
|
stats.rangeMin !== void 0 && stats.rangeMax !== void 0 ? `${stats.rangeMin}-${stats.rangeMax}p` : "—"
|
|
8747
8757
|
),
|
|
8748
|
-
StatCard("在线最低", `${stats.onlineMin}p`, "
|
|
8758
|
+
StatCard("在线最低", `${stats.onlineMin}p`, "var(--wf-warning)")
|
|
8749
8759
|
] });
|
|
8750
8760
|
}
|
|
8751
8761
|
__name(ItemStatisticsCards, "ItemStatisticsCards");
|
|
8752
8762
|
function ItemStatisticsComponent(stats) {
|
|
8753
8763
|
const hasData = stats.chart.length > 0 || stats.recentAvg !== void 0 || stats.baselineMedian !== void 0;
|
|
8754
8764
|
if (!hasData) {
|
|
8755
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid
|
|
8765
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid var(--wf-divider);text-align:center;color:var(--wf-text-muted);font-size:1.2rem;", children: "暂无近期成交统计数据" });
|
|
8756
8766
|
}
|
|
8757
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid
|
|
8767
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "margin-top:16px;padding:12px;border-top:2px solid var(--wf-divider);", children: [
|
|
8758
8768
|
stats.chart.length >= 2 ? ItemStatisticsChart(stats) : null,
|
|
8759
8769
|
ItemStatisticsCards(stats)
|
|
8760
8770
|
] });
|
|
@@ -8763,23 +8773,26 @@ __name(ItemStatisticsComponent, "ItemStatisticsComponent");
|
|
|
8763
8773
|
function ItemOrderComponent(item, orders, statistics) {
|
|
8764
8774
|
const itemNameCN = item.i18n["zh-hans"]?.name;
|
|
8765
8775
|
const itemNameEN = item.i18n.en?.name;
|
|
8766
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;
|
|
8776
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;flex-direction:column;width:1600px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;border:1px solid var(--wf-border);box-shadow:var(--wf-shadow-card);color:var(--wf-text-body);", children: [
|
|
8767
8777
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("style", { children: `
|
|
8768
8778
|
th {
|
|
8769
8779
|
align-items: center;
|
|
8770
8780
|
font-size: 1.8rem;
|
|
8781
|
+
color: var(--wf-text-primary);
|
|
8782
|
+
border-bottom: 1px solid var(--wf-border-strong);
|
|
8771
8783
|
}
|
|
8772
8784
|
|
|
8773
8785
|
td {
|
|
8774
8786
|
text-align: center;
|
|
8775
8787
|
font-size: 1.5rem;
|
|
8788
|
+
border-bottom: 1px solid var(--wf-border);
|
|
8776
8789
|
}
|
|
8777
8790
|
|
|
8778
8791
|
tr {
|
|
8779
8792
|
height: 3rem;
|
|
8780
8793
|
}
|
|
8781
8794
|
` }),
|
|
8782
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:
|
|
8795
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:center;color:var(--wf-text-primary);", children: [
|
|
8783
8796
|
itemNameCN,
|
|
8784
8797
|
" ",
|
|
8785
8798
|
"/",
|
|
@@ -8801,7 +8814,7 @@ function ItemOrderComponent(item, orders, statistics) {
|
|
|
8801
8814
|
orders.map((order) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { children: [
|
|
8802
8815
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.ingameName }),
|
|
8803
8816
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.status }),
|
|
8804
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.platinum }),
|
|
8817
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { style: "color:var(--wf-platinum);font-weight:600;", children: order.platinum }),
|
|
8805
8818
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.quantity }),
|
|
8806
8819
|
item.maxRank && item.maxRank > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.rank }) : null,
|
|
8807
8820
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { children: order.user.reputation })
|
|
@@ -8815,8 +8828,8 @@ function RivenOrderComponent(item, orders) {
|
|
|
8815
8828
|
const itemNameCN = item.i18n ? item.i18n["zh-hans"]?.name : void 0;
|
|
8816
8829
|
const itemNameEN = item.i18n ? item.i18n.en?.name : void 0;
|
|
8817
8830
|
const itemThumb = item.i18n ? item.i18n.en?.thumb : void 0;
|
|
8818
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;
|
|
8819
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:
|
|
8831
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;flex-direction:column;font-size:12px;background-color:var(--wf-bg-card);border-radius:var(--wf-radius);padding:16px;border:1px solid var(--wf-border);box-shadow:var(--wf-shadow-card);color:var(--wf-text-body);", children: [
|
|
8832
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("h1", { style: "text-align:center;color:var(--wf-text-primary);", children: [
|
|
8820
8833
|
itemNameCN,
|
|
8821
8834
|
" ",
|
|
8822
8835
|
"/",
|
|
@@ -8841,31 +8854,31 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
|
|
|
8841
8854
|
const itemNameCN = cnName ?? enName;
|
|
8842
8855
|
const itemIconLink = thumb ? `https://warframe.market/static/assets/${thumb}` : void 0;
|
|
8843
8856
|
const ownerAvatarLink = order.owner.avatar ? `https://warframe.market/static/assets/${order.owner.avatar}` : void 0;
|
|
8844
|
-
const reputationColor = order.owner.reputation >= 5 ? "
|
|
8857
|
+
const reputationColor = order.owner.reputation >= 5 ? "var(--wf-success)" : "var(--wf-text-muted)";
|
|
8845
8858
|
const reputationIconLink = order.owner.reputation >= 5 ? "#icon-smile" : "#icon-meh";
|
|
8846
8859
|
const statusData = {
|
|
8847
|
-
ingame: ["ONLINE IN GAME", "
|
|
8848
|
-
online: ["ONLINE", "
|
|
8849
|
-
offline: ["OFFLINE", "
|
|
8850
|
-
_: ["UNKNOWN", "
|
|
8860
|
+
ingame: ["ONLINE IN GAME", "var(--wf-accent)"],
|
|
8861
|
+
online: ["ONLINE", "var(--wf-success)"],
|
|
8862
|
+
offline: ["OFFLINE", "var(--wf-danger)"],
|
|
8863
|
+
_: ["UNKNOWN", "var(--wf-text-muted)"]
|
|
8851
8864
|
};
|
|
8852
8865
|
const status = order.owner.status in statusData ? order.owner.status : "_";
|
|
8853
8866
|
const statusText = statusData[status][0];
|
|
8854
8867
|
const statusColor = statusData[status][1];
|
|
8855
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "border:
|
|
8856
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:
|
|
8868
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "border:1px solid var(--wf-border-strong);margin:20px;padding:10px 15px 10px 11px;font-family:'Segoe UI',sans-serif,Helvetica,Arial;display:flex;flex-direction:column;background-color:var(--wf-bg-subtle);border-radius:var(--wf-radius-md);", children: [
|
|
8869
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:center;padding-bottom:10px;min-height:45px;", children: [
|
|
8857
8870
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
8858
8871
|
"img",
|
|
8859
8872
|
{
|
|
8860
8873
|
src: itemIconLink,
|
|
8861
|
-
style: "height:
|
|
8874
|
+
style: "height:30px;width:30px;object-fit:contain;border-radius:50%;box-shadow:0 0 10px 1px rgba(0,0,0,.15);vertical-align:middle;"
|
|
8862
8875
|
}
|
|
8863
8876
|
),
|
|
8864
8877
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
8865
8878
|
"span",
|
|
8866
8879
|
{
|
|
8867
8880
|
id: "title",
|
|
8868
|
-
style: "margin-left:
|
|
8881
|
+
style: "margin-left:15px;font-size:16px;line-height:16px;font-weight:700;text-overflow:ellipsis;color:var(--wf-text-primary);",
|
|
8869
8882
|
children: [
|
|
8870
8883
|
itemNameCN,
|
|
8871
8884
|
" ",
|
|
@@ -8878,25 +8891,25 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
|
|
|
8878
8891
|
"div",
|
|
8879
8892
|
{
|
|
8880
8893
|
id: "body",
|
|
8881
|
-
style: "display:
|
|
8894
|
+
style: "display:flex;flex-wrap:wrap;justify-content:space-between;",
|
|
8882
8895
|
children: [
|
|
8883
8896
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { id: "body-left", children: [
|
|
8884
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display:
|
|
8885
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display:
|
|
8886
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("ul", { style: "display:
|
|
8887
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:
|
|
8897
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display:flex;padding-top:5px;", children: order.item.attributes.filter((attr) => attr.positive).map(RivenAttributeComponent) }),
|
|
8898
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { style: "display:flex;width:100%;padding-top:5px;", children: order.item.attributes.filter((attr) => !attr.positive).map(RivenAttributeComponent) }),
|
|
8899
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("ul", { style: "display:flex;padding:5px 0;font-size:12px;color:var(--wf-text-secondary);", children: [
|
|
8900
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
|
|
8888
8901
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "段位 " }),
|
|
8889
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.mastery_level })
|
|
8902
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.mastery_level })
|
|
8890
8903
|
] }),
|
|
8891
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:
|
|
8904
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
|
|
8892
8905
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "等级: " }),
|
|
8893
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.mod_rank })
|
|
8906
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.mod_rank })
|
|
8894
8907
|
] }),
|
|
8895
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:
|
|
8908
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
|
|
8896
8909
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "循环: " }),
|
|
8897
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.item.re_rolls })
|
|
8910
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-text-primary);", children: order.item.re_rolls })
|
|
8898
8911
|
] }),
|
|
8899
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:
|
|
8912
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("li", { style: "margin-right:10px;", children: [
|
|
8900
8913
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "极性: " }),
|
|
8901
8914
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
8902
8915
|
"svg",
|
|
@@ -8913,16 +8926,16 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
|
|
|
8913
8926
|
"div",
|
|
8914
8927
|
{
|
|
8915
8928
|
id: "body-right",
|
|
8916
|
-
style: "display:
|
|
8917
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:
|
|
8929
|
+
style: "display:flex;flex-direction:column;justify-content:center;padding-left:10px;",
|
|
8930
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;justify-content:flex-end;font-size:16px;color:var(--wf-text-body);", children: [
|
|
8918
8931
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: "售价: " }),
|
|
8919
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "padding-left:
|
|
8920
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { children: order.starting_price }),
|
|
8932
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "padding-left:5px;line-height:1.5;", children: [
|
|
8933
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("b", { style: "color:var(--wf-platinum);", children: order.starting_price }),
|
|
8921
8934
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
8922
8935
|
"svg",
|
|
8923
8936
|
{
|
|
8924
8937
|
viewBox: "0 0 215.535 215.535",
|
|
8925
|
-
style: "\n margin: 0 0 0 3px;\n color:
|
|
8938
|
+
style: "\n margin: 0 0 0 3px;\n color: var(--wf-platinum);\n height: 1em;\n width: 1em;\n vertical-align: -.125em;\n fill: currentcolor;",
|
|
8926
8939
|
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("use", { href: "#icon-platinum" })
|
|
8927
8940
|
}
|
|
8928
8941
|
)
|
|
@@ -8937,32 +8950,32 @@ function RivenOrderItemComponent(order, cnName, enName, thumb) {
|
|
|
8937
8950
|
"div",
|
|
8938
8951
|
{
|
|
8939
8952
|
id: "footer",
|
|
8940
|
-
style: "display:
|
|
8953
|
+
style: "display:flex;margin-top:10px;line-height:1.5;align-items:center;",
|
|
8941
8954
|
children: [
|
|
8942
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:
|
|
8955
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:center;", children: [
|
|
8943
8956
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
8944
8957
|
"img",
|
|
8945
8958
|
{
|
|
8946
8959
|
src: ownerAvatarLink,
|
|
8947
|
-
style: "height:
|
|
8960
|
+
style: "height:20px;width:20px;object-fit:contain;border-radius:50%;box-shadow:0 0 10px 1px rgba(0,0,0,.15);vertical-align:middle;"
|
|
8948
8961
|
}
|
|
8949
8962
|
),
|
|
8950
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "margin-left:
|
|
8963
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "margin-left:5px;color:var(--wf-text-body);", children: order.owner.ingame_name })
|
|
8951
8964
|
] }),
|
|
8952
8965
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
8953
8966
|
"div",
|
|
8954
8967
|
{
|
|
8955
|
-
style: `margin-left:
|
|
8968
|
+
style: `margin-left:10px;color:${statusColor};font-size:12px;font-weight:600;`,
|
|
8956
8969
|
children: statusText
|
|
8957
8970
|
}
|
|
8958
8971
|
),
|
|
8959
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: `margin-left:
|
|
8972
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: `margin-left:10px;color:${reputationColor};display:flex;align-items:center;`, children: [
|
|
8960
8973
|
order.owner.reputation,
|
|
8961
8974
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
8962
8975
|
"svg",
|
|
8963
8976
|
{
|
|
8964
8977
|
viewBox: "0 0 496 512",
|
|
8965
|
-
style: "margin-left:
|
|
8978
|
+
style: "margin-left:5px;margin-top:-2px;overflow:hidden;height:1em;width:1em;vertical-align:-.125em;fill:currentcolor;",
|
|
8966
8979
|
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("use", { href: reputationIconLink })
|
|
8967
8980
|
}
|
|
8968
8981
|
)
|
|
@@ -8984,21 +8997,18 @@ function RivenAttributeComponent(attr, index) {
|
|
|
8984
8997
|
};
|
|
8985
8998
|
const attrValueSuffix = unitSuffixMap[attrInfo.unit] || "";
|
|
8986
8999
|
const attrValue = attrValuePrefix + attr.value + attrValueSuffix;
|
|
8987
|
-
const positiveColors = [
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
"--color_rgb_attribute_background_third"
|
|
8991
|
-
];
|
|
8992
|
-
const color = attr.positive ? positiveColors[index] : "--color_rgb_attribute_background_negative";
|
|
9000
|
+
const positiveColors = ["#2e7d32", "#4a8c5a", "#6b9b78"];
|
|
9001
|
+
const negativeColor = "#e05050";
|
|
9002
|
+
const color = attr.positive ? positiveColors[index] ?? positiveColors[0] : negativeColor;
|
|
8993
9003
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
8994
9004
|
"li",
|
|
8995
9005
|
{
|
|
8996
9006
|
style: `
|
|
8997
|
-
border: 1px solid
|
|
8998
|
-
background-color:
|
|
8999
|
-
color:
|
|
9007
|
+
border: 1px solid ${color}80;
|
|
9008
|
+
background-color: ${color}1a;
|
|
9009
|
+
color: ${color};
|
|
9000
9010
|
padding: 2px 10px;
|
|
9001
|
-
border-radius:
|
|
9011
|
+
border-radius: var(--wf-radius-sm);
|
|
9002
9012
|
margin-right: 5px;
|
|
9003
9013
|
font-size: 14px;
|
|
9004
9014
|
line-height: 1.5;`,
|
|
@@ -9027,19 +9037,19 @@ function getPriceTier(plats) {
|
|
|
9027
9037
|
}
|
|
9028
9038
|
if (plats > 80) {
|
|
9029
9039
|
return {
|
|
9030
|
-
borderColor: "
|
|
9031
|
-
bgColor: "rgba(255,
|
|
9040
|
+
borderColor: "var(--wf-warning)",
|
|
9041
|
+
bgColor: "rgba(255,140,66,0.12)",
|
|
9032
9042
|
label: "premium"
|
|
9033
9043
|
};
|
|
9034
9044
|
}
|
|
9035
|
-
if (plats >
|
|
9045
|
+
if (plats > 50) {
|
|
9036
9046
|
return {
|
|
9037
9047
|
borderColor: "#f0c040",
|
|
9038
9048
|
bgColor: "rgba(240,192,64,0.10)",
|
|
9039
9049
|
label: "high"
|
|
9040
9050
|
};
|
|
9041
9051
|
}
|
|
9042
|
-
return { borderColor: "
|
|
9052
|
+
return { borderColor: "var(--wf-border-strong)", bgColor: "transparent", label: "normal" };
|
|
9043
9053
|
}
|
|
9044
9054
|
__name(getPriceTier, "getPriceTier");
|
|
9045
9055
|
function calcDaysAgo(dateStr) {
|
|
@@ -9055,7 +9065,7 @@ function calcDaysAgo(dateStr) {
|
|
|
9055
9065
|
__name(calcDaysAgo, "calcDaysAgo");
|
|
9056
9066
|
function PMHCard(item, _index) {
|
|
9057
9067
|
const pr = item.plats;
|
|
9058
|
-
const tier = pr !== void 0 ? getPriceTier(pr) : { borderColor: "
|
|
9068
|
+
const tier = pr !== void 0 ? getPriceTier(pr) : { borderColor: "var(--wf-border-strong)", bgColor: "transparent", label: "normal" };
|
|
9059
9069
|
const dateStr = item.last ? (() => {
|
|
9060
9070
|
const d = new Date(item.last);
|
|
9061
9071
|
if (!Number.isNaN(d.getTime())) {
|
|
@@ -9096,7 +9106,7 @@ function PMHCard(item, _index) {
|
|
|
9096
9106
|
justify-content: space-between;
|
|
9097
9107
|
align-items: center;
|
|
9098
9108
|
font-weight: 600;
|
|
9099
|
-
color:
|
|
9109
|
+
color: var(--wf-text-primary);
|
|
9100
9110
|
white-space: nowrap;
|
|
9101
9111
|
overflow: hidden;
|
|
9102
9112
|
text-overflow: ellipsis;
|
|
@@ -9107,7 +9117,7 @@ function PMHCard(item, _index) {
|
|
|
9107
9117
|
daysAgo ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
9108
9118
|
"span",
|
|
9109
9119
|
{
|
|
9110
|
-
style: `flex-shrink:0;margin-left:4px;background
|
|
9120
|
+
style: `flex-shrink:0;margin-left:4px;background:var(--wf-bg-subtle);color:${isOld ? "var(--wf-danger)" : "var(--wf-text-muted)"};border-radius:3px;padding:0 5px;font-size:9px;font-weight:400;line-height:1.5;`,
|
|
9111
9121
|
children: [
|
|
9112
9122
|
"距今",
|
|
9113
9123
|
daysAgo,
|
|
@@ -9128,7 +9138,7 @@ function PMHCard(item, _index) {
|
|
|
9128
9138
|
font-variant-numeric: tabular-nums;
|
|
9129
9139
|
`,
|
|
9130
9140
|
children: [
|
|
9131
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:
|
|
9141
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:var(--wf-text-muted);font-size:10px;", children: dateStr || "未知" }),
|
|
9132
9142
|
pr !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
9133
9143
|
"span",
|
|
9134
9144
|
{
|
|
@@ -9138,7 +9148,7 @@ function PMHCard(item, _index) {
|
|
|
9138
9148
|
gap: 2px;
|
|
9139
9149
|
font-weight: 700;
|
|
9140
9150
|
font-size: 12px;
|
|
9141
|
-
color:
|
|
9151
|
+
color: var(--wf-platinum);
|
|
9142
9152
|
${isLegendary ? "text-shadow: 0 0 6px rgba(255,50,100,0.7), 0 0 12px rgba(200,50,255,0.4);" : ""}
|
|
9143
9153
|
`,
|
|
9144
9154
|
children: [
|
|
@@ -9153,7 +9163,7 @@ function PMHCard(item, _index) {
|
|
|
9153
9163
|
)
|
|
9154
9164
|
]
|
|
9155
9165
|
}
|
|
9156
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:
|
|
9166
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "color:var(--wf-text-faint);font-size:10px;", children: "暂无" })
|
|
9157
9167
|
]
|
|
9158
9168
|
}
|
|
9159
9169
|
)
|
|
@@ -9179,15 +9189,16 @@ function PrimedModHistoryComponent(history) {
|
|
|
9179
9189
|
"div",
|
|
9180
9190
|
{
|
|
9181
9191
|
style: `
|
|
9182
|
-
border-radius:
|
|
9192
|
+
border-radius: var(--wf-radius);
|
|
9183
9193
|
padding: 16px;
|
|
9184
9194
|
margin: 12px;
|
|
9185
|
-
border: 1px solid
|
|
9186
|
-
box-shadow:
|
|
9195
|
+
border: 1px solid var(--wf-border);
|
|
9196
|
+
box-shadow: var(--wf-shadow-card);
|
|
9187
9197
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
9188
9198
|
max-width: 100%;
|
|
9189
9199
|
min-width: 320px;
|
|
9190
|
-
background:
|
|
9200
|
+
background: var(--wf-bg-card);
|
|
9201
|
+
color: var(--wf-text-body);
|
|
9191
9202
|
`,
|
|
9192
9203
|
children: [
|
|
9193
9204
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
@@ -9199,22 +9210,25 @@ function PrimedModHistoryComponent(history) {
|
|
|
9199
9210
|
align-items: center;
|
|
9200
9211
|
margin-bottom: 12px;
|
|
9201
9212
|
padding-bottom: 10px;
|
|
9202
|
-
border-bottom: 1px solid
|
|
9213
|
+
border-bottom: 1px solid var(--wf-border);
|
|
9203
9214
|
`,
|
|
9204
9215
|
children: [
|
|
9205
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9216
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { style: "display:flex;align-items:baseline;gap:8px;", children: [
|
|
9217
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
9218
|
+
"h1",
|
|
9219
|
+
{
|
|
9220
|
+
style: `
|
|
9221
|
+
font-size: 18px;
|
|
9222
|
+
font-weight: bold;
|
|
9223
|
+
margin: 0;
|
|
9224
|
+
color: var(--wf-text-primary);
|
|
9225
|
+
`,
|
|
9226
|
+
children: "Prime Mod 历史记录"
|
|
9227
|
+
}
|
|
9228
|
+
),
|
|
9229
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { style: "font-size:10px;color:var(--wf-text-faint);", children: (/* @__PURE__ */ new Date()).toLocaleString("zh-cn", { hour12: false }) })
|
|
9230
|
+
] }),
|
|
9231
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { style: "color: var(--wf-text-muted); font-size: 11px;", children: [
|
|
9218
9232
|
history.length,
|
|
9219
9233
|
" ",
|
|
9220
9234
|
"项"
|