This commit is contained in:
lb
2024-01-03 15:21:43 +08:00
parent 678c1b86ed
commit bee1aedda4
3 changed files with 8 additions and 8 deletions

View File

@@ -17,14 +17,14 @@ function EnergyCost(props) {
>
<span style={{ fontSize: "20px", letterSpacing: '2px', lineHeight: 1.5 }}>余热发电</span>
<span style={{ fontSize: "20px", color: "#3ce8ff", lineHeight: 1.5 }}>
{energyInfo?.elecQty1 || 0}kWh
{(+energyInfo?.elecQty1)?.toFixed(2) || 0}kWh
</span>
</div>
<div className={cls.info__item_groups}>
<div className={cls.info__item}>
<i style={{ fontSize: "18px", fontStyle: "normal", paddingRight: '6px' }}>水耗量</i>
<span style={{ fontSize: "17px", color: "#3ce8ff" }}>
{energyInfo?.waterQty || 0}Km³
{(+energyInfo?.waterQty)?.toFixed(2) || 0}Km³
</span>
</div>
<div className={cls.info__item}>
@@ -36,7 +36,7 @@ function EnergyCost(props) {
<div className={cls.info__item}>
<i style={{ fontSize: "18px", fontStyle: "normal", paddingRight: '6px' }}>电耗量</i>
<span style={{ fontSize: "17px", color: "#3ce8ff" }}>
{energyInfo?.elecQty2 || 0}kWh
{(+energyInfo?.elecQty2)?.toFixed(2) || 0}kWh
</span>
</div>
<div className={cls.info__item}>