From cab1ccc0264eb22ae19aa05967653f9c790aead5 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 11 May 2023 15:14:54 +0800 Subject: [PATCH] 390 --- .../wuxi/AppPhotoReport/PhotoDetail.vue | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/project/wuxi/AppPhotoReport/PhotoDetail.vue b/src/project/wuxi/AppPhotoReport/PhotoDetail.vue index 578da47..4a44932 100644 --- a/src/project/wuxi/AppPhotoReport/PhotoDetail.vue +++ b/src/project/wuxi/AppPhotoReport/PhotoDetail.vue @@ -36,6 +36,9 @@
+
+ +
@@ -110,7 +113,13 @@ export default { urls: this.info.files.map(v => v.url), current: url }) - } + }, + previewImage(images, img) { + uni.previewImage({ + urls: images.map(v => v.url), + current: img + }) + }, } } @@ -180,5 +189,19 @@ export default { margin-right: 0; } } + .imgs { + margin-top: 10px; + + img { + width: 136px; + height: 136px; + border-radius: 4px; + margin-right: 12px; + } + + img:nth-of-type(3n) { + margin-right: 0; + } + } }