|
|
@ -2,7 +2,7 @@
|
|
|
|
* @Author: ch
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-06-24 11:43:04
|
|
|
|
* @Date: 2022-06-24 11:43:04
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-06-27 18:06:10
|
|
|
|
* @LastEditTime: 2022-06-28 21:34:32
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
@ -58,14 +58,16 @@
|
|
|
|
<div class="answer--name"><b>{{commentDetail.merchantComment.userName}}:</b><span>{{commentDetail.merchantComment.createTime}}</span></div>
|
|
|
|
<div class="answer--name"><b>{{commentDetail.merchantComment.userName}}:</b><span>{{commentDetail.merchantComment.createTime}}</span></div>
|
|
|
|
<p class="answer--ctx">{{commentDetail.merchantComment.commentContent}}</p>
|
|
|
|
<p class="answer--ctx">{{commentDetail.merchantComment.commentContent}}</p>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li class="answer--item" v-for="(item, idx) in answerCommentList" :key="idx">
|
|
|
|
<template v-if="answerVisible">
|
|
|
|
<div class="answer--name">
|
|
|
|
<li class="answer--item" v-for="(item, idx) in answerCommentList" :key="idx">
|
|
|
|
<b>{{item.userName}} {{item.parentId !== commentDetail.id ? ` 回复 ${item.parentUserName}` : ''}}:</b>
|
|
|
|
<div class="answer--name">
|
|
|
|
<span>{{item.createTime}}</span>
|
|
|
|
<b>{{item.userName}} {{item.parentId !== commentDetail.id ? ` 回复 ${item.parentUserName}` : ''}}:</b>
|
|
|
|
</div>
|
|
|
|
<span>{{item.createTime}}</span>
|
|
|
|
<p class="answer--ctx">{{item.commentContent}}</p>
|
|
|
|
</div>
|
|
|
|
<span class="answer--answer" @click="handleAnswer(item)">回复</span>
|
|
|
|
<p class="answer--ctx">{{item.commentContent}}</p>
|
|
|
|
</li>
|
|
|
|
<span class="answer--answer" @click="handleAnswer(item)">回复</span>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<div v-if="answerVisible" class="answer--form">
|
|
|
|
<div v-if="answerVisible" class="answer--form">
|
|
|
|
<input v-model="answerContent" class="answer--input"
|
|
|
|
<input v-model="answerContent" class="answer--input"
|
|
|
|