diff --git a/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js b/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js index b6d4510..efd2fc9 100644 --- a/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js +++ b/src/pages/smartinspection/components/Inspectiontaskplan/SmartInspectionPlan.js @@ -1912,9 +1912,9 @@ const SmartInspectionContent = () => { color: 'rgba(4, 95, 94, 0.8)' }, detail: { - backgroundColor: 'rgba(4, 95, 94, 0.2)', - borderColor: 'rgba(4, 95, 94, 0.5)', - borderWidth: 2, + // backgroundColor: 'rgba(4, 95, 94, 0.2)', + // borderColor: 'rgba(4, 95, 94, 0.5)', + // borderWidth: 2, width: '60%', lineHeight: 40, height: 40, @@ -1922,12 +1922,13 @@ const SmartInspectionContent = () => { offsetCenter: [0, '35%'], valueAnimation: true, formatter: function (value) { - return '{value|' + value.toFixed(0) + '}{unit|°C}'; + return '{value|温度:' + value.toFixed(0) + '℃}'; + // return '{value|温度:' + value.toFixed(0) + '℃}{unit|°C}'; }, rich: { value: { fontSize: 20, - fontWeight: 'bolder', + fontWeight: '400', color: 'rgba(4, 95, 94, 1)' }, unit: { @@ -1940,7 +1941,7 @@ const SmartInspectionContent = () => { data: [ { value: 28, - name: '温度' + name: '' } ] } @@ -2016,9 +2017,9 @@ const SmartInspectionContent = () => { color: 'rgba(4, 95, 94, 0.8)' }, detail: { - backgroundColor: 'rgba(4, 95, 94, 0.2)', - borderColor: 'rgba(4, 95, 94, 0.5)', - borderWidth: 2, + // backgroundColor: 'rgba(4, 95, 94, 0.2)', + // borderColor: 'rgba(4, 95, 94, 0.5)', + // borderWidth: 2, width: '60%', lineHeight: 40, height: 40, @@ -2026,12 +2027,13 @@ const SmartInspectionContent = () => { offsetCenter: [0, '35%'], valueAnimation: true, formatter: function (value) { - return '{value|' + value.toFixed(0) + '}{unit|%}'; + // return '{value|' + value.toFixed(0) + '}{unit|%}'; + return '{value|湿度:' + value.toFixed(0) + '%}'; }, rich: { value: { fontSize: 20, - fontWeight: 'bolder', + fontWeight: '400', color: 'rgba(4, 95, 94, 1)' }, unit: { @@ -2044,7 +2046,7 @@ const SmartInspectionContent = () => { data: [ { value: 55, - name: '湿度' + name: '' } ] } @@ -2080,10 +2082,12 @@ const SmartInspectionContent = () => {
-

阈值配置区

- +
+

阈值配置区

+ +
-
+
{ padding: '4px 8px', border: '1px solid #d9d9d9', borderRadius: 4, - width: 120 + width: '100%' }} />
-
+
{ padding: '4px 8px', border: '1px solid #d9d9d9', borderRadius: 4, - width: 120 + width: '100%' }} />
-
+
{ padding: '4px 8px', border: '1px solid #d9d9d9', borderRadius: 4, - width: 120 + width: '100%' }} />