From 65703a60de6775ff70a1b29a69a214cb34b9bf75 Mon Sep 17 00:00:00 2001 From: JimmyZJX Date: Thu, 4 Jan 2024 22:41:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E2=80=9C=E9=81=BF=E5=85=8D=E6=BA=A2?= =?UTF-8?q?=E5=87=BA=E2=80=9D=E6=8C=89=E9=92=AE=20=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=92=8C=E4=BB=A3=E7=A0=81=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/result.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/result.jsx b/src/result.jsx index 8a0939d..b0d34f6 100644 --- a/src/result.jsx +++ b/src/result.jsx @@ -342,8 +342,11 @@ export function Result({ needs_list, set_needs_list }) { } let surplus_doms = Object.entries(lp_surplus_list).map(([item, quant]) => - (
x{quant.toFixed(fixed_num)}
)); - + (
x{quant.toFixed(fixed_num)} + +
)); return
{/* 结果表格 */} From f6c6ac84a370e115b679f8c49434c363ccba2113 Mon Sep 17 00:00:00 2001 From: JimmyZJX Date: Thu, 4 Jan 2024 22:43:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=EF=BC=9A=E4=B8=80=E8=88=AC=E6=98=AF=E6=B3=A8=E9=87=8A=E5=9C=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=89=8D=EF=BC=8C=E5=B9=B6=E4=B8=94"//"?= =?UTF-8?q?=E5=90=8E=E5=BA=94=E8=AF=A5=E6=9C=89=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scheme_data.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scheme_data.jsx b/src/scheme_data.jsx index 9dfca8c..4b9a142 100644 --- a/src/scheme_data.jsx +++ b/src/scheme_data.jsx @@ -5,6 +5,7 @@ import { GameInfoContext, GlobalStateContext, SchemeDataSetterContext } from './ const DEFAULT_SCHEME_DATA = { "item_recipe_choices": { "氢": 1 }, "scheme_for_recipe": [{ "建筑": 0, "喷涂点数": 0, "增产模式": 0 }], + // 这是示例,实际上cost_weight之后会在init_scheme_data中重置 "cost_weight": { "占地": 1, "电力": 0, @@ -16,7 +17,7 @@ const DEFAULT_SCHEME_DATA = { "单极磁石": { "成本": 10, "启用": 1, "与其它成本累计": 0 }, "铁": { "成本": 1, "启用": 0, "与其它成本累计": 0 } } - },//这是示例,实际上cost_weight之后会在init_scheme_data中重置 + }, "mining_rate": { "科技面板倍率": 1.0, "小矿机覆盖矿脉数": 8,