From 48339378fe7d3ae93834a2990e82f66cab9fa4f0 Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Wed, 19 Oct 2022 11:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E5=92=8C=E9=97=AE=E7=AD=94?= =?UTF-8?q?=E7=9A=84=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/artauthor.vue | 168 ++++++++++++++++++++++++++++ src/components/Portal/comments.vue | 14 ++- src/views/portal/qa/Answer.vue | 10 +- 3 files changed, 184 insertions(+), 8 deletions(-) create mode 100644 src/components/Portal/artauthor.vue diff --git a/src/components/Portal/artauthor.vue b/src/components/Portal/artauthor.vue new file mode 100644 index 00000000..668891cd --- /dev/null +++ b/src/components/Portal/artauthor.vue @@ -0,0 +1,168 @@ + + + + diff --git a/src/components/Portal/comments.vue b/src/components/Portal/comments.vue index 40f29474..b69caeb4 100644 --- a/src/components/Portal/comments.vue +++ b/src/components/Portal/comments.vue @@ -72,7 +72,8 @@
- + +
@@ -114,7 +115,7 @@
- + @@ -238,7 +239,7 @@ import interactBar from "@/components/Portal/interactBar.vue"; import apiComment from '@/api/modules/comments.js' import apiUser from '@/api/system/user.js' - import authorInfo from '@/components/Portal/authorInfo.vue'; + import authorInfo from '@/components/Portal/artauthor.vue'; // import author from '@/components/Portal/author.vue'; import { mapGetters } from 'vuex'; export default { @@ -405,6 +406,8 @@ item.avatar=author.avatar; item.orgInfo=author.orgInfo; item.sex=author.sex; + item.sign=author.sign + console.log(list,'评论信息') return true; }else{ return false; @@ -447,6 +450,7 @@ res.result.list.forEach(item=>{ item.avatar=''; item.orgInfo=''; + item.sign=''; item.isAll=false; //item.sex=null; allList.push(item); @@ -456,6 +460,7 @@ reply.avatar=''; reply.orgInfo=''; reply.sex=null; + reply.sign=''; reply.isAll=false; allList.push(reply); ids.push(reply.sysCreateAid); @@ -793,6 +798,9 @@