Commit 0b725332 authored by van.chen's avatar van.chen

修改字段名

parent a4423bff
...@@ -23,14 +23,14 @@ ...@@ -23,14 +23,14 @@
<div class="rightLine per50"> <div class="rightLine per50">
<img class="rightIcon" <img class="rightIcon"
[src]="!base.locker || base.locker !== '1.0' ? '../../../../../assets/img/10.png' : '../../../../../assets/img/7.png'"> [src]="!base.locker || base.locker !== '1.0' ? '../../../../../assets/img/10.png' : '../../../../../assets/img/7.png'">
<span class="descLabel">门状态</span> <span class="descLabel">门状态</span>
<div <div
[class]="!base.locker || base.locker !== '1.0' ? 'rightLabel danger' : 'rightLabel success'">{{base.locker === '1.0' ? '正常-关' : '异常-开'}}</div> [class]="!base.locker || base.locker !== '1.0' ? 'rightLabel danger' : 'rightLabel success'">{{base.locker === '1.0' ? '正常-关' : '异常-开'}}</div>
</div> </div>
<div class="rightLine per50"> <div class="rightLine per50">
<img class="rightIcon" <img class="rightIcon"
[src]="!base.lightWarn ? '../../../../../assets/img/12.png' : '../../../../../assets/img/13.png'"> [src]="!base.lightWarn ? '../../../../../assets/img/12.png' : '../../../../../assets/img/13.png'">
<span class="descLabel">震动值</span> <span class="descLabel">摆动角度</span>
<div <div
[class]="!base.lightWarn ? 'rightLabel danger' : 'rightLabel success'">{{base.light}}(°)</div> [class]="!base.lightWarn ? 'rightLabel danger' : 'rightLabel success'">{{base.light}}(°)</div>
</div> </div>
......
...@@ -27,7 +27,7 @@ export class ProProfileAdvancedComponent implements OnInit { ...@@ -27,7 +27,7 @@ export class ProProfileAdvancedComponent implements OnInit {
temp: '温度数据', temp: '温度数据',
humid: '湿度数据', humid: '湿度数据',
tilt: '倾斜数据', tilt: '倾斜数据',
light: '震动数据', light: '摆动角度数据',
month: '近一月', month: '近一月',
week: '近一周', week: '近一周',
}; };
......
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