From ca1585962bc72c85eed3c0b17d859b207e21368a Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Mon, 1 Jun 2026 16:18:27 +0800 Subject: [PATCH] rating --- .../components/TopicItemCommentEdit.vue | 146 ++++++++++++++++++ src/views/rating/topicItem/index.vue | 10 +- 2 files changed, 154 insertions(+), 2 deletions(-) create mode 100644 src/views/rating/topicItem/components/TopicItemCommentEdit.vue diff --git a/src/views/rating/topicItem/components/TopicItemCommentEdit.vue b/src/views/rating/topicItem/components/TopicItemCommentEdit.vue new file mode 100644 index 0000000..0d6d011 --- /dev/null +++ b/src/views/rating/topicItem/components/TopicItemCommentEdit.vue @@ -0,0 +1,146 @@ + + + diff --git a/src/views/rating/topicItem/index.vue b/src/views/rating/topicItem/index.vue index 7b1483f..32ce313 100644 --- a/src/views/rating/topicItem/index.vue +++ b/src/views/rating/topicItem/index.vue @@ -31,9 +31,10 @@ /> - + @@ -138,6 +139,7 @@ /> + @@ -147,10 +149,11 @@ import { formatTime } from '@/utils' import { getThumbUrl } from '@/utils/blessing' import TopicItemRatingEdit from './components/TopicItemRatingEdit' + import TopicItemCommentEdit from './components/TopicItemCommentEdit' export default { name: 'RatingTopicItemIndex', - components: { TopicItemRatingEdit }, + components: { TopicItemRatingEdit, TopicItemCommentEdit }, data() { return { list: [], @@ -229,6 +232,9 @@ handleRating(row) { this.$refs['ratingEdit'].showEdit(row, this.queryForm.topicId) }, + handleComment(row) { + this.$refs['commentEdit'].showEdit(row, this.queryForm.topicId) + }, }, }