|
|
|
@ -15,9 +15,9 @@
|
|
|
|
|
<!-- <u-icon slot="btns" name="shopping-cart" size="30" color="#FF875B"></u-icon> -->
|
|
|
|
|
<!-- </BsCommentGoodsInfo> -->
|
|
|
|
|
</view>
|
|
|
|
|
<view class="reply-title">全部评论( {{answerCount}}条)</view>
|
|
|
|
|
<view class="reply-title">全部评论( {{detail.replyCount}}条)</view>
|
|
|
|
|
<view class="reply">
|
|
|
|
|
<template v-if="answerCount">
|
|
|
|
|
<template v-if="detail.replyCount">
|
|
|
|
|
<view class="reply--item" v-for="item in detail.answerCommentList" :key="item.id" @click="handleAnswer(item)">
|
|
|
|
|
<view class="reply--title">
|
|
|
|
|
<text>
|
|
|
|
@ -81,9 +81,6 @@ export default {
|
|
|
|
|
computed:{
|
|
|
|
|
placeholder(){
|
|
|
|
|
return this.answer ? `回复:${this.answer.userName}` : '说点什么吧?'
|
|
|
|
|
},
|
|
|
|
|
answerCount(){
|
|
|
|
|
return this.detail.answerCommentList ? this.detail.answerCommentList.length : 0
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onShow(){
|
|
|
|
|