This commit is contained in:
g7hoo 2023-05-13 15:59:41 +08:00
parent c838b4ebb1
commit ab3575b596
3 changed files with 137 additions and 101 deletions

View File

@ -6,12 +6,28 @@
<div class="content flex flex-col">
<div class="realtime">
<div class="time flex flex-center">
<template v-for="(item, index) in waterInTemp.split('')">
<DigitalBox
v-if="item !== '.'"
class="time--item"
v-for="(item, index) in waterInTemp.split('')"
:key="index"
:value="item"
:wider="true"
/>
<span
:key="index"
v-else
style="
background: #fff;
width: 10px;
height: 10px;
align-self: flex-end;
margin-bottom: 9px;
margin-right: 8px;
"
></span>
<!-- <span :key="index" v-else style="background: red; margin-right: 8px; line-height: 1; font-size: 88px; font-family: 'zcoolqingkehuangyouti-Regular'"></span> -->
</template>
<span class="unit"></span>
</div>
<div class="text">进口实时水温</div>

View File

@ -4,13 +4,17 @@
<SubContainer title="窑炉压力" icon="docs" padding="34px">
<div class="pressure flex flex-col flex-start">
<div class="time flex flex-center">
<template v-for="(item, index) in kilnPressure.split('')">
<DigitalBox
v-if="item !== '.'"
class="time--item"
v-for="(item, index) in kilnPressure.split('')"
:key="index"
:value="item"
:wider="true"
/>
<span :key="index" v-else style="background: #fff; width: 10px; height: 10px; align-self: flex-end; margin-bottom: 9px; margin-right: 8px;"></span>
<!-- <span :key="index" v-else style="background: red; margin-right: 8px; line-height: 1; font-size: 88px; font-family: 'zcoolqingkehuangyouti-Regular'"></span> -->
</template>
<span class="unit">Pa</span>
</div>
<div class="text">窑炉压力值</div>

View File

@ -6,12 +6,28 @@
<div class="content flex flex-col">
<div class="realtime">
<div class="time flex flex-center">
<template v-for="(item, index) in waterOutTemp.split('')">
<DigitalBox
v-if="item !== '.'"
class="time--item"
v-for="(item, index) in waterOutTemp.split('')"
:key="index"
:value="item"
:wider="true"
/>
<span
:key="index"
v-else
style="
background: #fff;
width: 10px;
height: 10px;
align-self: flex-end;
margin-bottom: 9px;
margin-right: 8px;
"
></span>
<!-- <span :key="index" v-else style="background: red; margin-right: 8px; line-height: 1; font-size: 88px; font-family: 'zcoolqingkehuangyouti-Regular'"></span> -->
</template>
<span class="unit"></span>
</div>
<div class="text">出口实时水温</div>