From 0e6ddf5d62b9cfc9c9eef94cd62f061627a95633 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 21 Feb 2022 19:45:51 +0800
Subject: [PATCH] 地图

---
 pages/registerUser/registerUser.vue |   78 ++++++++++++++++----------------------
 1 files changed, 33 insertions(+), 45 deletions(-)

diff --git a/pages/registerUser/registerUser.vue b/pages/registerUser/registerUser.vue
index 8975bd2..ce91e85 100644
--- a/pages/registerUser/registerUser.vue
+++ b/pages/registerUser/registerUser.vue
@@ -316,6 +316,39 @@
 						label: '平安志愿者',
 						value: 1494565079268491266
 					}
+				],
+				region: [{
+						label: '民警',
+						value: 1417092295132561409
+					},
+					{
+						label: '治保会队伍',
+						value: 1424615693403414529
+					},
+					{
+						label: '内保干部队伍',
+						value: 1424615773594312705
+					},
+					{
+						label: '治安巡防队伍',
+						value: 1424615835435130881
+					},
+					{
+						label: '信息员队伍',
+						value: 1424615909959524354
+					},
+					{
+						label: '保安员队伍',
+						value: 1424615972718895106
+					},
+					{
+						label: '警务辅助队伍',
+						value: 1424616047083905026
+					},
+					{
+						label: '平安志愿者',
+						value: 1494565079268491266
+					}
 				]
 			};
 		},
@@ -338,51 +371,6 @@
 					that.regionName = name.replace('市', '市派出所');
 				}
 
-			
-			},
-			openLoginMap() {
-				var that = this
-				uni.getLocation({
-					type: 'wgs84',
-					success: function(res) {
-						console.log('当前位置的经度:' + res.longitude);
-						console.log('当前位置的纬度:' + res.latitude);
-						that.latitude = res.latitude
-						that.longitude = res.longitude
-						that.marker = [{
-							id: 0,
-							latitude: res.latitude, //纬度
-							longitude: res.longitude, //经度
-							iconPath: '/static/img/map/location.png', //显示的图标        
-							rotate: 0, // 旋转度数
-							width: 20, //宽
-							height: 20, //高
-							title: '位置', //标注点名
-							alpha: 1, //透明度
-						}]
-
-						var data = [{
-							"id": '100000',
-							"place": '无数据',
-							"state": '0',
-							"dtype": '0',
-							"size": '300',
-							"jd": res.longitude,
-							"wd": res.latitude
-						}]
-
-						uni.navigateTo({
-							url: '/pages/currentMap/currentMap?data=' + JSON.stringify(data)
-						})
-
-
-						// that.loginMapUrl =
-						// 	'http://192.168.0.115:5500/leafletMapOur/loginMap/loginMap.html?data=' + data
-
-						// // that.loginMapUrl = 'http://223.82.109.183:2082/loginMap/loginMap.html?data=' + data
-						// that.mapShow = true
-					}
-				})
 
 			},
 			zc() {

--
Gitblit v1.9.3