This commit is contained in:
shijingjing
2023-02-14 17:10:40 +08:00
parent 8cb77ebeee
commit bb744c49b9
4 changed files with 71 additions and 51 deletions

View File

@@ -15,7 +15,7 @@
<div class="comment" @click="showComment = true;getComment()">
<img src="https://cdn.cunwuyun.cn/qujing/message.png" alt="">
<div class="comm_num">
<span>{{ commentList.length || 0}}</span><span v-show="commentList.length > 999">+</span>
<span>{{ data.msgCount || 0}}</span><span v-show="data.msgCount > 999">+</span>
</div>
</div>
</div>
@@ -115,6 +115,7 @@ export default {
this.flag = false
this.showSend = false
this.getComment()
this.getDetail()
}
}).catch(err=> {
this.flag = false
@@ -242,6 +243,8 @@ export default {
.comment_info {
margin-left: 16px;
width: calc(100% - 80px);
.avatar_info {
display: flex;
justify-content: space-between;