diff --git a/src/project/fengdu/AppCircle/AppCircle.vue b/src/project/fengdu/AppCircle/AppCircle.vue index cba7f9d..6d45946 100644 --- a/src/project/fengdu/AppCircle/AppCircle.vue +++ b/src/project/fengdu/AppCircle/AppCircle.vue @@ -5,9 +5,9 @@ 广场 社区 -
+
我的贴子 - 1 + {{ total }}
- + {{ item.appreciateCount }}
@@ -76,7 +76,8 @@ topicList: [], list: [], isMore: false, - current: 1 + current: 1, + total: 0 } }, @@ -94,12 +95,31 @@ uni.$on('updateList', () => { this.changeTab(this.currIndex) }) + + if (this.token) { + this.getMyPublishCount() + } }, methods: { + getMyPublishCount () { + this.$instance.post(`/app/appneighborhoodassistance/list`, null, { + params: { + current: 1, + size: 10, + listType: 0, + createUserId: this.user.id + } + }).then(res => { + if (res.code === 0) { + this.total = res.data.total + } + }) + }, + getTopicList () { this.$instance.post(`/app/appneighborhoodassistancetheme/list`, null, { - // withoutToken: true, + withoutToken: true, params: { current: 1, size: 100 diff --git a/src/project/fengdu/AppCircle/Detail.vue b/src/project/fengdu/AppCircle/Detail.vue index bcdddfd..0abbc48 100644 --- a/src/project/fengdu/AppCircle/Detail.vue +++ b/src/project/fengdu/AppCircle/Detail.vue @@ -1,5 +1,5 @@ + @@ -221,6 +259,58 @@ box-sizing: border-box; } + .popup { + height: 700px; + border-radius: 20px 20px 0 0; + + .popup-title { + position: relative; + height: 98px; + line-height: 98px; + text-align: center; + + image { + position: absolute; + right: 40px; + top: 50%; + z-index: 1; + width: 32px; + height: 32px; + transform: translateY(-50%); + } + + h2 { + color: #333333; + font-size: 34px; + font-weight: 600; + } + } + + .popup-list { + display: flex; + align-items: center; + margin-top: 30px; + + button { + display: flex; + align-items: center; + justify-content: center; + flex: 1; + flex-direction: column; + + image { + width: 94px; + height: 94px; + margin-bottom: 8px; + } + + span { + font-size: 26px; + color: #1D2229; + } + } + } + } .footer { display: flex; align-items: center; diff --git a/src/project/fengdu/AppCircle/MyPostList.vue b/src/project/fengdu/AppCircle/MyPostList.vue index ba56960..a2e2934 100644 --- a/src/project/fengdu/AppCircle/MyPostList.vue +++ b/src/project/fengdu/AppCircle/MyPostList.vue @@ -48,7 +48,7 @@ {{ item.sharedCount }}
- + {{ item.appreciateCount }}
@@ -81,7 +81,7 @@ {{ item.sharedCount }}
- + {{ item.appreciateCount }}
@@ -206,7 +206,7 @@ params: { current: this.current, size: 10, - listType: 1, + listType: 0, createUserId: this.user.id } }).then(res => { @@ -504,9 +504,9 @@ } .item-content { - margin-top: 16px; + margin-top: 16px 0; line-height: 1.3; - // text-align: justify; + text-align: justify; span { font-size: 28px; diff --git a/src/project/fengdu/AppCircle/TopicDetail.vue b/src/project/fengdu/AppCircle/TopicDetail.vue index 4b07190..1a98dff 100644 --- a/src/project/fengdu/AppCircle/TopicDetail.vue +++ b/src/project/fengdu/AppCircle/TopicDetail.vue @@ -32,7 +32,7 @@ {{ item.sharedCount }}
- + {{ item.appreciateCount }}
@@ -247,9 +247,9 @@ } .item-content { - margin: 16px; + margin: 16px 0; line-height: 1.3; - // text-align: justify; + text-align: justify; span { font-size: 28px;