diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css index 9158423c..b3e78ddd 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/styles/home.css @@ -164,7 +164,7 @@ html, body { width: 16.5rem; height: 2.15rem; color: rgba(255, 255, 255, .8); - background: linear-gradient(to top, transparent 0, rgba(59, 145, 253, 0.4), rgba(59, 145, 253, 0.05)); + background: linear-gradient(to top, transparent 0, rgba(59, 145, 253, 0.3), rgba(59, 145, 253, 0.05)); border: 0 none; cursor: pointer; } diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html index 4c23031c..3ec0d7c0 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html @@ -714,9 +714,12 @@ data: xdata, axisLabel: { show: true, - rotate: '30', - textStyle: { - color: 'rgba(0,0,0,.5)' + interval: 0, + rotate: 30, + formatter: function (value) { + // 设定一个最大长度,例如10个字符 + const maxLength = 6; + return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; } }, splitLine: { @@ -821,9 +824,12 @@ data:xdata, axisLabel: { show: true, - rotate: '30', - textStyle: { - color: 'rgba(0,0,0,.5)' + interval: 0, + rotate: 30, + formatter: function (value) { + // 设定一个最大长度,例如10个字符 + const maxLength = 6; + return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; } }, splitLine: { @@ -929,9 +935,12 @@ data:xdata, axisLabel: { show: true, - rotate: '30', - textStyle: { - color: 'rgba(0,0,0,.5)' + interval: 0, + rotate: 30, + formatter: function (value) { + // 设定一个最大长度,例如10个字符 + const maxLength = 6; + return value.length > maxLength ? value.slice(0, maxLength) + '...' : value; } }, splitLine: {