lxf пре 4 недеља
родитељ
комит
25862e9712

+ 1 - 1
components/guardSuccessPopup/guardSuccessPopup.vue

@@ -35,7 +35,7 @@
 	});
 
 	const getImageUrl = (filename) =>{
-		if (filename.startsWith("https")) {
+		if (filename?.startsWith("https")) {
 			return filename; // 直接使用完整 URL
 		} else {
 			return config.BASE_IMG_URL + filename + resize; // 拼接基础 URL

+ 1 - 1
pages/tabBar/home/home.vue

@@ -23,7 +23,7 @@
 			    show-location
 			    style="width: 100%; height: 280rpx;clip-path: inset(0rpx round 16rpx);"
 			  ></map> -->
-			  <video src="https://birdseye-img.sysuimars.com/temp/5-25lby.mp4" object-fit="cover" :show-fullscreen-btn="false"
+			  <video src="https://birdseye-img.sysuimars.com/youwei-uniapp/home/map-video.mp4" object-fit="cover" :show-fullscreen-btn="false"
 			  	:autoplay="true" class="map-video" loop muted :show-progress="false" :show-play-btn="false">
 			  </video>
 			<view class="map-tips" @click="toPage('allGardenMap')">

+ 3 - 3
pages/tabBar/home/subPages/allGardenMap.vue

@@ -14,8 +14,8 @@
 	const webViewUrl = ref('')
 
 	onMounted(() => {
-		// webViewUrl.value =
-		// 	`https://feiniao-mini-h5-dev.sysuimars.cn/youwei/#/allGardenMap?userId=${userInfo.id}&token=${userInfo.token}`
-		webViewUrl.value = "http://localhost:8081/#/allGardenMap?userId=91754&token=034d7cf5-25fc-42d3-993e-460120419e5a"
+		webViewUrl.value =
+			`https://feiniao-mini-h5-dev.sysuimars.cn/youwei/#/allGardenMap?userId=${userInfo.id}&token=${userInfo.token}`
+		// webViewUrl.value = "http://localhost:8081/#/allGardenMap?userId=91754&token=034d7cf5-25fc-42d3-993e-460120419e5a"
 	})
 </script>

+ 1 - 1
pages/tabBar/home/subPages/gardenItem.vue

@@ -18,7 +18,7 @@
 				<source-report-vue :showStep="false"></source-report-vue>
 			</view>
 		</view>
-		<l-floating-panel v-model:height="panelHeight" @heightChange="changePanel" :anchors="anchors" :defaultAnchor="2" :content-draggable="false">
+		<l-floating-panel :height="panelHeight" @heightChange="changePanel" :anchors="anchors" :defaultAnchor="2" :content-draggable="false">
 			<view class="panel-content" ref="scrollViewRef">
 				<view class="panel-title">
 					<view class="title-l">

+ 6 - 6
pages/tabBar/home/subPages/gardenMap.vue

@@ -16,13 +16,13 @@
 	
 	onLoad(({enterSelectTree}) => {
 		if (enterSelectTree) {
-			// webViewUrl.value =
-			// 	`https://feiniao-mini-h5-dev.sysuimars.cn/youwei/#/gardenMap?userId=${userInfo.id}&token=${userInfo.token}&enterSelectTree=true`
-			webViewUrl.value = "http://localhost:8081/#/gardenMap?userId=91754&token=034d7cf5-25fc-42d3-993e-460120419e5a&enterSelectTree=true"
+			webViewUrl.value =
+				`https://feiniao-mini-h5-dev.sysuimars.cn/youwei/#/gardenMap?userId=${userInfo.id}&token=${userInfo.token}&enterSelectTree=true`
+			// webViewUrl.value = "http://localhost:8081/#/gardenMap?userId=91754&token=034d7cf5-25fc-42d3-993e-460120419e5a&enterSelectTree=true"
 		} else {
-			// webViewUrl.value =
-			// 	`https://feiniao-mini-h5-dev.sysuimars.cn/youwei/#/gardenMap?userId=${userInfo.id}&token=${userInfo.token}`
-				webViewUrl.value = "http://localhost:8081/#/gardenMap?userId=91754&token=034d7cf5-25fc-42d3-993e-460120419e5a"
+			webViewUrl.value =
+				`https://feiniao-mini-h5-dev.sysuimars.cn/youwei/#/gardenMap?userId=${userInfo.id}&token=${userInfo.token}`
+				// webViewUrl.value = "http://localhost:8081/#/gardenMap?userId=91754&token=034d7cf5-25fc-42d3-993e-460120419e5a"
 		}
 	})
 </script>