feat : 传感器区域新增显示范围

This commit is contained in:
2024-03-12 22:05:53 +08:00
parent c28d46043a
commit 6d8a048364
6 changed files with 22 additions and 23 deletions

View File

@@ -250,7 +250,7 @@ const changeData = (item) => {
equipmentId: item.equipmentId,
icon: changeIcon(item.equipmentType),
name: item.equipmentName.slice(0, 2),
max: 120,
max: item.maxRange,
value: item.value,
point: item.valueThreshold,
unit: item.unit
@@ -447,7 +447,7 @@ const initChart = (type, values,top) => {
.input-fan {
cursor: pointer;
padding-right: 20px;
&:hover {
//width: 230px;
padding-left: 20px;
@@ -471,8 +471,9 @@ const initChart = (type, values,top) => {
.input-fan {
//margin: 0 26px;
padding-right: 20px;
&:hover {
width: 230px;
//width: 230px;
background: #2E5589;
border-radius: 6px;
}