diff --git a/components/Head/index.js b/components/Head/index.js
index 90d9c00..097343d 100644
--- a/components/Head/index.js
+++ b/components/Head/index.js
@@ -1,11 +1,22 @@
const App = getApp();
Component({
- properties: {},
+ properties: {
+ isBack: {
+ type: Boolean,
+ default: false
+ },
+ text: {
+ type: String,
+ default: ""
+ }
+ },
data: {
statusHeight: 0,
navigationHeight: 0,
agencyName: '',
+ leftWidth: 0,
+ iconWidth: 0,
},
lifetimes: {
ready: function () {
@@ -14,8 +25,28 @@ Component({
navigationHeight: App.globalData.deviceInfo.navigationHeight,
agencyName: App.globalData.user.agencyName,
})
+ const menuButton = wx.getMenuButtonBoundingClientRect();
+ console.log(menuButton)
+ this.setData({
+ leftWidth: menuButton.left,
+ iconWidth: menuButton.width,
+ })
},
},
- methods: {}
+ methods: {
+ back() {
+ wx.navigateBack({
+ delta: 1
+ })
+ },
+ getNavigationInfo: function () {
+ var that = this;
+ wx.getSystemInfo({
+ success (res) {
+
+ }
+ })
+ }
+ }
});
diff --git a/components/Head/index.wxml b/components/Head/index.wxml
index a1f4ed1..132e168 100644
--- a/components/Head/index.wxml
+++ b/components/Head/index.wxml
@@ -2,9 +2,22 @@
-
- {{agencyName}}
+
+
+
+
+
+
+ {{text}}
+
+
+
+
+
+ {{agencyName}}
+
+
\ No newline at end of file
diff --git a/components/Head/index.wxss b/components/Head/index.wxss
index 63c4b37..1d403ca 100644
--- a/components/Head/index.wxss
+++ b/components/Head/index.wxss
@@ -23,6 +23,21 @@
height: 34rpx;
margin-right: 17rpx;
}
+.header .navigation .back-nav {
+ width: 100%;
+}
+.header .navigation .back-nav .con {
+ display: flex;
+ align-items: center;
+}
+
+.header .navigation .back-nav .con view {
+ height: 100%;
+}
+.header .navigation .back-nav .con view.text {
+ text-align: center;
+ width: 100%;
+}
.header .navigation .con {
position: relative;
z-index: 2;
diff --git a/images/statistics/icon-back.png b/images/statistics/icon-back.png
new file mode 100644
index 0000000..8c80c0a
Binary files /dev/null and b/images/statistics/icon-back.png differ
diff --git a/pages/statistics/statistics.js b/pages/statistics/statistics.js
index 7915284..9af0c48 100644
--- a/pages/statistics/statistics.js
+++ b/pages/statistics/statistics.js
@@ -34,7 +34,7 @@ Page({
},
gotopage() {
wx.navigateTo({
- url: '/pages/login/login',
+ url: '/subpages/statistics/pages/dissatisfied/list/list',
})
}
})
\ No newline at end of file
diff --git a/subpages/statistics/images/down.png b/subpages/statistics/images/down.png
new file mode 100644
index 0000000..34d3e7a
Binary files /dev/null and b/subpages/statistics/images/down.png differ
diff --git a/subpages/statistics/images/down2.png b/subpages/statistics/images/down2.png
new file mode 100644
index 0000000..3be4092
Binary files /dev/null and b/subpages/statistics/images/down2.png differ
diff --git a/subpages/statistics/images/right.png b/subpages/statistics/images/right.png
new file mode 100644
index 0000000..3a34fd8
Binary files /dev/null and b/subpages/statistics/images/right.png differ
diff --git a/subpages/statistics/pages/crowdPortrait/crowdPortrait.json b/subpages/statistics/pages/crowdPortrait/crowdPortrait.json
index d26e0b3..7994964 100644
--- a/subpages/statistics/pages/crowdPortrait/crowdPortrait.json
+++ b/subpages/statistics/pages/crowdPortrait/crowdPortrait.json
@@ -1,4 +1,7 @@
{
"navigationBarTitleText": "画像匹配人员",
- "usingComponents": {}
+ "navigationStyle": "custom",
+ "usingComponents": {
+ "Head": "../../../../../components/Head"
+ }
}
\ No newline at end of file
diff --git a/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml b/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml
index 9178313..8573dd2 100644
--- a/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml
+++ b/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml
@@ -1,2 +1,21 @@
-
-subpages/statistics/pages/crowdPortrait/crowdPortrait.wxml
+
+
+
+
+
+
+ “基础教育” 潜在不满意人员: 378 人
+
+
+
+
+
+ 刘萍 13362021000
+
+ 地址:阳光城小区3号楼2单元202户
+
+
+
+
+
+
diff --git a/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxss b/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxss
index 4106b94..9f07ff4 100644
--- a/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxss
+++ b/subpages/statistics/pages/crowdPortrait/crowdPortrait.wxss
@@ -1 +1,50 @@
-/* subpages/statistics/pages/crowdPortrait/crowdPortrait.wxss */
\ No newline at end of file
+.statistics-container {
+ padding: 20rpx;
+}
+.card {
+ background: #fff;
+ border-radius: 20rpx;
+ padding: 30rpx;
+ margin-top: 20rpx;
+}
+.title {
+ font-size: 30rpx;
+ color: #333333;
+ margin-bottom: 60rpx;
+}
+.bold {
+ font-weight: bold;
+}
+.blue {
+ color: #3A80E7;
+}
+.log-item {
+ border-bottom: 1px solid #EAEAEA;
+ padding: 30rpx 0;
+}
+.log-item .user {
+ display: flex;
+ align-items: center;
+}
+.log-item .icon {
+ width: 48rpx;
+ height: 48rpx;
+}
+.log-item .name {
+ font-size: 32rpx;
+ font-weight: 500;
+ color: #333333;
+}
+.log-item .address {
+ font-size: 28rpx;
+ font-weight: 500;
+ color: #999999;
+}
+.log-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+page {
+ background: #f7f7f7;
+}
\ No newline at end of file
diff --git a/subpages/statistics/pages/dissatisfied/detial/detail.js b/subpages/statistics/pages/dissatisfied/detial/detail.js
index 8e90e10..f57a1f6 100644
--- a/subpages/statistics/pages/dissatisfied/detial/detail.js
+++ b/subpages/statistics/pages/dissatisfied/detial/detail.js
@@ -1,66 +1,8 @@
-// subpages/statistics/pages/dissatisfied/detial/detail.js
Page({
-
- /**
- * 页面的初始数据
- */
data: {
},
-
- /**
- * 生命周期函数--监听页面加载
- */
onLoad(options) {
- },
-
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady() {
-
- },
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow() {
-
- },
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide() {
-
- },
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload() {
-
- },
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh() {
-
- },
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom() {
-
- },
-
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage() {
-
}
})
\ No newline at end of file
diff --git a/subpages/statistics/pages/dissatisfied/detial/detail.json b/subpages/statistics/pages/dissatisfied/detial/detail.json
index 508d34a..9b6f92c 100644
--- a/subpages/statistics/pages/dissatisfied/detial/detail.json
+++ b/subpages/statistics/pages/dissatisfied/detial/detail.json
@@ -1,4 +1,7 @@
{
"navigationBarTitleText": "详情",
- "usingComponents": {}
+ "navigationStyle": "custom",
+ "usingComponents": {
+ "Head": "../../../../../components/Head"
+ }
}
\ No newline at end of file
diff --git a/subpages/statistics/pages/dissatisfied/detial/detail.wxml b/subpages/statistics/pages/dissatisfied/detial/detail.wxml
index 99c1628..14fdcb9 100644
--- a/subpages/statistics/pages/dissatisfied/detial/detail.wxml
+++ b/subpages/statistics/pages/dissatisfied/detial/detail.wxml
@@ -1,2 +1,57 @@
-
-subpages/statistics/pages/dissatisfied/detial/detail.wxml
+
+
+
+
+ 王阳 15620233333
+ 风险
+
+ 亿星社区第一网格 金色海岸小区1号楼2单元201
+
+
+ 不满意原因:附近适龄入学儿童多,幼儿园一共就 有2-3个,一个班要有40多个孩子,报名困难。
+
+ 2023-08-20 17:40:23
+
+
+
+
+ 历史及潜在不满意事项
+
+
+
+ 12345投诉
+
+ 76
+
+
+
+ 省满意度调查
+
+ 24
+
+
+
+ 社区满意度自查
+
+ 13
+
+
+
+
+
+ 回访记录
+
+
+
+
+ 电话回访
+ 杨平(网格长)
+
+ 2023-08-23
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/subpages/statistics/pages/dissatisfied/detial/detail.wxss b/subpages/statistics/pages/dissatisfied/detial/detail.wxss
index a86c7d0..17e7b08 100644
--- a/subpages/statistics/pages/dissatisfied/detial/detail.wxss
+++ b/subpages/statistics/pages/dissatisfied/detial/detail.wxss
@@ -1 +1,164 @@
-/* subpages/statistics/pages/dissatisfied/detial/detail.wxss */
\ No newline at end of file
+page {
+ background: #f7f7f7;
+}
+.statistics-container {
+ padding: 20rpx;
+}
+.user-info {
+ background: #FFFFFF;
+ border-radius: 20rpx;
+ padding: 30rpx;
+}
+.user-info .name {
+ font-size: 32rpx;
+ font-weight: bold;
+ color: #333333;
+ margin-bottom: 30rpx;
+}
+.user-info .address {
+ font-size: 28rpx;
+ font-weight: 400;
+ color: #666666;
+ padding-bottom: 30rpx;
+ margin-bottom: 30rpx;
+ border-bottom: 1px solid #EAEAEA;
+}
+.user-info .text {
+ font-size: 30rpx;
+ font-weight: 500;
+ color: #333333;
+ line-height: 46rpx;
+}
+.user-info .time {
+ font-size: 26rpx;
+ font-weight: 400;
+ color: #C1C1C1;
+}
+
+.card {
+ background: #fff;
+ border-radius: 20rpx;
+ padding: 30rpx;
+ margin-top: 20rpx;
+}
+.card .title {
+ font-size: 34rpx;
+ font-weight: bold;
+ color: #333333;
+ display: flex;
+ align-items: center;
+ margin-left: -30rpx;
+ margin-bottom: 39rpx;
+ position: relative;
+}
+.card .title:before {
+ content: '';
+ display: block;
+ width: 10rpx;
+ height: 28rpx;
+ background: #3A80E7;
+ border-radius: 4rpx;
+ margin-right: 20rpx;
+}
+
+.num-list {
+ display: flex;
+ width: 100%;
+ justify-content: space-between;
+ position: relative;
+}
+.num-list .num-item {
+}
+.num-list .num-item:after {
+ content: '';
+ display: block;
+ position: absolute;
+ right: 0;
+ top: calc(50% - 45rpx);
+ width: 1rpx;
+ height: 90rpx;
+ background: #C1C1C1;
+ opacity: 0.66;
+}
+.num-list .num-item:nth-of-type(1):after {
+ left: 27%;
+}
+.num-list .num-item:nth-of-type(2):after {
+ left: 64%;
+}
+.num-list .num-item:last-child:after {
+ display: none;
+}
+.num-list .num-item .txt {
+ font-size: 28rpx;
+ font-weight: 500;
+ color: #999999;
+ margin-bottom: 30rpx;
+}
+.num-list .num-item .num {
+ font-size: 42rpx;
+ font-weight: bold;
+ color: #333333;
+}
+
+.tag {
+ display: inline-block;
+ line-height: 40rpx;
+ height: 40rpx;
+ border-radius: 20rpx;
+ font-size: 26rpx;
+ font-weight: 500;
+ padding: 0 20rpx;
+ margin-right: 30rpx;
+}
+
+.blue {
+ background: rgba(79, 148, 255, 0.14);
+ color: #4F94FF;
+}
+
+.orange {
+ background: rgba(255, 120, 60, 0.14);
+ color: #FF783C;
+}
+
+.green {
+ background: rgba(4, 184, 173, 0.14);
+ color: #04B8AD;
+}
+
+.red {
+ color: #FA1919;
+ background: rgba(255, 48, 27, 0.14);
+}
+.log-item {
+ border-bottom: 1px solid #EAEAEA;
+ padding: 30rpx 0;
+}
+.log-item .user {
+ display: flex;
+ align-items: center;
+}
+.log-item .tag {
+ margin-right: 17px;
+}
+.log-item .icon {
+ width: 48rpx;
+ height: 48rpx;
+}
+.log-item .name {
+ font-size: 32rpx;
+ font-weight: 500;
+ color: #333333;
+}
+.log-item .date {
+ font-size: 28rpx;
+ font-weight: 500;
+ color: #C1C1C1;
+ margin-top: 17rpx;
+}
+.log-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
\ No newline at end of file
diff --git a/subpages/statistics/pages/dissatisfied/list/list.js b/subpages/statistics/pages/dissatisfied/list/list.js
index 99971a8..8d38834 100644
--- a/subpages/statistics/pages/dissatisfied/list/list.js
+++ b/subpages/statistics/pages/dissatisfied/list/list.js
@@ -1,66 +1,18 @@
-// subpages/statistics/pages/dissatisfied/list/list.js
Page({
-
- /**
- * 页面的初始数据
- */
data: {
-
+ month:'',
+ typeIndex: -1,
+ typeList: []
},
-
- /**
- * 生命周期函数--监听页面加载
- */
onLoad(options) {
},
-
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady() {
+ onConfirm() {
},
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow() {
-
- },
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide() {
-
- },
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload() {
-
- },
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh() {
-
- },
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom() {
-
- },
-
- /**
- * 用户点击右上角分享
- */
- onShareAppMessage() {
-
+ gotopage(e) {
+ wx.navigateTo({
+ url: 'subpages/statistics/pages/dissatisfied/detial/detail?id='+e.currentTarget.dataset.id
+ })
}
})
\ No newline at end of file
diff --git a/subpages/statistics/pages/dissatisfied/list/list.json b/subpages/statistics/pages/dissatisfied/list/list.json
index 65c3a7e..fa08797 100644
--- a/subpages/statistics/pages/dissatisfied/list/list.json
+++ b/subpages/statistics/pages/dissatisfied/list/list.json
@@ -1,4 +1,5 @@
{
"navigationBarTitleText": "不满意事项详细",
- "usingComponents": {}
+ "usingComponents": {
+ }
}
\ No newline at end of file
diff --git a/subpages/statistics/pages/dissatisfied/list/list.wxml b/subpages/statistics/pages/dissatisfied/list/list.wxml
index 3bf5e59..6e845ee 100644
--- a/subpages/statistics/pages/dissatisfied/list/list.wxml
+++ b/subpages/statistics/pages/dissatisfied/list/list.wxml
@@ -1,2 +1,122 @@
-
-subpages/statistics/pages/dissatisfied/list/list.wxml
+
+
+
+ {{ month ? month : '按月度' }}
+
+
+
+
+
+
+ {{ typeIndex >= 0 ? typeList[typeIndex].label : '按类型' }}
+
+
+
+ 筛选
+
+
+
+
+
+ 8月
+
+
+ 不满意事项: 132项
+ 不满意人数: 110人
+
+
+
+
+
+
+ 杨萍 133****9000
+
+
+ 12345投诉
+
+
+ 2023-08-12 15:30:20
+ 违章建筑
+
+
+ 村前的老宅有个饭店,想要扩建二层,周边村民都 不同意,该居民想自行加高,对此不满,要求停止
+ 建设,希望责任部门尽快落实该信息·
+
+
+
+
+
+ 杨萍 133****9000
+ 风险
+
+
+ 省满意度调查
+
+
+ 2023-08-12 15:30:20
+ 违章建筑
+
+
+ 村前的老宅有个饭店,想要扩建二层,周边村民都 不同意,该居民想自行加高,对此不满,要求停止
+ 建设,希望责任部门尽快落实该信息·
+
+
+
+
+
+
+ 7月
+
+
+ 不满意事项: 132项
+ 不满意人数: 110人
+
+
+
+
+
+
+ 杨萍 133****9000
+
+
+ 12345投诉
+
+
+ 2023-08-12 15:30:20
+ 违章建筑
+
+
+ 村前的老宅有个饭店,想要扩建二层,周边村民都 不同意,该居民想自行加高,对此不满,要求停止
+ 建设,希望责任部门尽快落实该信息·
+
+
+
+
+
+ 杨萍 133****9000
+
+
+ 社区满意度自查
+
+
+ 2023-08-12 15:30:20
+ 违章建筑
+
+
+ 村前的老宅有个饭店,想要扩建二层,周边村民都 不同意,该居民想自行加高,对此不满,要求停止
+ 建设,希望责任部门尽快落实该信息·
+
+
+
+
+
+
diff --git a/subpages/statistics/pages/dissatisfied/list/list.wxss b/subpages/statistics/pages/dissatisfied/list/list.wxss
index a2f541e..d32af5b 100644
--- a/subpages/statistics/pages/dissatisfied/list/list.wxss
+++ b/subpages/statistics/pages/dissatisfied/list/list.wxss
@@ -1 +1,176 @@
-/* subpages/statistics/pages/dissatisfied/list/list.wxss */
\ No newline at end of file
+page {
+ background: #f7f7f7;
+}
+
+.screen {
+ display: flex;
+ justify-content: space-between;
+ background: #fff;
+ padding: 18rpx 22rpx;
+}
+
+.picker {
+ width: 241rpx;
+ height: 56rpx;
+ background: rgba(58, 128, 231, 0.16);
+ border: 1px solid #3A80E7;
+ border-radius: 28rpx;
+ font-size: 30rpx;
+ font-weight: 500;
+ color: #3A80E7;
+ line-height: 56rpx;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+}
+
+.picker-type image,
+.picker image {
+ width: 24rpx;
+ height: 24rpx;
+}
+
+.picker-type {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+ width: 301rpx;
+ height: 56rpx;
+ background: rgba(193, 193, 193, 0.16);
+ border: 1px solid #DBDBDB;
+ border-radius: 28rpx;
+ font-size: 30rpx;
+ font-weight: 500;
+ color: #C1C1C1;
+ line-height: 56rpx;
+ text-align: center;
+}
+
+.btn {
+ width: 120rpx;
+ height: 56rpx;
+ line-height: 56rpx;
+ background: #3A80E7;
+ border-radius: 28rpx;
+ font-size: 28rpx;
+ font-weight: 500;
+ color: #FFFFFF;
+ text-align: center;
+}
+
+.statistics-container {
+ padding: 0 20rpx 20rpx;
+}
+
+.card-list {
+ margin-top: 20rpx;
+ padding: 0 30rpx;
+ background: #fff;
+}
+
+.head {
+ border-bottom: 1px solid #EAEAEA;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 30rpx 0;
+}
+
+.month {
+ font-size: 54rpx;
+ font-weight: bold;
+ color: #3A80E7;
+}
+
+.month text {
+ font-size: 26rpx;
+ font-weight: 500;
+}
+
+.head-right {
+ display: flex;
+ font-size: 28rpx;
+ font-weight: 500;
+ color: #666666;
+}
+
+.head-right .txt {
+ margin-left: 30rpx;
+}
+
+.card-list .content .item {
+ padding: 30rpx 0;
+ border-bottom: 1px solid #EAEAEA;
+}
+
+.card-list .content .item .user-info {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.card-list .content .item .user-info .name {
+ font-size: 32rpx;
+ font-weight: 500;
+ color: #333333;
+}
+
+.tag {
+ display: inline-block;
+ line-height: 40rpx;
+ height: 40rpx;
+ border-radius: 20rpx;
+ font-size: 26rpx;
+ font-weight: 500;
+ padding: 0 20rpx;
+}
+
+.blue {
+ background: rgba(79, 148, 255, 0.14);
+ color: #4F94FF;
+}
+
+.orange {
+ background: rgba(255, 120, 60, 0.14);
+ color: #FF783C;
+}
+
+.green {
+ background: rgba(4, 184, 173, 0.14);
+ color: #04B8AD;
+}
+
+.red {
+ color: #FA1919;
+ background: rgba(255, 48, 27, 0.14);
+}
+
+.date {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin: 15rpx 0 29rpx;
+}
+
+.date .time {
+ font-size: 26rpx;
+ font-weight: 500;
+ color: #C1C1C1;
+}
+
+.date .type {
+ font-size: 24rpx;
+ font-weight: 500;
+ color: #999999;
+}
+
+.describe {
+ font-size: 30rpx;
+ font-weight: 500;
+ color: #333333;
+ line-height: 46rpx;
+}