app php01 1 month ago
parent
commit
88e63e36ec
42 changed files with 71 additions and 29 deletions
  1. 33 1
      manifest.json
  2. BIN
      static/logo.png
  3. 0 0
      unpackage/cache/wgt/__UNI__3E770EF/app-config-service.js
  4. 0 0
      unpackage/cache/wgt/__UNI__3E770EF/app-service.js
  5. 0 0
      unpackage/cache/wgt/__UNI__3E770EF/app-view.js
  6. 14 7
      unpackage/cache/wgt/__UNI__3E770EF/hybrid/html/maps/js/mapindex.js
  7. 2 4
      unpackage/cache/wgt/__UNI__3E770EF/hybrid/html/maps/mapindex.html
  8. 3 3
      unpackage/cache/wgt/__UNI__3E770EF/hybrid/html/voices/audio.html
  9. 0 0
      unpackage/cache/wgt/__UNI__3E770EF/manifest.json
  10. 0 0
      unpackage/cache/wgt/__UNI__3E770EF/pages/UserCenter/map/Chazhaodizhi.js
  11. 0 0
      unpackage/cache/wgt/__UNI__3E770EF/pages/UserCenter/map/map.js
  12. BIN
      unpackage/cache/wgt/__UNI__3E770EF/static/logo.png
  13. 0 0
      unpackage/dist/build/app-plus/app-config-service.js
  14. 0 0
      unpackage/dist/build/app-plus/app-service.js
  15. 0 0
      unpackage/dist/build/app-plus/app-view.js
  16. 14 7
      unpackage/dist/build/app-plus/hybrid/html/maps/js/mapindex.js
  17. 2 4
      unpackage/dist/build/app-plus/hybrid/html/maps/mapindex.html
  18. 3 3
      unpackage/dist/build/app-plus/hybrid/html/voices/audio.html
  19. 0 0
      unpackage/dist/build/app-plus/manifest.json
  20. 0 0
      unpackage/dist/build/app-plus/pages/UserCenter/map/Chazhaodizhi.js
  21. 0 0
      unpackage/dist/build/app-plus/pages/UserCenter/map/map.js
  22. BIN
      unpackage/dist/build/app-plus/static/logo.png
  23. 0 0
      unpackage/dist/dev/app-plus/app-service.js
  24. 0 0
      unpackage/dist/dev/app-plus/manifest.json
  25. BIN
      unpackage/dist/dev/app-plus/static/logo.png
  26. BIN
      unpackage/res/icons/1024x1024.png
  27. BIN
      unpackage/res/icons/120x120.png
  28. BIN
      unpackage/res/icons/144x144.png
  29. BIN
      unpackage/res/icons/152x152.png
  30. BIN
      unpackage/res/icons/167x167.png
  31. BIN
      unpackage/res/icons/180x180.png
  32. BIN
      unpackage/res/icons/192x192.png
  33. BIN
      unpackage/res/icons/20x20.png
  34. BIN
      unpackage/res/icons/29x29.png
  35. BIN
      unpackage/res/icons/40x40.png
  36. BIN
      unpackage/res/icons/58x58.png
  37. BIN
      unpackage/res/icons/60x60.png
  38. BIN
      unpackage/res/icons/72x72.png
  39. BIN
      unpackage/res/icons/76x76.png
  40. BIN
      unpackage/res/icons/80x80.png
  41. BIN
      unpackage/res/icons/87x87.png
  42. BIN
      unpackage/res/icons/96x96.png

+ 33 - 1
manifest.json

@@ -11,7 +11,7 @@
         "usingComponents" : true,
         "nvueStyleCompiler" : "uni-app",
         "compilerVersion" : 3,
-		"screenOrientation" : [ "portrait-primary" ],
+        "screenOrientation" : [ "portrait-primary" ],
         "splashscreen" : {
             "alwaysShowBeforeRender" : true,
             "waiting" : true,
@@ -60,6 +60,38 @@
                     }
                 },
                 "push" : {}
