+ v-for="(item, index) in list"
+ :key="index"
+ hover-class="text-hover"
+ hover-stop-propagation
+ @click="$linkTo('./Detail?id=' + item.id + '&name=' + item.topicName + '&themeId=' + item.themeId)">
@@ -40,10 +40,10 @@
#【{{ item.topicName }}】
- {{ item.content }}
+ {{ item.content }}
-
+
{{ item.createTime }}
@@ -71,439 +71,445 @@
diff --git a/src/project/fengdu/AppCircle/Detail.vue b/src/project/fengdu/AppCircle/Detail.vue
index 89ee56c..5f4e050 100644
--- a/src/project/fengdu/AppCircle/Detail.vue
+++ b/src/project/fengdu/AppCircle/Detail.vue
@@ -168,7 +168,7 @@ div
},
showComment () {
- if (!this.user.AreaId) {
+ if (!this.user.areaId) {
this.$dialog.confirm({
content: '您只有完成信息认证后,才可进行相关操作。',
confirmText: '去认证'
diff --git a/src/project/fengdu/AppCircle/MyPostList.vue b/src/project/fengdu/AppCircle/MyPostList.vue
index 9bd965c..b83f0aa 100644
--- a/src/project/fengdu/AppCircle/MyPostList.vue
+++ b/src/project/fengdu/AppCircle/MyPostList.vue
@@ -41,10 +41,10 @@
#【{{ item.topicName }}】
- {{ item.content }}
+ {{ item.content }}
-
+
{{ item.createTime }}
@@ -275,6 +275,7 @@ export default {
this.list = [...this.list, ...res.data.records.map(e => {
return {
...e,
+ files: e.files.filter((v, index) => index < 3),
topicName: this.topicList.filter(v => v.id === e.themeId).length ? this.topicList.filter(v => v.id === e.themeId)[0].title : ''
}
})]
@@ -282,6 +283,7 @@ export default {
this.list = res.data.records.map(e => {
return {
...e,
+ files: e.files.filter((v, index) => index < 3),
topicName: this.topicList.filter(v => v.id === e.themeId).length ? this.topicList.filter(v => v.id === e.themeId)[0].title : ''
}
})
@@ -317,6 +319,7 @@ export default {
this.list = [...this.list, ...res.data.records.map(e => {
return {
...e,
+ files: e.files.filter((v, index) => index < 3),
topicName: this.topicList.filter(v => v.id === e.themeId).length ? this.topicList.filter(v => v.id === e.themeId)[0].title : ''
}
})]
@@ -324,6 +327,7 @@ export default {
this.list = res.data.records.map(e => {
return {
...e,
+ files: e.files.filter((v, index) => index < 3),
topicName: this.topicList.filter(v => v.id === e.themeId).length ? this.topicList.filter(v => v.id === e.themeId)[0].title : ''
}
})
@@ -361,6 +365,7 @@ export default {
this.list = [...this.list, ...res.data.records.map(e => {
return {
...e,
+ files: e.files.filter((v, index) => index < 3),
topicName: this.topicList.filter(v => v.id === e.themeId).length ? this.topicList.filter(v => v.id === e.themeId)[0].title : ''
}
})]
@@ -368,6 +373,7 @@ export default {
this.list = res.data.records.map(e => {
return {
...e,
+ files: e.files.filter((v, index) => index < 3),
topicName: this.topicList.filter(v => v.id === e.themeId).length ? this.topicList.filter(v => v.id === e.themeId)[0].title : ''
}
})