From d83fbfcd7774ce218e1e8df5d01ed07aad38def0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 12 Feb 2026 15:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=84=E8=AE=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/video/components/comment-info.vue | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/pages/plugins/video/components/comment-info.vue b/pages/plugins/video/components/comment-info.vue index d2407e47..d57206b2 100644 --- a/pages/plugins/video/components/comment-info.vue +++ b/pages/plugins/video/components/comment-info.vue @@ -19,11 +19,11 @@ {{ propComment.reply_comments_text}} {{ propComment.content }} - - - - - + + + {{ propComment.add_time }} @@ -97,9 +97,10 @@ }, // 上传图片预览 upload_show_event(e) { + const image = e?.currentTarget?.dataset?.image || ''; uni.previewImage({ - current: this.propComment.images[e.currentTarget.dataset.index].url, - urls: this.propComment.images.map(item => item.url), + current: 0, + urls: [image], }); }, // 切换下拉菜单 @@ -216,4 +217,11 @@ color: #ccc; padding: 0 10rpx; } +.comment-operation { + margin-top: 10rpx; +} +.comment-images { + width: 80rpx; + height: 80rpx; +} \ No newline at end of file