From 8cc4233573d446e299bce4846ec41d5aebeed139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 4 Jul 2023 14:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/js/Iot-ui/sensorTableList.js | 2 +- .../templates/section/transformer-detail.html | 25 ++++--------------- 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js b/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js index 84ffcda..e67f44d 100644 --- a/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js +++ b/ruoyi-admin/src/main/resources/static/js/Iot-ui/sensorTableList.js @@ -32,7 +32,7 @@ const sensorInfoList = function (sensorTypeId) { columnsArray.push({ field: property, title: typeof(sensorTypeArray.find(x=>x.paramTitle.includes(property))) == "undefined" ? property : sensorTypeArray.find(x=>x.paramTitle.includes(property)).paramText, - width: property == "imgstr" || property == "md5" ? 500 : 140, + width: property == "imgstr" || property == "md5" ? 500 : 170, align: "center",height: 60 }); } 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 25ebc2c..de2a422 100644 --- a/ruoyi-admin/src/main/resources/templates/section/transformer-detail.html +++ b/ruoyi-admin/src/main/resources/templates/section/transformer-detail.html @@ -238,9 +238,9 @@ #sensor-card-group { position: absolute; width: 49%; - height: 85%; + height: 90%; left: 49%; - top: 13%; + top: 7%; overflow-y: scroll; display: flex; flex-wrap: wrap; @@ -502,22 +502,6 @@ -