From 41aa48aa173a109d4058993cfaab5e83c1980d1a Mon Sep 17 00:00:00 2001 From: wenjy Date: Thu, 7 Apr 2022 15:43:24 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E8=AE=BE=E5=A4=87=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E9=A1=B5=E9=9D=A2=E8=AE=BE=E5=A4=87=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/static/js/Iot-ui/deviceMonitor.js | 2 +- .../templates/section/transformer-detail.html | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) 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; }