|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="water-unit">
|
|
<div class="water-unit">
|
|
- <div class="strate-right-box-1">
|
|
|
|
- <div class="starte-right-box-1-title">冷水机组</div>
|
|
|
|
|
|
+ <div class="strate-right-box-1" :class='type==2?"content1":""'>
|
|
|
|
+ <div class="starte-right-box-1-title" :class='type==2?"title1":""'>冷水机组</div>
|
|
<div class="starte-right-box-1-content1">
|
|
<div class="starte-right-box-1-content1">
|
|
<p>{{data.chillerNumSetL || 0}}</p>
|
|
<p>{{data.chillerNumSetL || 0}}</p>
|
|
<p>{{data.chillerNumSetS || 0}}</p>
|
|
<p>{{data.chillerNumSetS || 0}}</p>
|
|
@@ -13,9 +13,9 @@
|
|
<p>温度</p>
|
|
<p>温度</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="strate-right-box-1">
|
|
|
|
- <div class="starte-right-box-1-title">冷冻水泵</div>
|
|
|
|
- <div class="starte-right-box-1-content1">
|
|
|
|
|
|
+ <div class="strate-right-box-1" :class='type==2?"content1":""'>
|
|
|
|
+ <div class="starte-right-box-1-title" :class='type==2?"title1":""'>冷冻水泵</div>
|
|
|
|
+ <div class="starte-right-box-1-content1" >
|
|
<p>{{data.coolPumpNumSetL || 0}}</p>
|
|
<p>{{data.coolPumpNumSetL || 0}}</p>
|
|
<p>{{data.coolPumpNumSetS || 0}}</p>
|
|
<p>{{data.coolPumpNumSetS || 0}}</p>
|
|
<p>{{data.coolPumpFreqSet || 0}} HZ</p>
|
|
<p>{{data.coolPumpFreqSet || 0}} HZ</p>
|
|
@@ -26,8 +26,8 @@
|
|
<p>设定频率</p>
|
|
<p>设定频率</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="strate-right-box-1">
|
|
|
|
- <div class="starte-right-box-1-title">冷却水泵</div>
|
|
|
|
|
|
+ <div class="strate-right-box-1" :class='type==2?"content1":""'>
|
|
|
|
+ <div class="starte-right-box-1-title" :class='type==2?"title1":""'>冷却水泵</div>
|
|
<div class="starte-right-box-1-content1">
|
|
<div class="starte-right-box-1-content1">
|
|
<p>{{data.chillPumpNumSetL || 0}}</p>
|
|
<p>{{data.chillPumpNumSetL || 0}}</p>
|
|
<p>{{data.chillPumpNumSetS || 0}}</p>
|
|
<p>{{data.chillPumpNumSetS || 0}}</p>
|
|
@@ -39,8 +39,8 @@
|
|
<p>设定频率</p>
|
|
<p>设定频率</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="strate-right-box-1">
|
|
|
|
- <div class="starte-right-box-1-title">冷却塔</div>
|
|
|
|
|
|
+ <div class="strate-right-box-1" :class='type==2?"content1":""'>
|
|
|
|
+ <div class="starte-right-box-1-title" :class='type==2?"title1":""'>冷却塔</div>
|
|
<div class="starte-right-box-1-content1">
|
|
<div class="starte-right-box-1-content1">
|
|
<p>{{data.coolTowerNumSetL || 0}}</p>
|
|
<p>{{data.coolTowerNumSetL || 0}}</p>
|
|
<p>{{data.coolTowerNumSetS || 0}}</p>
|
|
<p>{{data.coolTowerNumSetS || 0}}</p>
|
|
@@ -61,7 +61,7 @@ export default {
|
|
data(){
|
|
data(){
|
|
return{}
|
|
return{}
|
|
},
|
|
},
|
|
-props:['data']
|
|
|
|
|
|
+props:['data','type']
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
@@ -69,6 +69,10 @@ props:['data']
|
|
.water-unit{
|
|
.water-unit{
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
|
+ .content1{
|
|
|
|
+ background:rgba(0,145,255,1);
|
|
|
|
+ color:#fff;
|
|
|
|
+ }
|
|
.strate-right-box-1{
|
|
.strate-right-box-1{
|
|
flex:1;
|
|
flex:1;
|
|
border-radius:6px;
|
|
border-radius:6px;
|
|
@@ -85,6 +89,11 @@ props:['data']
|
|
background:rgba(248,249,250,1);
|
|
background:rgba(248,249,250,1);
|
|
color: #1F2429;
|
|
color: #1F2429;
|
|
}
|
|
}
|
|
|
|
+ .title1{
|
|
|
|
+ color:#fff;
|
|
|
|
+ background:rgba(0,124,219,1);
|
|
|
|
+ }
|
|
|
|
+
|
|
p{
|
|
p{
|
|
padding: 0;
|
|
padding: 0;
|
|
margin:0;
|
|
margin:0;
|