diff --git a/src/project/fengdu/AppCircle/AppCircle.vue b/src/project/fengdu/AppCircle/AppCircle.vue index 5b91037..0edad6d 100644 --- a/src/project/fengdu/AppCircle/AppCircle.vue +++ b/src/project/fengdu/AppCircle/AppCircle.vue @@ -37,14 +37,14 @@ {{ item.content }}
- +

{{ item.createTime }}

-
+
+
{{ item.appreciateCount }} @@ -108,6 +108,18 @@ methods: { ...mapActions(['autoLogin']), + previewImage (url, files) { + console.log(url, files) + uni.previewImage({ + current: url, + urls: files.map(v => v.url) + }) + }, + + onBtnClick (e) { + console.log(e) + }, + getMyPublishCount () { this.$instance.post(`/app/appneighborhoodassistance/list`, null, { params: { @@ -202,6 +214,13 @@ onReachBottom () { this.getList() + }, + + onShareAppMessage (e) { + return { + title: this.title, + path: `/pages/AppCircle/Detail?id=${this.id}&themeId=${e.themeid}&name=${e.name}` + } } } @@ -322,7 +341,7 @@ height: 88px; border-top: 1px solid #eeeeee; - div { + div, button { display: flex; align-items: center; justify-content: center; @@ -341,10 +360,17 @@ } } + .item-content { margin: 16px 0; line-height: 1.3; text-align: justify; + word-break: break-all; + text-overflow: ellipsis; + overflow: hidden; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; span { font-size: 28px;