Feat:千县资讯分类&评论功能
This commit is contained in:
@@ -186,7 +186,11 @@ export default {
|
||||
})
|
||||
return
|
||||
}
|
||||
this.$yrouter.push('/pagesInn/inn/innInfoDetail?id=' + comment.contentId)
|
||||
if(comment.contentType === 'hotelNews') {
|
||||
this.$yrouter.push('/pagesInn/inn/innInfoDetail?id=' + comment.contentId)
|
||||
} else if(comment.contentType === 'countyFamousNews') {
|
||||
this.$yrouter.push('/pkg_product/views/newsInfo?id=' + comment.contentId)
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 格式化时间
|
||||
@@ -272,7 +276,7 @@ export default {
|
||||
// 评论的目标内容ID,必传
|
||||
contentId: this.currentComment.contentId,
|
||||
// 评论的目标内容类型,必传(店铺资讯传入值hotelNews)
|
||||
contentType: 'hotelNews',
|
||||
contentType: this.currentComment.contentType,
|
||||
// 评论内容,必传
|
||||
reply: this.content.replace('@' + this.currentComment.senderUserNickname, '').trim(),
|
||||
// @的用户ID
|
||||
|
||||
Reference in New Issue
Block a user