+            },
+            "icons" : {
+                "android" : {
+                    "hdpi" : "unpackage/res/icons/72x72.png",
+                    "xhdpi" : "unpackage/res/icons/96x96.png",
+                    "xxhdpi" : "unpackage/res/icons/144x144.png",
+                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
+                },
+                "ios" : {
+                    "appstore" : "unpackage/res/icons/1024x1024.png",
+                    "ipad" : {
+                        "app" : "unpackage/res/icons/76x76.png",
+                        "app@2x" : "unpackage/res/icons/152x152.png",
+                        "notification" : "unpackage/res/icons/20x20.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "proapp@2x" : "unpackage/res/icons/167x167.png",
+                        "settings" : "unpackage/res/icons/29x29.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "spotlight" : "unpackage/res/icons/40x40.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
+                    },
+                    "iphone" : {
+                        "app@2x" : "unpackage/res/icons/120x120.png",
+                        "app@3x" : "unpackage/res/icons/180x180.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "notification@3x" : "unpackage/res/icons/60x60.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "settings@3x" : "unpackage/res/icons/87x87.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
+                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
+                    }
+                }
             }
         }
     },

BIN
static/logo.png


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__3E770EF/app-config-service.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__3E770EF/app-service.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__3E770EF/app-view.js


+ 14 - 7
unpackage/cache/wgt/__UNI__3E770EF/hybrid/html/maps/js/mapindex.js

@@ -13,6 +13,10 @@ function hidInputView(){
 	// citys.style.display = "none"; //设置样式为不显示(隐藏)
 }
 
+function driverLocateCH(obj){//外部传入新的定位信息
+	//处理地图更新
+}
+
 
 document.addEventListener('UniAppJSBridgeReady', function() {
 var lats = getQueryVariable('lat') * 1;
@@ -30,6 +34,7 @@ var mpcenter = "";
 var searchmarker = "";
 
 
+
 var showinput=false;
 
 
@@ -103,6 +108,7 @@ function initMap() {
 		if(lg==3){
 			box.placeholder='請輸入目的地...';
 		}
+		
 		Repositioning();
 		ListeningInputBox();
 	}
@@ -184,7 +190,7 @@ function getAddress(latlng,name,mark) {
 		name:name//地址名称
 	}
 	geocoder.geocode({
-		location: latlng
+		location: latlng,
 	}, function(results, status) {
 		if (status === 'OK') {
 			if (results[0]) {
@@ -195,22 +201,22 @@ function getAddress(latlng,name,mark) {
 						var component = components[j];
 						if (component.types.includes("country")) {
 							console.log("国家:  ====>" + component.long_name);
-							cityInfo.country = component.long_name || '暂无';
+							cityInfo.country = component.long_name || '';
 						} else if (component.types.includes("administrative_area_level_1")) {
 							console.log("省/州:  ====>" + component.long_name);
-							cityInfo.province = component.long_name || '暂无';
+							cityInfo.province = component.long_name || '';
 						} else if (component.types.includes("locality")) {
 							console.log("城市: ====> " + component.long_name);
-							cityInfo.city = component.long_name || '暂无';
+							cityInfo.city = component.long_name || '';
 						} else if (component.types.includes("sublocality_level_1")) {
 							console.log("区/县: ====>" + component.long_name);
-							cityInfo.district = component.long_name || '暂无';
+							cityInfo.district = component.long_name || '';
 						} else if (component.types.includes("route")) {
 							console.log("路/街道名: ====> " + component.long_name);
-							cityInfo.street = component.long_name || '暂无';
+							cityInfo.street = component.long_name || '';
 						} else if (component.types.includes("street_number")) {
 							console.log("门牌号: ====> " + component.long_name);
-							cityInfo.door = component.long_name || '暂无';
+							cityInfo.door = component.long_name || '';
 						}
 					}
 				}
@@ -377,6 +383,7 @@ function startDrawRoute(directionsService, travelMode) {
 						scaledSize: new google.maps.Size(50, 50),
 					},
 				});
+				
 				drawRouteMarker.push(startMarker)
 				var endMarker = new google.maps.Marker({
 					position: result.routes[0].legs[0].end_location,

+ 2 - 4
unpackage/cache/wgt/__UNI__3E770EF/hybrid/html/maps/mapindex.html

@@ -14,7 +14,7 @@
 		<!-- 地图 -->
 		<div id="map"></div>
 		<!-- 输入框事件 -->
-		<input id="search-box" type="text" placeholder="Vui lòng nhập điểm đến...">
+		<input id="search-box" type="text" placeholder="請輸入目的地...">
 		<!-- css loading动画 -->
 		<!-- 定位 -->
 		<img class="pos" id="pos" src="./img/positioning.png" alt="">
@@ -31,9 +31,7 @@
 	</body>
 	<script type="text/javascript" src="./js/lib/uniwebviewsdk.js"></script>
 	 
-	<script
-		src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDHkkTK3p_uVk4oQ0MT9u0fr6Psglo5vH8&libraries=places&callback=initMap"
-		async defer></script>
+	<script type="text/javascript" src="https://api.fooder.tw/profile/upload/mapload.js"></script>
 
 	<script type="text/javascript" src="./js/mapindex.js"></script>
 </html>

+ 3 - 3
unpackage/cache/wgt/__UNI__3E770EF/hybrid/html/voices/audio.html

@@ -258,7 +258,7 @@
 	}
 	function initRtc() {
 		if(language=='yuenan'){//越南语
-			ICnote='CTE Rider yêu cầu IM Voice Call';
+			ICnote='美食達 Rider yêu cầu IM Voice Call';
 			title='IM Cuộc gọi thoại';
 			state1='Đang gọi';
 			state2='Đang kết nối';
@@ -267,7 +267,7 @@
 			state5='Kết thúc cuộc gọi';
 		}
 		if(language=='zh-Hans'){//简体中文
-			ICnote='CTE骑手请求IM语音通话'
+			ICnote='美食達骑手请求IM语音通话'
 			title='IM 语音通话';
 			state1='正在呼叫';
 			state2='正在接通';
@@ -276,7 +276,7 @@
 			state5='结束通话';
 		}
 		if(language=='zh-Hant'){//繁体中文
-			ICnote='CTE騎手請求IM語音通話'
+			ICnote='美食達騎手請求IM語音通話'
 			title='IM 語音通話';
 			state1='正在呼叫';
 			state2='正在接通';

File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__3E770EF/manifest.json


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__3E770EF/pages/UserCenter/map/Chazhaodizhi.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/cache/wgt/__UNI__3E770EF/pages/UserCenter/map/map.js


BIN
unpackage/cache/wgt/__UNI__3E770EF/static/logo.png


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/app-config-service.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/app-service.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/app-view.js


+ 14 - 7
unpackage/dist/build/app-plus/hybrid/html/maps/js/mapindex.js

@@ -13,6 +13,10 @@ function hidInputView(){
 	// citys.style.display = "none"; //设置样式为不显示(隐藏)
 }
 
+function driverLocateCH(obj){//外部传入新的定位信息
+	//处理地图更新
+}
+
 
 document.addEventListener('UniAppJSBridgeReady', function() {
 var lats = getQueryVariable('lat') * 1;
@@ -30,6 +34,7 @@ var mpcenter = "";
 var searchmarker = "";
 
 
+
 var showinput=false;
 
 
@@ -103,6 +108,7 @@ function initMap() {
 		if(lg==3){
 			box.placeholder='請輸入目的地...';
 		}
+		
 		Repositioning();
 		ListeningInputBox();
 	}
@@ -184,7 +190,7 @@ function getAddress(latlng,name,mark) {
 		name:name//地址名称
 	}
 	geocoder.geocode({
-		location: latlng
+		location: latlng,
 	}, function(results, status) {
 		if (status === 'OK') {
 			if (results[0]) {
@@ -195,22 +201,22 @@ function getAddress(latlng,name,mark) {
 						var component = components[j];
 						if (component.types.includes("country")) {
 							console.log("国家:  ====>" + component.long_name);
-							cityInfo.country = component.long_name || '暂无';
+							cityInfo.country = component.long_name || '';
 						} else if (component.types.includes("administrative_area_level_1")) {
 							console.log("省/州:  ====>" + component.long_name);
-							cityInfo.province = component.long_name || '暂无';
+							cityInfo.province = component.long_name || '';
 						} else if (component.types.includes("locality")) {
 							console.log("城市: ====> " + component.long_name);
-							cityInfo.city = component.long_name || '暂无';
+							cityInfo.city = component.long_name || '';
 						} else if (component.types.includes("sublocality_level_1")) {
 							console.log("区/县: ====>" + component.long_name);
-							cityInfo.district = component.long_name || '暂无';
+							cityInfo.district = component.long_name || '';
 						} else if (component.types.includes("route")) {
 							console.log("路/街道名: ====> " + component.long_name);
-							cityInfo.street = component.long_name || '暂无';
+							cityInfo.street = component.long_name || '';
 						} else if (component.types.includes("street_number")) {
 							console.log("门牌号: ====> " + component.long_name);
-							cityInfo.door = component.long_name || '暂无';
+							cityInfo.door = component.long_name || '';
 						}
 					}
 				}
@@ -377,6 +383,7 @@ function startDrawRoute(directionsService, travelMode) {
 						scaledSize: new google.maps.Size(50, 50),
 					},
 				});
+				
 				drawRouteMarker.push(startMarker)
 				var endMarker = new google.maps.Marker({
 					position: result.routes[0].legs[0].end_location,

+ 2 - 4
unpackage/dist/build/app-plus/hybrid/html/maps/mapindex.html

@@ -14,7 +14,7 @@
 		<!-- 地图 -->
 		<div id="map"></div>
 		<!-- 输入框事件 -->
-		<input id="search-box" type="text" placeholder="Vui lòng nhập điểm đến...">
+		<input id="search-box" type="text" placeholder="請輸入目的地...">
 		<!-- css loading动画 -->
 		<!-- 定位 -->
 		<img class="pos" id="pos" src="./img/positioning.png" alt="">
@@ -31,9 +31,7 @@
 	</body>
 	<script type="text/javascript" src="./js/lib/uniwebviewsdk.js"></script>
 	 
-	<script
-		src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDHkkTK3p_uVk4oQ0MT9u0fr6Psglo5vH8&libraries=places&callback=initMap"
-		async defer></script>
+	<script type="text/javascript" src="https://api.fooder.tw/profile/upload/mapload.js"></script>
 
 	<script type="text/javascript" src="./js/mapindex.js"></script>
 </html>

+ 3 - 3
unpackage/dist/build/app-plus/hybrid/html/voices/audio.html

@@ -258,7 +258,7 @@
 	}
 	function initRtc() {
 		if(language=='yuenan'){//越南语
-			ICnote='CTE Rider yêu cầu IM Voice Call';
+			ICnote='美食達 Rider yêu cầu IM Voice Call';
 			title='IM Cuộc gọi thoại';
 			state1='Đang gọi';
 			state2='Đang kết nối';
@@ -267,7 +267,7 @@
 			state5='Kết thúc cuộc gọi';
 		}
 		if(language=='zh-Hans'){//简体中文
-			ICnote='CTE骑手请求IM语音通话'
+			ICnote='美食達骑手请求IM语音通话'
 			title='IM 语音通话';
 			state1='正在呼叫';
 			state2='正在接通';
@@ -276,7 +276,7 @@
 			state5='结束通话';
 		}
 		if(language=='zh-Hant'){//繁体中文
-			ICnote='CTE騎手請求IM語音通話'
+			ICnote='美食達騎手請求IM語音通話'
 			title='IM 語音通話';
 			state1='正在呼叫';
 			state2='正在接通';

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/manifest.json


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/pages/UserCenter/map/Chazhaodizhi.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/build/app-plus/pages/UserCenter/map/map.js


BIN
unpackage/dist/build/app-plus/static/logo.png


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/app-plus/manifest.json


BIN
unpackage/dist/dev/app-plus/static/logo.png


BIN
unpackage/res/icons/1024x1024.png


BIN
unpackage/res/icons/120x120.png


BIN
unpackage/res/icons/144x144.png


BIN
unpackage/res/icons/152x152.png


BIN
unpackage/res/icons/167x167.png


BIN
unpackage/res/icons/180x180.png


BIN
unpackage/res/icons/192x192.png


BIN
unpackage/res/icons/20x20.png


BIN
unpackage/res/icons/29x29.png


BIN
unpackage/res/icons/40x40.png


BIN
unpackage/res/icons/58x58.png


BIN
unpackage/res/icons/60x60.png


BIN
unpackage/res/icons/72x72.png


BIN
unpackage/res/icons/76x76.png


BIN
unpackage/res/icons/80x80.png


BIN
unpackage/res/icons/87x87.png


BIN
unpackage/res/icons/96x96.png


Some files were not shown because too many files changed in this diff