From 6a787b9af792e04ae40625ed44c362fa0c9a3f4e Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 17 四月 2025 18:26:31 +0800
Subject: [PATCH] 提交

---
 h5/pages/details_she/details_she.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/h5/pages/details_she/details_she.vue b/h5/pages/details_she/details_she.vue
index 3105c8b..9f45673 100644
--- a/h5/pages/details_she/details_she.vue
+++ b/h5/pages/details_she/details_she.vue
@@ -35,11 +35,11 @@
 			<view class="box_item_label">鏄惁澶栭儴灏卞尰</view>
 			<view class="box_item_value">{{isTrue(info.outJiuyi)}}</view>
 		</view>
-		<view class="box_item">
+		<view class="box_item" v-if="info.outJiuyi == '0'">
 			<view class="box_item_label">鏄惁鍖诲姟瀹�</view>
 			<view class="box_item_value">{{isTrue(info.isYiwushi)}}</view>
 		</view>
-		<view class="box_item">
+		<view class="box_item" v-if="info.isYiwushi === '0'">
 			<view class="box_item_label">鏄惁鍙椾激</view>
 			<view class="box_item_value">{{isTrue(info.isHurted)}}</view>
 		</view>
@@ -58,7 +58,7 @@
 		<view class="box_item" style="flex-direction: column;">
 			<view class="box_item_label">鍥剧墖</view>
 			<view class="box_item_tu" v-if="info.multifileList">
-				<view class="box_item_tu_item" v-for="(item, index) in info.multifileList" :key="index">
+				<view class="box_item_tu_item" v-for="(item, index) in info.multifileList" :key="index" @click="previewImage(item.fileurlFull, info.multifileList.map(item => item.fileurlFull))">
 					<image :src="item.fileurlFull" mode="widthFix"></image>
 				</view>
 				<view class="box_item_tu_zw"></view>
@@ -82,6 +82,12 @@
 			this.getDetails()
 		},
 		methods: {
+			previewImage(current, urls) {
+				uni.previewImage({
+					current,
+					urls
+				});
+			},
 			getDetails() {
 				this.$u.api.detail({ id: this.id })
 					.then(res => {

--
Gitblit v1.9.3