From 3b7499eb4053369d53605efb1b0f276f60d772ed Mon Sep 17 00:00:00 2001 From: zhangqihang Date: Wed, 28 Feb 2024 09:02:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../archive/detail-check.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pages/application/safety-environmental-inspection/archive/detail-check.vue b/pages/application/safety-environmental-inspection/archive/detail-check.vue index b2636b4..1ffe15d 100644 --- a/pages/application/safety-environmental-inspection/archive/detail-check.vue +++ b/pages/application/safety-environmental-inspection/archive/detail-check.vue @@ -806,6 +806,16 @@ current: e.currentTarget.dataset.index }); }, + ViewShowImages(imgs, index) { + let files = []; + for (var i = 0; i < imgs.length; i++) { + files.push(baseImgPath +imgs[i].FILEPATH) + } + uni.previewImage({ + urls: files, + current: index + }); + }, playVideo(e) { this.videoSrc = e.currentTarget.dataset.src this.modalShow = true