From c44c76ea3e1f6b70bb84bdde85ffd1b389e5b8f4 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 23 四月 2025 10:58:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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