diff --git a/src/components/info/EnvironmentInfo.vue b/src/components/info/EnvironmentInfo.vue index 12165c9..e566c9f 100644 --- a/src/components/info/EnvironmentInfo.vue +++ b/src/components/info/EnvironmentInfo.vue @@ -23,19 +23,31 @@

温度

-

{{ getTemperature() }}°C

+
+ {{ getTemperature() }} +

°C

+

相对湿度

-

{{ getHumidity() }} {{ '%RH' }}

+
+ {{ getHumidity() }} +

{{ '%RH' }}

+

相对饱和度

-

{{ getSaturation() }} {{ '%RS' }}

+
+ {{ getSaturation() }} +

{{ '%RS' }}

+

汽化过氧化氢浓度

-

{{ getHP() }} ppm

+
+ {{ getHP() }} +

ppm

+
@@ -150,7 +162,7 @@ const getSaturation = () => { display: grid; grid-template-rows: repeat(4, 1fr); .line { - padding: 11px 26px; + padding: 11px 13px 11px 26px; width: 353px; // height: 56px; box-sizing: border-box; @@ -173,6 +185,15 @@ const getSaturation = () => { font-weight: bold; letter-spacing: 0.06em; color: #ffffff; + display: flex; + align-items: center; + .unit { + width: 60px; + margin-left: 6px; + display: flex; + align-items: center; + justify-content: center; + } } } }