From 25c63b4f780d6936e1815873bfd218439b27bb6d Mon Sep 17 00:00:00 2001
From: ZhaoTongYao <531131322@qq.com>
Date: Mon, 31 Aug 2020 09:31:35 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BF=97=E5=8F=8B?=
=?UTF-8?q?=E6=9C=B5=E6=9C=B5=E6=90=9C=E7=B4=A2=E7=BF=BB=E9=A1=B5BUG?=
=?UTF-8?q?=EF=BC=9B=E7=A7=AF=E5=88=86=E7=81=AB=E7=81=AB=E4=B8=AD=E7=88=B1?=
=?UTF-8?q?=E5=BF=83=E6=97=B6=E9=95=BF=E5=8D=95=E4=BD=8D=E6=94=B9=E4=B8=BA?=
=?UTF-8?q?=E5=B0=8F=E6=97=B6=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/heartNew/heartNew.js | 10 +-
project.config.json | 284 +++++++++---------
.../pages/leaderboardNew/leaderboardNew.wxml | 2 +-
3 files changed, 150 insertions(+), 146 deletions(-)
diff --git a/pages/heartNew/heartNew.js b/pages/heartNew/heartNew.js
index eaa15a0..0a0cf07 100644
--- a/pages/heartNew/heartNew.js
+++ b/pages/heartNew/heartNew.js
@@ -92,6 +92,7 @@ Page({
let parms = {
pageIndex: this.data.indexPage,
pageSize: this.data.pageSize,
+ nickname: this.data.searchName
}
this.volunteerlist(parms)
}
@@ -137,6 +138,7 @@ Page({
let parms = {
pageIndex: this.data.indexPage,
pageSize: this.data.pageSize,
+ nickname: this.data.searchName
}
this.volunteerlist(parms)
} else if (e.currentTarget.dataset.tab == "tab2") {
@@ -260,14 +262,15 @@ Page({
})
return;
}
+ this.setData({
+ volunteerlist: [],
+ indexPage: 1
+ })
let parms = {
pageIndex: this.data.indexPage,
pageSize: this.data.pageSize,
nickname: this.data.searchName
}
- this.setData({
- volunteerlist: []
- })
this.volunteerlist(parms)
},
/**
@@ -345,6 +348,7 @@ Page({
let parms = {
pageIndex: this.data.indexPage,
pageSize: this.data.pageSize,
+ nickname: this.data.searchName
}
this.volunteerlist(parms)
} else if (this.data.selectedTab == "tab2") {
diff --git a/project.config.json b/project.config.json
index beae865..3a679df 100644
--- a/project.config.json
+++ b/project.config.json
@@ -1,144 +1,144 @@
{
- "description": "项目配置文件",
- "packOptions": {
- "ignore": []
- },
- "setting": {
- "urlCheck": false,
- "es6": true,
- "postcss": true,
- "preloadBackgroundData": false,
- "minified": true,
- "newFeature": true,
- "coverView": true,
- "autoAudits": false,
- "showShadowRootInWxmlPanel": true,
- "scopeDataCheck": false,
- "checkInvalidKey": true,
- "checkSiteMap": true,
- "uploadWithSourceMap": true,
- "compileHotReLoad": false,
- "babelSetting": {
- "ignore": [],
- "disablePlugins": [],
- "outputPath": ""
- },
- "useIsolateContext": true,
- "useCompilerModule": false,
- "userConfirmedUseCompilerModuleSwitch": false
- },
- "compileType": "miniprogram",
- "libVersion": "2.8.2",
- "appid": "wx6dcf544cdae7d4ec",
- "projectname": "%E7%B2%BE%E8%87%B4%E9%94%A6%E6%B0%B4-%E5%B1%85%E6%B0%9 1%E7%AB%AF",
- "debugOptions": {
- "hidedInDevtools": []
- },
- "isGameTourist": false,
- "simulatorType": "wechat",
- "simulatorPluginLibVersion": {},
- "condition": {
- "search": {
- "current": -1,
- "list": []
- },
- "conversation": {
- "current": -1,
- "list": []
- },
- "plugin": {
- "current": -1,
- "list": []
- },
- "game": {
- "currentL": -1,
- "list": []
- },
- "gamePlugin": {
- "current": -1,
- "list": []
- },
- "miniprogram": {
- "current": -1,
- "list": [
- {
- "id": 0,
- "name": "pages/formid/formid",
- "pathName": "pages/formid/formid",
- "query": "gid=1233592630168813569",
- "scene": 1011
- },
- {
- "id": 1,
- "name": "pages/indexNew/indexNew",
- "pathName": "pages/indexNew/indexNew",
- "query": "scene=1233592247862198274",
- "scene": 1011
- },
- {
- "id": 2,
- "name": "网格长注册",
- "pathName": "pages/index/index",
- "query": "scene=gridLeader",
- "scene": 1011
- },
- {
- "id": 3,
- "name": "subpages/home/pages/newsDetail/newsDetail",
- "pathName": "subpages/home/pages/newsDetail/newsDetail",
- "query": "id=7c8bc749ff4b6380bf1d902c0bde0ba&defaultGridId=1233592630168813569",
- "scene": null
- },
- {
- "id": -1,
- "name": "社群列表",
- "pathName": "subpages/associationNew/pages/associationlist/associationlist",
- "query": "",
- "scene": null
- },
- {
- "id": 5,
- "name": "数据端跳转",
- "pathName": "pages/indexNew/indexNew",
- "query": "scene=1277169327606366209&from=analysis",
- "scene": null
- },
- {
- "id": 6,
- "name": "工作端跳转",
- "pathName": "pages/indexNew/indexNew",
- "query": "scene=1280737901335838721&from=work",
- "scene": null
- },
- {
- "id": -1,
- "name": "锦水档案",
- "pathName": "subpages/understandJs/pages/archives/archives",
- "query": "",
- "scene": null
- },
- {
- "id": 8,
- "name": "搜索页面",
- "pathName": "subpages/oneKeyService/pages/search/search",
- "query": "",
- "scene": null
- },
- {
- "id": -1,
- "name": "注册页面",
- "pathName": "pages/toRegister/toRegister",
- "query": "",
- "scene": null
- },
- {
- "id": -1,
- "name": "subpages/heart/pages/leaderboardNew/leaderboardNew",
- "pathName": "subpages/heart/pages/leaderboardNew/leaderboardNew",
- "query": "",
- "scene": null
- }
- ]
- }
- }
+ "description": "项目配置文件",
+ "packOptions": {
+ "ignore": []
+ },
+ "setting": {
+ "urlCheck": false,
+ "es6": true,
+ "postcss": true,
+ "preloadBackgroundData": false,
+ "minified": true,
+ "newFeature": true,
+ "coverView": true,
+ "autoAudits": false,
+ "showShadowRootInWxmlPanel": true,
+ "scopeDataCheck": false,
+ "checkInvalidKey": true,
+ "checkSiteMap": true,
+ "uploadWithSourceMap": true,
+ "compileHotReLoad": false,
+ "babelSetting": {
+ "ignore": [],
+ "disablePlugins": [],
+ "outputPath": ""
+ },
+ "useIsolateContext": true,
+ "useCompilerModule": false,
+ "userConfirmedUseCompilerModuleSwitch": false
+ },
+ "compileType": "miniprogram",
+ "libVersion": "2.8.2",
+ "appid": "wx6dcf544cdae7d4ec",
+ "projectname": "%E7%B2%BE%E8%87%B4%E9%94%A6%E6%B0%B4-%E5%B1%85%E6%B0%9 1%E7%AB%AF",
+ "debugOptions": {
+ "hidedInDevtools": []
+ },
+ "isGameTourist": false,
+ "simulatorType": "wechat",
+ "simulatorPluginLibVersion": {},
+ "condition": {
+ "search": {
+ "current": -1,
+ "list": []
+ },
+ "conversation": {
+ "current": -1,
+ "list": []
+ },
+ "plugin": {
+ "current": -1,
+ "list": []
+ },
+ "game": {
+ "currentL": -1,
+ "list": []
+ },
+ "gamePlugin": {
+ "current": -1,
+ "list": []
+ },
+ "miniprogram": {
+ "current": -1,
+ "list": [
+ {
+ "id": 0,
+ "name": "pages/formid/formid",
+ "pathName": "pages/formid/formid",
+ "query": "gid=1233592630168813569",
+ "scene": 1011
+ },
+ {
+ "id": 1,
+ "name": "pages/indexNew/indexNew",
+ "pathName": "pages/indexNew/indexNew",
+ "query": "scene=1233592247862198274",
+ "scene": 1011
+ },
+ {
+ "id": 2,
+ "name": "网格长注册",
+ "pathName": "pages/index/index",
+ "query": "scene=gridLeader",
+ "scene": 1011
+ },
+ {
+ "id": 3,
+ "name": "subpages/home/pages/newsDetail/newsDetail",
+ "pathName": "subpages/home/pages/newsDetail/newsDetail",
+ "query": "id=7c8bc749ff4b6380bf1d902c0bde0ba&defaultGridId=1233592630168813569",
+ "scene": null
+ },
+ {
+ "id": -1,
+ "name": "社群列表",
+ "pathName": "subpages/associationNew/pages/associationlist/associationlist",
+ "query": "",
+ "scene": null
+ },
+ {
+ "id": 5,
+ "name": "数据端跳转",
+ "pathName": "pages/indexNew/indexNew",
+ "query": "scene=1277169327606366209&from=analysis",
+ "scene": null
+ },
+ {
+ "id": 6,
+ "name": "工作端跳转",
+ "pathName": "pages/indexNew/indexNew",
+ "query": "scene=1280737901335838721&from=work",
+ "scene": null
+ },
+ {
+ "id": -1,
+ "name": "锦水档案",
+ "pathName": "subpages/understandJs/pages/archives/archives",
+ "query": "",
+ "scene": null
+ },
+ {
+ "id": 8,
+ "name": "搜索页面",
+ "pathName": "subpages/oneKeyService/pages/search/search",
+ "query": "",
+ "scene": null
+ },
+ {
+ "id": -1,
+ "name": "注册页面",
+ "pathName": "pages/toRegister/toRegister",
+ "query": "",
+ "scene": null
+ },
+ {
+ "id": -1,
+ "name": "subpages/heart/pages/leaderboardNew/leaderboardNew",
+ "pathName": "subpages/heart/pages/leaderboardNew/leaderboardNew",
+ "query": "",
+ "scene": null
+ }
+ ]
+ }
+ }
}
\ No newline at end of file
diff --git a/subpages/heart/pages/leaderboardNew/leaderboardNew.wxml b/subpages/heart/pages/leaderboardNew/leaderboardNew.wxml
index f80a9f6..e3d1969 100644
--- a/subpages/heart/pages/leaderboardNew/leaderboardNew.wxml
+++ b/subpages/heart/pages/leaderboardNew/leaderboardNew.wxml
@@ -30,7 +30,7 @@
{{item.nickname}}
- 爱心时长 {{item.kindnessTime}}分钟
+ 爱心时长 {{item.kindnessTime}}小时
参加次数 {{item.participationNum}}次
From 4bd7dac6f5687b2e495cde4aa8b471e26cd90982 Mon Sep 17 00:00:00 2001
From: ZhaoTongYao <531131322@qq.com>
Date: Mon, 31 Aug 2020 14:28:13 +0800
Subject: [PATCH 2/5] =?UTF-8?q?=E7=89=88=E6=9C=AC1.4.31?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/toRegister/toRegister.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/toRegister/toRegister.js b/pages/toRegister/toRegister.js
index 0753331..ece4cfc 100644
--- a/pages/toRegister/toRegister.js
+++ b/pages/toRegister/toRegister.js
@@ -21,7 +21,7 @@ Page({
// }
// })
let that = this
- const versionNum = "1.4.30"
+ const versionNum = "1.4.31"
api.getScanSwitch(versionNum).then(function (res) {
console.log(res.data)
let state = res.data.scanFlag
From 657606093d2a79f9982479febd97efaa611aaba9 Mon Sep 17 00:00:00 2001
From: ZhaoTongYao <531131322@qq.com>
Date: Wed, 2 Sep 2020 21:02:45 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E4=B8=80=E9=94=AE=E6=9C=8D=E5=8A=A1?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=9F=8E=E7=AE=A1=E8=81=9A=E7=84=A6=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/toRegister/toRegister.js | 2 +-
project.config.json | 6 +++---
subpages/oneKeyService/pages/index/index.js | 4 ++++
subpages/oneKeyService/pages/noticeDetail/noticeDetail.js | 5 +++++
subpages/oneKeyService/pages/noticeDetail/noticeDetail.json | 2 +-
subpages/oneKeyService/pages/warning/warning.js | 5 +++++
subpages/oneKeyService/pages/warning/warning.json | 2 +-
7 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/pages/toRegister/toRegister.js b/pages/toRegister/toRegister.js
index ece4cfc..3e20967 100644
--- a/pages/toRegister/toRegister.js
+++ b/pages/toRegister/toRegister.js
@@ -21,7 +21,7 @@ Page({
// }
// })
let that = this
- const versionNum = "1.4.31"
+ const versionNum = "1.4.32"
api.getScanSwitch(versionNum).then(function (res) {
console.log(res.data)
let state = res.data.scanFlag
diff --git a/project.config.json b/project.config.json
index 3a679df..0e8739b 100644
--- a/project.config.json
+++ b/project.config.json
@@ -111,9 +111,9 @@
"scene": null
},
{
- "id": -1,
- "name": "锦水档案",
- "pathName": "subpages/understandJs/pages/archives/archives",
+ "id": 7,
+ "name": "我有事说",
+ "pathName": "subpages/discussion/pages/addIssue/addIssue",
"query": "",
"scene": null
},
diff --git a/subpages/oneKeyService/pages/index/index.js b/subpages/oneKeyService/pages/index/index.js
index eb0899f..be2b1eb 100644
--- a/subpages/oneKeyService/pages/index/index.js
+++ b/subpages/oneKeyService/pages/index/index.js
@@ -67,6 +67,10 @@ Page({
wx.navigateTo({
url: `../warning/warning?modulecode=${e.currentTarget.dataset.modulecode}`
})
+ } else if (e.currentTarget.dataset.modulecode == 'notice_cgjj') {
+ wx.navigateTo({
+ url: `../warning/warning?modulecode=${e.currentTarget.dataset.modulecode}`
+ })
}
}
})
\ No newline at end of file
diff --git a/subpages/oneKeyService/pages/noticeDetail/noticeDetail.js b/subpages/oneKeyService/pages/noticeDetail/noticeDetail.js
index 831a447..8746f45 100644
--- a/subpages/oneKeyService/pages/noticeDetail/noticeDetail.js
+++ b/subpages/oneKeyService/pages/noticeDetail/noticeDetail.js
@@ -36,6 +36,11 @@ Page({
title: '安全365'
})
this.noticeDetail(options.id)
+ } else if(options.modulecode == 'notice_cgjj'){
+ wx.setNavigationBarTitle({
+ title: '城管聚焦'
+ })
+ this.noticeDetail(options.id)
}
},
diff --git a/subpages/oneKeyService/pages/noticeDetail/noticeDetail.json b/subpages/oneKeyService/pages/noticeDetail/noticeDetail.json
index b86ff26..d8bbc60 100644
--- a/subpages/oneKeyService/pages/noticeDetail/noticeDetail.json
+++ b/subpages/oneKeyService/pages/noticeDetail/noticeDetail.json
@@ -1,4 +1,4 @@
{
"usingComponents": {},
- "navigationBarTitleText": "锦水"
+ "navigationBarTitleText": ""
}
\ No newline at end of file
diff --git a/subpages/oneKeyService/pages/warning/warning.js b/subpages/oneKeyService/pages/warning/warning.js
index 0dfbf4a..b5890d0 100644
--- a/subpages/oneKeyService/pages/warning/warning.js
+++ b/subpages/oneKeyService/pages/warning/warning.js
@@ -44,6 +44,11 @@ Page({
wx.setNavigationBarTitle({
title: '安全365'
})
+ }else if(options.modulecode == 'notice_cgjj'){
+ this.getBannerList('6')
+ wx.setNavigationBarTitle({
+ title: '城管聚焦'
+ })
}else{
this.getBannerList('2')
wx.setNavigationBarTitle({
diff --git a/subpages/oneKeyService/pages/warning/warning.json b/subpages/oneKeyService/pages/warning/warning.json
index 25bf808..8db8a6b 100644
--- a/subpages/oneKeyService/pages/warning/warning.json
+++ b/subpages/oneKeyService/pages/warning/warning.json
@@ -1,5 +1,5 @@
{
- "navigationBarTitleText": "锦水警事",
+ "navigationBarTitleText": "",
"usingComponents": {
"load-more": "../../../../components/loadMore/loadMore",
"no-data":"../../../../components/nodata/nodata"
From 8d3fa37ab3f5b8272c5a8760e22803e2ea3a4aad Mon Sep 17 00:00:00 2001
From: ZhaoTongYao <531131322@qq.com>
Date: Thu, 3 Sep 2020 17:34:07 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=8B=E4=BB=B6?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=EF=BC=9B=E8=AE=AE=E9=A2=98=E9=A1=B9=E7=9B=AE?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E8=AF=A6=E6=83=85=E6=98=BE=E7=A4=BA=E6=A0=87?=
=?UTF-8?q?=E7=AD=BE=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/issueItem/issueItem.wxml | 3 +-
.../components/issueItem/issueItem.wxss | 4 ++
.../components/projectItem/projectItem.wxml | 3 +-
.../components/projectItem/projectItem.wxss | 4 ++
.../mine/components/issueItem/issueItem.wxml | 3 +-
.../mine/components/issueItem/issueItem.wxss | 4 ++
.../components/projectItem/projectItem.wxml | 3 +-
.../components/projectItem/projectItem.wxss | 4 ++
.../components/issueItem/issueItem.wxml | 3 +-
.../components/issueItem/issueItem.wxss | 4 ++
.../components/projectItem/projectItem.wxml | 3 +-
.../components/projectItem/projectItem.wxss | 4 ++
.../discussion/pages/addIssue/addIssue.js | 45 +++++++++++++++++--
.../discussion/pages/addIssue/addIssue.wxml | 21 +++------
.../discussion/pages/addIssue/addIssue.wxss | 4 +-
.../detailContent/detailContent.wxml | 3 ++
.../detailContent/detailContent.wxss | 8 +++-
.../discussionDetail/discussionDetail.js | 1 +
subpages/discussion/utils/api.js | 13 +++++-
.../mine/pages/eventDetail/eventDetail.js | 3 +-
.../mine/pages/eventDetail/eventDetail.wxml | 2 +
.../mine/pages/eventDetail/eventDetail.wxss | 7 ++-
utils/config.js | 6 +--
utils/filter.wxs | 6 +++
24 files changed, 127 insertions(+), 34 deletions(-)
diff --git a/pages/discussion/components/issueItem/issueItem.wxml b/pages/discussion/components/issueItem/issueItem.wxml
index 76c4bc2..2da682a 100644
--- a/pages/discussion/components/issueItem/issueItem.wxml
+++ b/pages/discussion/components/issueItem/issueItem.wxml
@@ -1,3 +1,4 @@
+
- {{issueObj.categoryName}}
+ {{issueObj.categoryName}}{{filter.getTags(issueObj.tagNames)}}