From a962e61819443fd55907a746bdc0bce70b4c078b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 20 Oct 2025 18:28:12 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/drone-app

---
 src/subPackages/workDetail/photoMagnify/index.vue |   32 ++++++++++++++++++++------------
 1 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/src/subPackages/workDetail/photoMagnify/index.vue b/src/subPackages/workDetail/photoMagnify/index.vue
index 14fc665..fa220aa 100644
--- a/src/subPackages/workDetail/photoMagnify/index.vue
+++ b/src/subPackages/workDetail/photoMagnify/index.vue
@@ -1,18 +1,26 @@
-<!--
- * @Author       : yuan
- * @Date         : 2025-09-29 13:56:16
- * @LastEditors  : yuan
- * @LastEditTime : 2025-09-29 13:56:25
- * @FilePath     : \src\subPackages\workDetail\photoMagnify\index.vue
- * @Description  :
- * Copyright 2025 OBKoro1, All Rights Reserved.
- * 2025-09-29 13:56:16
--->
+
 <!-- 照片放大 -->
 <template>
-  <view> 基础 </view>
+  <view>
+     <WebViewPlus v-if="isApp" ref="sWebViewRef" :src="`${viewUrl}`" @webMessage="onPostMessage"/></view>
 </template>
 
-<script setup></script>
+<script setup>
+  import {getWebViewUrl} from "@/utils/index.js";
+  import { onLoad } from '@dcloudio/uni-app';
+	const viewUrl = ref('')
+  onLoad( (options) => {
+  	const eventNum= options.eventNum;
+  	viewUrl.value = getWebViewUrl('/photoMagnify', {eventNum:eventNum})
+  });
+  const isApp = ref(false)
+  onShow(() => {
+    isApp.value = true
+  });
+
+  onHide(() => {
+    isApp.value = false
+  });
+</script>
 
 <style lang="scss" scoped></style>

--
Gitblit v1.9.3