Commit 0474d56b authored by Cai Wei's avatar Cai Wei

Merge branch 'dev' into feat/layout-style

parents c3807a12 d11833c6
...@@ -71,7 +71,8 @@ ...@@ -71,7 +71,8 @@
<div class="left" v-if="detailObj.compartHealthList.length > 0"> <div class="left" v-if="detailObj.compartHealthList.length > 0">
<div class="part"> <div class="part">
<div <div
class="point warn" class="point"
:class="item.healthStatus == 1 ? 'health' : 'warn'"
v-for="item in detailObj.compartHealthList[0]" v-for="item in detailObj.compartHealthList[0]"
:key="item" :key="item"
@click="handleStatusDotClick()" @click="handleStatusDotClick()"
...@@ -79,7 +80,8 @@ ...@@ -79,7 +80,8 @@
</div> </div>
<div class="part"> <div class="part">
<div <div
class="point warn" class="point"
:class="item.healthStatus == 1 ? 'health' : 'warn'"
v-for="item in detailObj.compartHealthList[1]" v-for="item in detailObj.compartHealthList[1]"
:key="item" :key="item"
></div> ></div>
...@@ -473,7 +475,7 @@ const getDustDetail = () => { ...@@ -473,7 +475,7 @@ const getDustDetail = () => {
indicatorTwoInstance, indicatorTwoInstance,
"indicatorTwo", "indicatorTwo",
getGaugeOption({ getGaugeOption({
value: dustInfo[1].value, value: parseInt(dustInfo[1].value / 100),
chartName: "粉尘浓度", chartName: "粉尘浓度",
min: 5, min: 5,
max: 50, max: 50,
...@@ -691,7 +693,7 @@ $borderColor: #bbbdc391; ...@@ -691,7 +693,7 @@ $borderColor: #bbbdc391;
} }
.point { .point {
width: 20px; width: 20px;
margin: 1% 3%; margin: 10px;
border-radius: 50%; border-radius: 50%;
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment