From fa6247894dd69aa63daa26f12b1a6f99cacbdabb Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 05 九月 2022 17:59:08 +0800
Subject: [PATCH] 修改接口地址,优化停车位样式

---
 pages/gaode/gaode.vue |   94 +++++++++++++++++++++++-----------------------
 1 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/pages/gaode/gaode.vue b/pages/gaode/gaode.vue
index 49c9f80..e468865 100644
--- a/pages/gaode/gaode.vue
+++ b/pages/gaode/gaode.vue
@@ -4,50 +4,50 @@
 	</view>
 </template>
 
-<script>
-	var wv;  
+<script>
+	var wv;  
 	var pageUrl = 'https://ditu.amap.com/search?id=B000A6AF30&city=110108&geoobj=110.234084%7C32.218361%7C110.24359%7C32.223114&query_type=IDQ&query=%E5%8C%97%E4%BA%AC%E5%B8%82%E8%82%B2%E8%8B%B1%E4%B8%AD%E5%AD%A6';
-	//var pageUrl = 'https://www.amap.com/search?id=B000A6AF30&city=110108&geoobj=112.467616%7C29.123802%7C119.790531%7C32.648103&query_type=IDQ&query=%E5%8C%97%E4%BA%AC%E5%B8%82%E8%82%B2%E8%8B%B1%E4%B8%AD%E5%AD%A6&zoom=7.41';
+	//var pageUrl = 'https://www.amap.com/search?id=B000A6AF30&city=110108&geoobj=112.467616%7C29.123802%7C119.790531%7C32.648103&query_type=IDQ&query=%E5%8C%97%E4%BA%AC%E5%B8%82%E8%82%B2%E8%8B%B1%E4%B8%AD%E5%AD%A6&zoom=7.41';
 	export default {
 		data() {
 			return {
-				webviewStyles:{
-					progress: {
-						color: '#00ff7f',
-						top: '20px'
-					}
+				webviewStyles:{
+					progress: {
+						color: '#00ff7f',
+						top: '20px'
+					}
 				}
 			}
-		},
-		onReady(){
-			// #ifdef APP-PLUS
-			var currentWebview = this.$scope.$getAppWebview() //姝ゅ璞$浉褰撲簬html5plus閲岀殑plus.webview.currentWebview()銆傚湪uni-app閲寁ue椤甸潰鐩存帴浣跨敤plus.webview.currentWebview()鏃犳晥锛岄潪v3缂栬瘧妯″紡浣跨敤this.$mp.page.$getAppWebview()
-			console.log(currentWebview);
-			setTimeout(function() {
-				wv = currentWebview.children()[0]
-				wv.setStyle({top:22, height:uni.getSystemInfoSync().windowHeight-22})
-				//wv.setStyle({top:uni.getSystemInfoSync().statusBarHeight+44});
-			}, 1000); //濡傛灉鏄〉闈㈠垵濮嬪寲璋冪敤鏃讹紝闇�瑕佸欢鏃朵竴涓�
-			// #endif
-		},
-		// onLoad() {
-		// 	// #ifdef APP-PLUS
-		// 	wv = plus.webview.create("","custom-webview",{
-		// 		plusrequire:"none", //绂佹杩滅▼缃戦〉浣跨敤plus鐨凙PI锛屾湁浜涗娇鐢╩ui鍒朵綔鐨勭綉椤靛彲鑳戒細鐩戝惉plus.key锛岄�犳垚鍏抽棴椤甸潰娣蜂贡锛屽彲浠ラ�氳繃杩欑鏂瑰紡绂佹
-		// 		'uni-app': 'none', //涓嶅姞杞絬ni-app娓叉煋灞傛鏋讹紝閬垮厤鏍峰紡鍐茬獊
-		// 		//top:uni.getSystemInfoSync().statusBarHeight+44 //鏀剧疆鍦╰itleNView涓嬫柟銆傚鏋滆繕鎯冲湪webview涓婃柟鍔犱釜鍦板潃鏍忕殑浠�涔堢殑锛屽彲浠ョ户缁檷浣嶵OP鍊�
-		// 		top:52, 
-		// 		height:uni.getSystemInfoSync().windowHeight-52
-		// 	})
-		// 	wv.loadURL("https://ditu.amap.com/search?id=B000A6AF30&city=110108&geoobj=110.234084%7C32.218361%7C110.24359%7C32.223114&query_type=IDQ&query=%E5%8C%97%E4%BA%AC%E5%B8%82%E8%82%B2%E8%8B%B1%E4%B8%AD%E5%AD%A6&zoom=17")
-		// 	var currentWebview = this.$mp.page.$getAppWebview() //鑾峰彇褰撳墠椤甸潰鐨剋ebview瀵硅薄
-		// 	currentWebview.append(wv);
-		// 	setTimeout(function() {
-		// 		console.log(wv.getStyle())
-				
-		// 	}, 1000);//濡傛灉鏄椤电殑onload璋冪敤鏃堕渶瑕佸欢鏃朵竴涓嬶紝浜岀骇椤甸潰鏃犻渶寤舵椂锛屽彲鐩存帴鑾峰彇
-		// 	// #endif
-		// },
+		},
+		onReady(){
+			// #ifdef APP-PLUS
+			var currentWebview = this.$scope.$getAppWebview() //姝ゅ璞$浉褰撲簬html5plus閲岀殑plus.webview.currentWebview()銆傚湪uni-app閲寁ue椤甸潰鐩存帴浣跨敤plus.webview.currentWebview()鏃犳晥锛岄潪v3缂栬瘧妯″紡浣跨敤this.$mp.page.$getAppWebview()
+			console.log(currentWebview);
+			setTimeout(function() {
+				wv = currentWebview.children()[0]
+				wv.setStyle({top:22, height:uni.getSystemInfoSync().windowHeight-22})
+				//wv.setStyle({top:uni.getSystemInfoSync().statusBarHeight+44});
+			}, 1000); //濡傛灉鏄〉闈㈠垵濮嬪寲璋冪敤鏃讹紝闇�瑕佸欢鏃朵竴涓�
+			// #endif
+		},
+		// onLoad() {
+		// 	// #ifdef APP-PLUS
+		// 	wv = plus.webview.create("","custom-webview",{
+		// 		plusrequire:"none", //绂佹杩滅▼缃戦〉浣跨敤plus鐨凙PI锛屾湁浜涗娇鐢╩ui鍒朵綔鐨勭綉椤靛彲鑳戒細鐩戝惉plus.key锛岄�犳垚鍏抽棴椤甸潰娣蜂贡锛屽彲浠ラ�氳繃杩欑鏂瑰紡绂佹
+		// 		'uni-app': 'none', //涓嶅姞杞絬ni-app娓叉煋灞傛鏋讹紝閬垮厤鏍峰紡鍐茬獊
+		// 		//top:uni.getSystemInfoSync().statusBarHeight+44 //鏀剧疆鍦╰itleNView涓嬫柟銆傚鏋滆繕鎯冲湪webview涓婃柟鍔犱釜鍦板潃鏍忕殑浠�涔堢殑锛屽彲浠ョ户缁檷浣嶵OP鍊�
+		// 		top:52, 
+		// 		height:uni.getSystemInfoSync().windowHeight-52
+		// 	})
+		// 	wv.loadURL("https://ditu.amap.com/search?id=B000A6AF30&city=110108&geoobj=110.234084%7C32.218361%7C110.24359%7C32.223114&query_type=IDQ&query=%E5%8C%97%E4%BA%AC%E5%B8%82%E8%82%B2%E8%8B%B1%E4%B8%AD%E5%AD%A6&zoom=17")
+		// 	var currentWebview = this.$mp.page.$getAppWebview() //鑾峰彇褰撳墠椤甸潰鐨剋ebview瀵硅薄
+		// 	currentWebview.append(wv);
+		// 	setTimeout(function() {
+		// 		console.log(wv.getStyle())
+				
+		// 	}, 1000);//濡傛灉鏄椤电殑onload璋冪敤鏃堕渶瑕佸欢鏃朵竴涓嬶紝浜岀骇椤甸潰鏃犻渶寤舵椂锛屽彲鐩存帴鑾峰彇
+		// 	// #endif
+		// },
 		
 		methods: {
 			
@@ -55,15 +55,15 @@
 	}
 </script>
 
-<style lang="scss" scoped>
-	uni-page-wrapper,uni-page-body{
-		height: 100%;
-		padding-top:44rpx;
+<style lang="scss" scoped>
+	uni-page-wrapper,uni-page-body{
+		height: 100%;
+		padding-top:44rpx;
 	}
-	.common_header{
-		background-color: #fff!important;
-	}
-	.gap{
-		height:44rpx;
+	.common_header{
+		background-color: #fff!important;
+	}
+	.gap{
+		height:44rpx;
 	}
 </style>

--
Gitblit v1.8.0