Browse Source

使用指南模块开发

dongming
mk 9 months ago
parent
commit
6fb7ff599e
  1. 7
      app.json
  2. 5
      pages/mine/mine.js
  3. 4
      pages/mine/mine.wxml
  4. BIN
      subpages/handBook/pages/image/1.png
  5. BIN
      subpages/handBook/pages/image/10.png
  6. BIN
      subpages/handBook/pages/image/2.png
  7. BIN
      subpages/handBook/pages/image/3.png
  8. BIN
      subpages/handBook/pages/image/4.png
  9. BIN
      subpages/handBook/pages/image/5.png
  10. BIN
      subpages/handBook/pages/image/6.png
  11. BIN
      subpages/handBook/pages/image/7.png
  12. BIN
      subpages/handBook/pages/image/8.png
  13. BIN
      subpages/handBook/pages/image/9.png
  14. 119
      subpages/handBook/pages/index/index.js
  15. 4
      subpages/handBook/pages/index/index.json
  16. 9
      subpages/handBook/pages/index/index.wxml
  17. 33
      subpages/handBook/pages/index/index.wxss
  18. 2
      utils/config.js

7
app.json

@ -174,6 +174,13 @@
"pages/index/map/index"
]
},
{
"root": "subpages/handBook",
"name": "handBook",
"pages": [
"pages/index/index"
]
}
],
"window": {

5
pages/mine/mine.js

@ -103,4 +103,9 @@ console.log('12312',avatarU);
url: '/subpages/myTroubleshootDemand/pages/index/index',
})
},
toHandbook(){
wx.navigateTo({
url: '/subpages/handBook/pages/index/index',
})
}
})

4
pages/mine/mine.wxml

@ -58,14 +58,14 @@
</view>
<view class="right"> <image src="../../images/right.png" mode=""/></view>
</view>
<view class="item " bind:tap="toSettings" >
<view class="item ">
<view class="left" bind:tap="toChangePassword">
<image src="../../images/login/password.png" mode=""/>
<view>修改密码</view>
</view>
<view class="right"> <image src="../../images/right.png" mode=""/></view>
</view>
<view class="item no-pseudo">
<view class="item no-pseudo" bind:tap="toHandbook">
<view class="left">
<image src="../../images/mine/gy.png" mode=""/>
<view>使用指南</view>

BIN
subpages/handBook/pages/image/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
subpages/handBook/pages/image/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
subpages/handBook/pages/image/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
subpages/handBook/pages/image/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
subpages/handBook/pages/image/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
subpages/handBook/pages/image/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

BIN
subpages/handBook/pages/image/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

BIN
subpages/handBook/pages/image/7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

BIN
subpages/handBook/pages/image/8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
subpages/handBook/pages/image/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

119
subpages/handBook/pages/index/index.js

@ -0,0 +1,119 @@
// subpages/handBook/pages/index/index.js
Page({
/**
* 页面的初始数据
*/
data: {
list:[
{
title:'登录',
content:'小程序通过输入手机号和密码的方式登录,默认密码身份证号后6位;\n 后台为社区书记、工作人员、网格员、楼院长等人配置权限,如网格员只能查看、管理本网格内的房屋、人员信息等;',
},
{
title:'房屋登记',
content:'工作人员走访时采集房屋信息,同步至管理端;\n填写房屋基本信息,包括:所在网格、所在小区、所在楼栋、所在单元、门牌号等,完成房屋新增;',
entrance:'功能入口:首页-房屋登记、工作-新增房屋信息'
},
{
title:'居民登记',
content:'工作人员走访时采集居民信息,同步至管理端;\n依次采集居民的居住房屋、基础信息、拓展信息、人员标签四类信息,完成居民新增;',
entrance:'功能入口:首页-居民登记、工作-新增居民信息'
},
{
title:'诉求上报',
content:'工作人员登记居民的诉求信息,包括事件上报、居民需求、城管事件,反馈给社区;',
entrance:'功能入口:首页-诉求上报、工作-诉求上报'
},
{
title:'电子门牌',
content:'扫居民房屋的电子门牌获取信息,包括房屋信息、我的社区、服务矩阵信息;',
entrance:'首页-扫电子门牌'
},
{
title:'满意度自查',
content:'查看社区发布的满意度调查问卷,可一键分享、可查看统计信息;可下载满意度自查二维码,向居民展示,进行扫码填写;\n可查看历史自查列表,可进行分享和查看数据统计情况;',
entrance:'功能入口:首页-满意度自查、工作-满意度自查'
},
{
title:'查询居民',
content:'支持通过姓名、手机号、身份证号查询居民;\n对疑似错误的信息进行统计:展示当前组织下重名人员数量、同房屋下重名人员、单户存在≥5人的数量,提醒工作人员重点进行核对;\n展示当前社区的居民数、党员数、关注人群数,可查看详细居民信息和信息完整度;',
},
{
title:'查询房屋',
content:'支持通过小区、楼栋、单元查询房屋信息;\n对疑似错误的信息进行统计:展示当前组织下单户存在≥5人的房屋数、房屋下无居民的房屋数,提醒工作人员重点进行核对;\n展示当前社区的房屋数、自住数、闲置数、出租数、未出售数,可查看房屋详情;',
},
{
title:'安检巡查',
content:'工作人员在巡查过程中进行安全巡查信息的记录,填写信息包括:企业名称、检查人员、检查结论、未整改隐患等信息;\n 待复核:展示待复核的列表,可对待复核清单进行复查;已合格:展示已复核且合格的巡查列表;',
entrance:'功能入口:工作-安检巡查'
},
{
title:'热线接办',
content:'展示上报时间列表,可进行办理和退件操作;\n可按照工单号、手机号、办理状态进行案件检索;',
entrance:'功能入口:工作-热线接办'
}
]
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
},
previewImage(e){
}
})

4
subpages/handBook/pages/index/index.json

@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationBarTitleText": "使用指南"
}

9
subpages/handBook/pages/index/index.wxml

@ -0,0 +1,9 @@
<!--subpages/handBook/pages/index/index.wxml-->
<view class="flex">
<view class="item" wx:for="{{list}}" wx:key="index">
<view class="title">{{item.title}}</view>
<view class="entrance" wx:if="{{item.entrance}}">{{item.entrance}}</view>
<text class="content">{{item.content}}</text>
<image src="../image/{{index + 1}}.png" data-index="{{index}}" bind:tap="previewImage" mode="widthFix"/>
</view>
</view>

33
subpages/handBook/pages/index/index.wxss

@ -0,0 +1,33 @@
/* subpages/handBook/pages/index/index.wxss */
page {
width: 100%;
overflow-y: auto;
background-color: #f7f7f7;
padding: 0 30rpx;
box-sizing: border-box;
}
.flex{
padding: 0 20rpx;
box-sizing: border-box;
background-color: #ffffff;
border-radius: 10rpx;
margin-top: 20rpx;
}
.title{
font-size: 36rpx;
font-weight: bold;
margin-bottom: 15rpx;
}
image{
margin-top: 20rpx;
}
.content{
padding-left: 50rpx;
box-sizing: border-box;
}
.entrance{
padding-left: 50rpx;
box-sizing: border-box;
}

2
utils/config.js

@ -13,7 +13,7 @@ module.exports = {
};
function BASEURL() {
return 'http://192.168.1.144/api/' //测试环境
return 'https://epmet-preview.elinkservice.cn/api/' //测试环境
}
function getToken() {

Loading…
Cancel
Save