diff --git a/pages/eight_assignments/view_info.vue b/pages/eight_assignments/view_info.vue index f45f43b..7fd3794 100644 --- a/pages/eight_assignments/view_info.vue +++ b/pages/eight_assignments/view_info.vue @@ -14,6 +14,7 @@ height="200rpx" :src="$filePath + item1.ITEM_VALUE" mode="widthFix" + @click="fnPreviewImage($filePath + item1.ITEM_VALUE)" /> @@ -140,6 +141,12 @@ export default { }, goBack(){ uni.navigateBack() + }, + fnPreviewImage(src){ + uni.previewImage({ + urls: [src], + current: src, + }); } }, }