Commit 33bf46cc by xin.yang
parents b51d2c87 ba3821c1
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<div <div
class="stateItem" class="stateItem"
:key="index" :key="index"
:style="{ background: item.bgc }" :style="{ background: item.bgc,color:item.status!=0?fontColor:'' }"
> >
<p class="flex"> <p class="flex">
<span class="infoLabel">工位:</span> <span class="infoLabel">工位:</span>
...@@ -317,6 +317,7 @@ export default { ...@@ -317,6 +317,7 @@ export default {
produceTotal: 0, produceTotal: 0,
waittingTotal: 0, waittingTotal: 0,
}, },
fontColor:'#fff'
}; };
}, },
created() { created() {
...@@ -429,6 +430,7 @@ export default { ...@@ -429,6 +430,7 @@ export default {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
font-size: 16px; font-size: 16px;
} }
} }
.stateTitle { .stateTitle {
......
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