diff --git a/epdc-resident-mp-yushan/subpages/education/pages/class/class.js b/epdc-resident-mp-yushan/subpages/education/pages/class/class.js index 55c45dc..1fc8ee8 100644 --- a/epdc-resident-mp-yushan/subpages/education/pages/class/class.js +++ b/epdc-resident-mp-yushan/subpages/education/pages/class/class.js @@ -65,11 +65,11 @@ Page({ }, onReachBottom () { if(!this.data.isLoading){ - this.setData({ - loadMoreVisible: true, - isLoading:true - }) if (this.data.loadMoreType === 'more') { + this.setData({ + loadMoreVisible: true, + isLoading:true + }) this.setData({ loadMoreType:'loading' }) diff --git a/epdc-resident-mp-yushan/subpages/education/pages/healthyLife/healthyLife.js b/epdc-resident-mp-yushan/subpages/education/pages/healthyLife/healthyLife.js index 58e2880..22a4022 100644 --- a/epdc-resident-mp-yushan/subpages/education/pages/healthyLife/healthyLife.js +++ b/epdc-resident-mp-yushan/subpages/education/pages/healthyLife/healthyLife.js @@ -130,12 +130,10 @@ Page({ }, onReachBottom () { if(!this.data.isLoading){ - this.setData({ - loadMoreVisible: true, - isLoading:true - }) if (this.data.loadMoreType === 'more') { this.setData({ + loadMoreVisible: true, + isLoading:true, loadMoreType:'loading' }) this.data.pageNo += 1 diff --git a/epdc-resident-mp-yushan/subpages/education/pages/hobby/hobby.wxml b/epdc-resident-mp-yushan/subpages/education/pages/hobby/hobby.wxml index 25f7cb7..ced02ae 100644 --- a/epdc-resident-mp-yushan/subpages/education/pages/hobby/hobby.wxml +++ b/epdc-resident-mp-yushan/subpages/education/pages/hobby/hobby.wxml @@ -20,11 +20,6 @@ data-groupName="{{item.groupName}}" data-state="{{item.groupState}}" data-groupId="{{item.id}}" data-index="{{index}}" bindtap="joinGroup" class="item-join"> - - - - - 暂无兴趣群 diff --git a/epdc-resident-mp-yushan/subpages/property/components/contact/contact.js b/epdc-resident-mp-yushan/subpages/property/components/contact/contact.js index 480d2f0..08074ca 100644 --- a/epdc-resident-mp-yushan/subpages/property/components/contact/contact.js +++ b/epdc-resident-mp-yushan/subpages/property/components/contact/contact.js @@ -48,6 +48,10 @@ Component({ groupCategory: { type: String, value: '1' + }, + from:{ + type:String, + value:'' } }, pageLifetimes: { diff --git a/epdc-resident-mp-yushan/subpages/property/components/contact/contact.wxml b/epdc-resident-mp-yushan/subpages/property/components/contact/contact.wxml index d343789..0cee222 100644 --- a/epdc-resident-mp-yushan/subpages/property/components/contact/contact.wxml +++ b/epdc-resident-mp-yushan/subpages/property/components/contact/contact.wxml @@ -18,9 +18,9 @@ 群主 - + - + diff --git a/epdc-resident-mp-yushan/subpages/property/pages/associationDetail/associationDetail.js b/epdc-resident-mp-yushan/subpages/property/pages/associationDetail/associationDetail.js index f61105b..3574a10 100644 --- a/epdc-resident-mp-yushan/subpages/property/pages/associationDetail/associationDetail.js +++ b/epdc-resident-mp-yushan/subpages/property/pages/associationDetail/associationDetail.js @@ -45,7 +45,7 @@ Page({ // 跳转到 群成员 navigateToMember () { wx.navigateTo({ - url: `/subpages/property/pages/associationMember/associationMember?id=${this.data.userInfo.id}&groupCategory=${this.data.userInfo.groupCategory}` + url: `/subpages/property/pages/associationMember/associationMember?id=${this.data.userInfo.id}&groupCategory=${this.data.userInfo.groupCategory}&from=${this.data.from}` }) }, // 跳转到 邀请好友 diff --git a/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.js b/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.js index 093a872..6506327 100644 --- a/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.js +++ b/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.js @@ -7,7 +7,8 @@ Page({ groupId: '', id: '', dialogVisible: false, - groupCategory: '1' + groupCategory: '1', + from:'' }, onShow () { }, @@ -15,7 +16,8 @@ Page({ this.getAssociationMember(options.id) this.setData({ groupId: options.id, - groupCategory: options.groupCategory + groupCategory: options.groupCategory, + from:options.from }) }, getAssociationMember (groupId) { diff --git a/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.wxml b/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.wxml index 0a53362..fc540ff 100644 --- a/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.wxml +++ b/epdc-resident-mp-yushan/subpages/property/pages/associationMember/associationMember.wxml @@ -1,6 +1,6 @@ - + { - if (v.height > 70) { + if (v.height > 65) { var set = "questionList[" + v.dataset.question + "].answerList[0].collapse"; var set1 = "questionList[" + v.dataset.question + "].answerList[0].showCollapse"; that.setData({ diff --git a/epdc-resident-mp-yushan/subpages/safety/pages/consultIndex/consultIndex.wxss b/epdc-resident-mp-yushan/subpages/safety/pages/consultIndex/consultIndex.wxss index 2ff2537..b7b25fb 100644 --- a/epdc-resident-mp-yushan/subpages/safety/pages/consultIndex/consultIndex.wxss +++ b/epdc-resident-mp-yushan/subpages/safety/pages/consultIndex/consultIndex.wxss @@ -195,11 +195,13 @@ button::after{ font-size: 28rpx; line-height: 40rpx; display: block; + word-break: break-all; } .question-content text{ font-size: 28rpx; line-height: 50rpx; display: block; + word-break: break-all; } .answer-content text.text-collapse{ diff --git a/epdc-resident-mp-yushan/subpages/safety/utils/api.js b/epdc-resident-mp-yushan/subpages/safety/utils/api.js index d8c60b4..97cedd2 100644 --- a/epdc-resident-mp-yushan/subpages/safety/utils/api.js +++ b/epdc-resident-mp-yushan/subpages/safety/utils/api.js @@ -254,3 +254,9 @@ export function getMyTopicList ({ pageIndex , pageSize , groupId}) { export function getConsultantInfo (id) { return request.get('property/psychology/psychologistInfo/'+id) } +/** + * 入群接口(跳过申请流程) + */ +export function joinGroup (param) { + return request.post('property/group/join',param) +}