mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 21:36:42 +08:00
问答二级三级回复个性标签
This commit is contained in:
@@ -165,7 +165,7 @@
|
|||||||
:class="rowIdx === con.answers.length - 1 ? 'comment-last' : ''">
|
:class="rowIdx === con.answers.length - 1 ? 'comment-last' : ''">
|
||||||
<div class="comment-top">
|
<div class="comment-top">
|
||||||
<div class="comment-author">
|
<div class="comment-author">
|
||||||
<author :aid="row.sysCreateAid" :avatar="row.avatar" :name="row.sysCreateBy" :sex="row.sex"></author>
|
<author :aid="row.sysCreateAid" :avatar="row.avatar" :name="row.sysCreateBy" :sex="row.sex" :sign="row.sign"></author>
|
||||||
<span class="comment-author-text">回复</span>
|
<span class="comment-author-text">回复</span>
|
||||||
<span style="margin-left: 10px; font-size:14px">{{ row.replayName }}</span>
|
<span style="margin-left: 10px; font-size:14px">{{ row.replayName }}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -520,6 +520,7 @@ export default {
|
|||||||
res.result.list.forEach(item => {
|
res.result.list.forEach(item => {
|
||||||
item.avatar = "";
|
item.avatar = "";
|
||||||
item.sex = null;
|
item.sex = null;
|
||||||
|
item.sign = " ";
|
||||||
item.isAll = false;//字数过大时,显示隐藏控制
|
item.isAll = false;//字数过大时,显示隐藏控制
|
||||||
allList.push(item);
|
allList.push(item);
|
||||||
ids.push(item.sysCreateAid);
|
ids.push(item.sysCreateAid);
|
||||||
@@ -527,6 +528,7 @@ export default {
|
|||||||
item.answers.forEach(answers => {
|
item.answers.forEach(answers => {
|
||||||
answers.avatar = "";
|
answers.avatar = "";
|
||||||
answers.sex = null;
|
answers.sex = null;
|
||||||
|
answers.sign = " ";
|
||||||
answers.isAll = false;
|
answers.isAll = false;
|
||||||
allList.push(answers);
|
allList.push(answers);
|
||||||
level3ParentIds.push(answers.id);
|
level3ParentIds.push(answers.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user