From 29c41b9456bf5db4fdf23e1e6beddf9d4620e55c Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 24 二月 2026 11:27:04 +0800
Subject: [PATCH] 合并

---
 mini-program/pages/article-details/article-details.vue |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/mini-program/pages/article-details/article-details.vue b/mini-program/pages/article-details/article-details.vue
index b87b75a..31fe3b0 100644
--- a/mini-program/pages/article-details/article-details.vue
+++ b/mini-program/pages/article-details/article-details.vue
@@ -71,7 +71,7 @@
 							</view>
 						</view>
 					</view>
-					<view class="pl-more" v-if="item.childern.length > 0">灞曞紑2鏉″洖澶�</view>
+					<view class="pl-more" v-if="item.childern.length > 0" @click.stop="more(item)">灞曞紑{{item.replyCount - 1}}鏉″洖澶�</view>
 				</view>
 			</view>
 		</view>
@@ -248,6 +248,21 @@
 				this.multifileList = []
 				this.show1 = false
 			},
+			// 灞曞紑璇勮
+			more(item) {
+				this.$u.api.findActivityReplyCommentDTOPage({
+					capacity: 10,
+					page: 1,
+					model: {
+						type: 1,
+						commentId: item.id
+					}
+				}).then(res => {
+					if (res.code === 200) {
+						console.log(res)
+					}
+				})
+			},
 			// 璇勮
 			sendComment() {
 				if (!this.value && this.multifileList.length === 0) return uni.showToast({
@@ -258,7 +273,7 @@
 					activityId: this.info.id,
 					content: this.value,
 					multifileList: this.multifileList,
-					commentId: this.commentId,
+					// commentId: this.commentId,
 					replyId: this.item ? this.item.id : null
 				}).then(res => {
 					if (res.code === 200) {
@@ -268,7 +283,7 @@
 						if (this.commentId) {
 							this.commentList.forEach(item => {
 								if (item.id === this.commentId) {
-									item.commentList.childern.unshift(res.data)
+									item.childern.unshift(res.data)
 								}
 							})
 						} else {

--
Gitblit v1.9.3