Browse Source

(+) 巡检报告页面

master
liujiangyong 2 years ago
parent
commit
49c231d1c8
  1. 3
      weapp/app.json
  2. 1
      weapp/images/inspection-report.svg
  3. 66
      weapp/package/inspectionReport/inspectionReport.js
  4. 3
      weapp/package/inspectionReport/inspectionReport.json
  5. 2
      weapp/package/inspectionReport/inspectionReport.wxml
  6. 1
      weapp/package/inspectionReport/inspectionReport.wxss
  7. 6
      weapp/pages/overview/overview.js
  8. 6
      weapp/pages/overview/overview.wxml

3
weapp/app.json

@ -15,7 +15,8 @@
"startInspection/startInspection",
"inspectionInput/inspectionInput",
"troubleshooting/index",
"troubleshooting/shootingForm/index"
"troubleshooting/shootingForm/index",
"inspectionReport/inspectionReport"
]
}
],

1
weapp/images/inspection-report.svg

@ -0,0 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1742" height="128" width="128"><path d="M947.330443 280.886557L740.015166 73.57128c-13.659654-13.659654-35.779673-13.648391-49.42704 0L71.584942 692.57344c-13.648391 13.648391-13.659654 35.767386 0 49.42704l207.315277 207.315277c13.659654 13.659654 35.779673 13.648391 49.42704 0l619.00216-619.00216c13.649415-13.647367 13.661702-35.767386 0.001024-49.42704zM303.614763 875.175196L145.726527 717.28696l39.749276-39.749276 27.055146 27.055146c13.659654 13.659654 35.779673 13.648391 49.42704 0 13.648391-13.648391 13.659654-35.767386 0-49.427041l-27.055146-27.055145 39.749276-39.749276 27.055146 27.055145c13.659654 13.659654 35.779673 13.648391 49.42704 0 13.648391-13.648391 13.659654-35.767386 0-49.428064l-27.055146-27.055146 39.749276-39.749276 27.055146 27.055146c13.659654 13.659654 35.779673 13.648391 49.42704 0 13.648391-13.648391 13.660678-35.767386 0-49.428064l-27.055146-27.055146 39.749276-39.749276 27.055146 27.055146c13.659654 13.659654 35.779673 13.648391 49.42704 0 13.648391-13.648391 13.660678-35.767386 0-49.428064l-27.055145-27.055146 39.749276-39.749276 27.055146 27.055146c13.659654 13.659654 35.779673 13.648391 49.42704 0 13.648391-13.648391 13.659654-35.767386 0-49.42704l-27.055146-27.055146 39.738013-39.738013 27.055146 27.055145c13.659654 13.660678 35.779673 13.648391 49.42704 0 13.648391-13.648391 13.659654-35.767386 0-49.42704l-27.055146-27.055146 34.52439-34.524389 157.888236 157.888237-569.571024 569.574095z" fill="#3E3A39" p-id="1743"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

66
weapp/package/inspectionReport/inspectionReport.js

@ -0,0 +1,66 @@
// package/inspectionReport/inspectionReport.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

3
weapp/package/inspectionReport/inspectionReport.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

2
weapp/package/inspectionReport/inspectionReport.wxml

@ -0,0 +1,2 @@
<!--package/inspectionReport/inspectionReport.wxml-->
<text>package/inspectionReport/inspectionReport.wxml</text>

1
weapp/package/inspectionReport/inspectionReport.wxss

@ -0,0 +1 @@
/* package/inspectionReport/inspectionReport.wxss */

6
weapp/pages/overview/overview.js

@ -21,6 +21,12 @@ Page({
})
},
bindInspectionReport() {
wx.navigateTo({
url: '/package/inspectionReport/inspectionReport',
})
},
/**
* 生命周期函数--监听页面加载
*/

6
weapp/pages/overview/overview.wxml

@ -10,9 +10,9 @@
<view class="txt">问题处理</view>
<image class="right" src="/images/right.svg"></image>
</view>
<!-- <view class="box">
<image class="logo" src="/images/tabBar/icon_menu.png"></image>
<view class="box" bindtap="bindInspectionReport">
<image class="logo" src="/images/inspection-report.svg"></image>
<view class="txt">巡检报告</view>
<image class="right" src="/images/right.svg"></image>
</view> -->
</view>
</view>
Loading…
Cancel
Save