diff --git a/ruoyi-admin/src/main/resources/static/js/Iot-ui/deviceMonitor.js b/ruoyi-admin/src/main/resources/static/js/Iot-ui/deviceMonitor.js index 4ee61e7..a7c2076 100644 --- a/ruoyi-admin/src/main/resources/static/js/Iot-ui/deviceMonitor.js +++ b/ruoyi-admin/src/main/resources/static/js/Iot-ui/deviceMonitor.js @@ -54,7 +54,7 @@ const createDeviceModule = function (sensor,params) { html += `
${params[i].paramText+":"+(sensor[params[i].paramTitle] == null ? "-" : sensor[params[i].paramTitle])}
`; } html += ''; - html += '
'; + html += '
'; //html+=`

${sensor['sensorStatus'] == null ? "-" : sensorStatus(sensor['sensorStatus'])}

`; html+=`

${sensor['collectTime'] == null ? "-" : collectTime(sensor['collectTime'])}

`; html += '
'; diff --git a/ruoyi-admin/src/main/resources/templates/section/transformer-detail.html b/ruoyi-admin/src/main/resources/templates/section/transformer-detail.html index ab0d8ac..634fcc9 100644 --- a/ruoyi-admin/src/main/resources/templates/section/transformer-detail.html +++ b/ruoyi-admin/src/main/resources/templates/section/transformer-detail.html @@ -257,12 +257,10 @@ .sensor-card { background: url("/img/sensor-block.png") no-repeat #00000000; background-size: 100% 100%; - /*width: 27rem; - height: 17.6rem;*/ - width: 48%; - height: 47%; - /*width:30%; - height:43%;*/ + /* width: 48%; + height: 47%;*/ + width:30%; + height:40%; border-radius: 0; border: none; }