From b2a710af398f875db46e62e64fc5e87d8926dd34 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 2 Sep 2025 09:44:46 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E6=B8=A9=E5=BA=A6=E5=AE=9E?= =?UTF-8?q?=E6=97=B6=E7=9B=91=E6=8E=A7=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/TempertureData/TempertureReport.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/TempertureData/TempertureReport.html b/ruoyi-admin/src/main/resources/templates/system/TempertureData/TempertureReport.html index 2857921..2f4b816 100644 --- a/ruoyi-admin/src/main/resources/templates/system/TempertureData/TempertureReport.html +++ b/ruoyi-admin/src/main/resources/templates/system/TempertureData/TempertureReport.html @@ -125,8 +125,8 @@ tempData = eval(result); var tempInfo = ''; for (var i = 0; i < tempData.length; i++) { - tempInfo += '
'; - /* tempInfo += '
';*/ + tempInfo += '
'; + /* tempInfo += '
'; */ /*info += '
'+tempData[i].name+'
' border: solid 1px greenyellow;padding: 10px 10px;;*/ } $("#tempDiv").html(tempInfo); @@ -134,7 +134,7 @@ var temperatureMeterChart = echarts.init(document.getElementById(tempData[i].name)); var temperatureMeterOption = { title: { - text: tempData[i].name.length > 18 ? tempData[i].name.substring(0, 15) + '\n' + tempData[i].name.substring(15) : tempData[i].name, + text: tempData[i].name.length > 18 ? tempData[i].name.substring(0, 18) + '\n' + tempData[i].name.substring(18) : tempData[i].name, subtext: tempData[i].refushTime, left: 'center', textStyle: { @@ -149,7 +149,7 @@ { name: "温度仪表", type: 'gauge', - detail: {formatter: '{value}℃', fontSize: 16}, + detail: {formatter: '{value}℃', fontSize: 12}, showSymbol: false, animation: false, // 关闭动画 radius: '100%',