From 520c4fef24b9ebcca6bb3c6b3b06c327f0dcc901 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 16 Oct 2025 16:55:53 +0800
Subject: [PATCH] feat:地图展示

---
 src/subPackages/workDetail/mapWork/index.vue |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/subPackages/workDetail/mapWork/index.vue b/src/subPackages/workDetail/mapWork/index.vue
index e82a780..c39e52c 100644
--- a/src/subPackages/workDetail/mapWork/index.vue
+++ b/src/subPackages/workDetail/mapWork/index.vue
@@ -1,8 +1,21 @@
 <!-- 地图展示 -->
 <template>
-  <view> 基础 </view>
+  <WebViewPlus ref="sWebViewRef" :src="`${viewUrl}`" @webMessage="onPostMessage"/>
 </template>
 
-<script setup></script>
+<script setup>
+	import {getWebViewUrl} from "@/utils/index.js";
+	import { onLoad } from '@dcloudio/uni-app';
+	
+	const sWebViewRef = ref(null);
+	const viewUrl = ref('')
+
+	onLoad( (options) => {
+		
+		const currentItem = options.currentItem
+	viewUrl.value = getWebViewUrl('/mapWork', {currentItem:currentItem})	
+		
+	});
+</script>
 
 <style lang="scss" scoped></style>

--
Gitblit v1.9.3