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