diff --git a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js index 1c79c01..96809f5 100644 --- a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js +++ b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.js @@ -300,7 +300,7 @@ Page({ }); }, addAnother() { - let newValue = this.data.arr1.length + 1; // 根据数组长度确定新值 + let newValue = this.data.arr1.length + 1; // 根据addAnother数组长度确定新值 let newArr = this.data.arr1.concat({ value: newValue.toString(), name: this.data.hazardDesc diff --git a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxss b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxss index fedec8a..f5bb206 100644 --- a/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxss +++ b/subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxss @@ -110,7 +110,6 @@ page { display: flex; flex-direction: column; margin: 20rpx; - padding-left: 40rpx; } .image1{ margin-top: 20rpx; diff --git a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml index 2355ea5..f2f9bb3 100644 --- a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml +++ b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxml @@ -32,7 +32,7 @@ - + diff --git a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxss b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxss index bd670fc..c76320a 100644 --- a/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxss +++ b/subpages/safetyinspection/pages/safetyinspection/safetyinspection.wxss @@ -134,6 +134,7 @@ page { display: flex; flex-direction: column; margin: 20rpx; + padding-left: 40rpx; } .image1{ margin-top: 20rpx;