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="content flex flex-col">
<div class="realtime"> <div class="realtime">
<div class="time flex flex-center"> <div class="time flex flex-center">
<template v-for="(item, index) in waterInTemp.split('')">
<DigitalBox <DigitalBox
v-if="item !== '.'"
class="time--item" class="time--item"
v-for="(item, index) in waterInTemp.split('')"
:key="index" :key="index"
:value="item" :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> <span class="unit"></span>
</div> </div>
<div class="text">进口实时水温</div> <div class="text">进口实时水温</div>

View File

@ -4,13 +4,17 @@
<SubContainer title="窑炉压力" icon="docs" padding="34px"> <SubContainer title="窑炉压力" icon="docs" padding="34px">
<div class="pressure flex flex-col flex-start"> <div class="pressure flex flex-col flex-start">
<div class="time flex flex-center"> <div class="time flex flex-center">
<template v-for="(item, index) in kilnPressure.split('')">
<DigitalBox <DigitalBox
v-if="item !== '.'"
class="time--item" class="time--item"
v-for="(item, index) in kilnPressure.split('')"
:key="index" :key="index"
:value="item" :value="item"
:wider="true" :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> <span class="unit">Pa</span>
</div> </div>
<div class="text">窑炉压力值</div> <div class="text">窑炉压力值</div>

View File

@ -6,12 +6,28 @@
<div class="content flex flex-col"> <div class="content flex flex-col">
<div class="realtime"> <div class="realtime">
<div class="time flex flex-center"> <div class="time flex flex-center">
<template v-for="(item, index) in waterOutTemp.split('')">
<DigitalBox <DigitalBox
v-if="item !== '.'"
class="time--item" class="time--item"
v-for="(item, index) in waterOutTemp.split('')"
:key="index" :key="index"
:value="item" :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> <span class="unit"></span>
</div> </div>
<div class="text">出口实时水温</div> <div class="text">出口实时水温</div>