diff --git a/app.json b/app.json index f16518a..b5e5c00 100644 --- a/app.json +++ b/app.json @@ -123,44 +123,6 @@ ] } }, - "tabBar": { - "color": "#666666", - "selectedColor": "#FF0000", - "backgroundColor": "#FFFFFF", - "borderStyle": "white", - "list": [ - { - "pagePath": "pages/indexNew/indexNew", - "text": "首页", - "iconPath": "images/home.png", - "selectedIconPath": "images/homeSelected.png" - }, - { - "pagePath": "pages/discussion/discussion", - "text": "我有事说", - "iconPath": "images/discuss.png", - "selectedIconPath": "images/discussSelected.png" - }, - { - "pagePath": "pages/association/association", - "text": "党群互动", - "iconPath": "images/association.png", - "selectedIconPath": "images/association-select.png" - }, - { - "pagePath": "pages/heart/heart", - "text": "初心互助", - "iconPath": "images/mutual.png", - "selectedIconPath": "images/mutualSelected.png" - }, - { - "pagePath": "pages/mine/mine", - "text": "我的", - "iconPath": "images/mine.png", - "selectedIconPath": "images/mineSelected.png" - } - ] - }, "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", diff --git a/components/activity/activity.wxml b/components/activity/activity.wxml index 612cd3f..5902a09 100644 --- a/components/activity/activity.wxml +++ b/components/activity/activity.wxml @@ -15,12 +15,12 @@ {{item.title}} - + 活动时间:{{item.actStartTime}}至 {{item.actEndTime}} - + 活动地点:{{item.actAddress}} @@ -32,7 +32,7 @@ - + \ No newline at end of file diff --git a/pages/complete/complete.js b/pages/complete/complete.js index f1b1340..559cd74 100644 --- a/pages/complete/complete.js +++ b/pages/complete/complete.js @@ -184,6 +184,14 @@ Page({ }) return false } + if (this.data.street.length > 30) { + wx.showToast({ + title: '所在街道不超过30字', + icon: 'none', + duration: 3000 + }) + return false + } if (this.data.submitEvent === true) { wx.showToast({ title: '加载中...', @@ -252,7 +260,7 @@ Page({ content: res.data.resultMsg, success: function (res) { wx.reLaunch({ - url: '/pages/index/index' + url: '/pages/indexNew/indexNew' }) } }) @@ -264,7 +272,7 @@ Page({ complete: function () { setTimeout(function () { wx.reLaunch({ - url: '/pages/index/index' + url: '/pages/indexNew/indexNew' }) }, 3000); } diff --git a/pages/mine/mine.wxss b/pages/mine/mine.wxss index 014da5f..05a4fb6 100644 --- a/pages/mine/mine.wxss +++ b/pages/mine/mine.wxss @@ -63,6 +63,7 @@ page { height: 100%; display: flex; align-items: center; + width: calc(100% - 130rpx); } .personal-info .box .content .top .avatar { width: 100rpx; @@ -77,6 +78,7 @@ page { } .personal-info .box .content .top .right { height: 100%; + width: calc(100% - 100rpx); margin-left: 14rpx; display: flex; flex-direction: column; diff --git a/subpages/association/pages/replyOrRemark/replyOrRemark.js b/subpages/association/pages/replyOrRemark/replyOrRemark.js index 58bb126..c2a0c62 100644 --- a/subpages/association/pages/replyOrRemark/replyOrRemark.js +++ b/subpages/association/pages/replyOrRemark/replyOrRemark.js @@ -1,5 +1,4 @@ import { - // remarkOrReply, topicCom, topicReply } from '../../utils/api' @@ -47,7 +46,7 @@ Page({ wx.showLoading({ title: '加载中' }) - if (faCommentId) {//对评论进行回复 + if (this.data.faCommentId.length > 0) {//对评论进行回复 topicReply(para).then(res => { wx.hideLoading() console.log('回复', res) diff --git a/subpages/association/utils/api.js b/subpages/association/utils/api.js index 7633cd9..bf33694 100644 --- a/subpages/association/utils/api.js +++ b/subpages/association/utils/api.js @@ -184,6 +184,29 @@ export function remarkOrReply ({ topicId, faCommentId, content }) { }) } +/** + * 话题评论 v2 + */ +export function topicCom({ issueId, faCommentId, content, itemId }) { + return request.post('group/comment/topicCom', { + issueId, + faCommentId, + content, + itemId + }) +} +/** + * 话题回复 v2 + */ +export function topicReply({ issueId, faCommentId, content, itemId }) { + return request.post('group/comment/topicReply', { + issueId, + faCommentId, + content, + itemId + }) +} + /** * 关闭话题 */ diff --git a/subpages/heart/pages/leaderboard/leaderboard.wxss b/subpages/heart/pages/leaderboard/leaderboard.wxss index 1408ff1..cd19fe4 100644 --- a/subpages/heart/pages/leaderboard/leaderboard.wxss +++ b/subpages/heart/pages/leaderboard/leaderboard.wxss @@ -3,6 +3,7 @@ page { min-height: 100vh; height: auto; overflow-y: auto; + background: #f7f7f7; } .love-ranking { width: 100%; diff --git a/subpages/integralCentre/pages/index/index.wxss b/subpages/integralCentre/pages/index/index.wxss index 898a55b..b434b3e 100644 --- a/subpages/integralCentre/pages/index/index.wxss +++ b/subpages/integralCentre/pages/index/index.wxss @@ -264,5 +264,5 @@ button::after { line-height: 80rpx; font-size: 32rpx; font-weight: 500; - color: rgba(178, 0, 4, 1); + color: #B20004; }