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;
}

View File

@@ -110,8 +110,8 @@ const setValue = () => {
}
.container {
width: 422px;
height: 24px;
width: 468px;
height: 25px;
border-radius: 12px;
border: 1px solid #0f82af;
position: relative;
@@ -138,7 +138,7 @@ const setValue = () => {
.value-num {
height: 37px;
width: 160px;
//width: 160px;
font-size: 28px;
font-family: MicrosoftYaHei;
color: #d6f1fa;