@@ -172,7 +193,7 @@ onMounted(() => {
v-for="sensor in sensorList"
:key="sensor.id"
class="sensor-card"
- :class="{ 'offline': sensor.status === 0 }"
+ :class="{ offline: sensor.status === 0 }"
>
设备类型
- {{ getSensorTypeName(sensor.device_type, sensor.device_name) }}
+ {{
+ getSensorTypeName(sensor.device_type, sensor.device_name)
+ }}
安装位置
- {{ sensor.install_location || '暂无数据' }}
+ {{ sensor.install_location || "暂无数据" }}
@@ -218,29 +243,35 @@ onMounted(() => {
-
+
@@ -267,7 +298,7 @@ onMounted(() => {
.el-icon {
font-size: 24px;
- color: #409EFF;
+ color: #409eff;
}
}
}
@@ -313,7 +344,7 @@ onMounted(() => {
.el-icon {
font-size: 20px;
- color: #409EFF;
+ color: #409eff;
background: rgba(64, 158, 255, 0.1);
padding: 8px;
border-radius: 8px;
@@ -357,7 +388,7 @@ onMounted(() => {
color: #303133;
font-size: 15px;
font-weight: 500;
- font-family: 'DIN Alternate', sans-serif;
+ font-family: "DIN Alternate", sans-serif;
flex: 1;
text-align: right;
word-break: break-all;
@@ -395,9 +426,9 @@ onMounted(() => {
.data-value {
font-size: 20px;
font-weight: 600;
- color: #409EFF;
+ color: #409eff;
margin-bottom: 4px;
- font-family: 'DIN Alternate', sans-serif;
+ font-family: "DIN Alternate", sans-serif;
}
.data-label {
@@ -443,4 +474,4 @@ onMounted(() => {
align-items: center;
}
}
-
\ No newline at end of file
+