From 49c231d1c89604ba9acf0ab9765d40d19d46a588 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Thu, 2 Mar 2023 10:01:05 +0800 Subject: [PATCH] =?UTF-8?q?(+)=20=E5=B7=A1=E6=A3=80=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/app.json | 3 +- weapp/images/inspection-report.svg | 1 + .../inspectionReport/inspectionReport.js | 66 +++++++++++++++++++ .../inspectionReport/inspectionReport.json | 3 + .../inspectionReport/inspectionReport.wxml | 2 + .../inspectionReport/inspectionReport.wxss | 1 + weapp/pages/overview/overview.js | 6 ++ weapp/pages/overview/overview.wxml | 6 +- 8 files changed, 84 insertions(+), 4 deletions(-) create mode 100644 weapp/images/inspection-report.svg create mode 100644 weapp/package/inspectionReport/inspectionReport.js create mode 100644 weapp/package/inspectionReport/inspectionReport.json create mode 100644 weapp/package/inspectionReport/inspectionReport.wxml create mode 100644 weapp/package/inspectionReport/inspectionReport.wxss diff --git a/weapp/app.json b/weapp/app.json index 48ca4ea..c143865 100644 --- a/weapp/app.json +++ b/weapp/app.json @@ -15,7 +15,8 @@ "startInspection/startInspection", "inspectionInput/inspectionInput", "troubleshooting/index", - "troubleshooting/shootingForm/index" + "troubleshooting/shootingForm/index", + "inspectionReport/inspectionReport" ] } ], diff --git a/weapp/images/inspection-report.svg b/weapp/images/inspection-report.svg new file mode 100644 index 0000000..49ddb80 --- /dev/null +++ b/weapp/images/inspection-report.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/weapp/package/inspectionReport/inspectionReport.js b/weapp/package/inspectionReport/inspectionReport.js new file mode 100644 index 0000000..0fccf18 --- /dev/null +++ b/weapp/package/inspectionReport/inspectionReport.js @@ -0,0 +1,66 @@ +// package/inspectionReport/inspectionReport.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/weapp/package/inspectionReport/inspectionReport.json b/weapp/package/inspectionReport/inspectionReport.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/weapp/package/inspectionReport/inspectionReport.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/weapp/package/inspectionReport/inspectionReport.wxml b/weapp/package/inspectionReport/inspectionReport.wxml new file mode 100644 index 0000000..90de8ed --- /dev/null +++ b/weapp/package/inspectionReport/inspectionReport.wxml @@ -0,0 +1,2 @@ + +package/inspectionReport/inspectionReport.wxml diff --git a/weapp/package/inspectionReport/inspectionReport.wxss b/weapp/package/inspectionReport/inspectionReport.wxss new file mode 100644 index 0000000..b130672 --- /dev/null +++ b/weapp/package/inspectionReport/inspectionReport.wxss @@ -0,0 +1 @@ +/* package/inspectionReport/inspectionReport.wxss */ \ No newline at end of file diff --git a/weapp/pages/overview/overview.js b/weapp/pages/overview/overview.js index ca01b03..1bbd590 100644 --- a/weapp/pages/overview/overview.js +++ b/weapp/pages/overview/overview.js @@ -21,6 +21,12 @@ Page({ }) }, + bindInspectionReport() { + wx.navigateTo({ + url: '/package/inspectionReport/inspectionReport', + }) + }, + /** * 生命周期函数--监听页面加载 */ diff --git a/weapp/pages/overview/overview.wxml b/weapp/pages/overview/overview.wxml index f95e500..98ce914 100644 --- a/weapp/pages/overview/overview.wxml +++ b/weapp/pages/overview/overview.wxml @@ -10,9 +10,9 @@ 问题处理 - + \ No newline at end of file