diff --git a/pages/talkBook/talkBookDetail.vue b/pages/talkBook/talkBookDetail.vue index 37f97d8..934fedc 100644 --- a/pages/talkBook/talkBookDetail.vue +++ b/pages/talkBook/talkBookDetail.vue @@ -86,8 +86,30 @@ {{formatTimeDifferenceFromT(item.createTime)}} 删除 + - + @@ -336,6 +358,7 @@ // this.isBuy = res.book.isBuy // this.freeChapterCount = res.book.freeChapterCount + } else { console.log(res.msg) } @@ -515,35 +538,25 @@ this.Pform.puserId = '' // this.pinglunId = null - // 把回复的评论拼进this.plList回复列表中 - let comment = res.comment - - // comment.content = this.getHtmlComment(comment.content) - // console.log('this.userInfo', this.userInfo) - // comment.user = this.userInfo - // comment.comments = [] - // this.plList.unshift(comment) - this.plList = [] this.pPage = 1 this.getCommPL() - }).catch(e => { console.log(e, 'e') }); } else { uni.showToast({ - title: '请先输入您的评价内容 !', + title: '请先输入您的评价内容!', icon: 'none' }) } }, + // 删除评论 deleteCont(item) { - uni.showModal({ title: '提示', content: '确定要删除评论吗?', @@ -560,7 +573,6 @@ title: '删除成功', icon: 'success' }) - _this.plList = [] _this.pPage = 1 _this.getCommPL() @@ -571,10 +583,8 @@ } }.bind(this) }); - }, - closePingjia() { this.pingjiaShow = false this.Pform.comment = '' @@ -819,9 +829,32 @@ border-bottom: 1px solid #f0f0f0; .condelt { - color: #fd6004; + color: #fd6004; + margin-right: 20rpx; } + .conhuif { + + color: #4185c1; + } + + .pl-son { + margin: 14rpx 0 14rpx 60rpx; + padding: 0 14rpx 14rpx 14rpx; + background-color: #f0f0f0; + border-radius: 10rpx; + + .pl-son-item { + font-size: 26rpx; + padding-top: 28rpx; + + .pl-son-item-content {} + + .pl-son-atob { + color: #a1a1a1; + } + } + } } .plusername {