|
|
@@ -243,7 +243,7 @@ Page({
|
|
|
latitude,
|
|
|
longitude
|
|
|
}) {
|
|
|
- wx.hideLoading();
|
|
|
+ console.log('精确', latitude, longitude)
|
|
|
that.setData({
|
|
|
'markers[0]': {
|
|
|
id: 1,
|
|
|
@@ -251,6 +251,15 @@ Page({
|
|
|
longitude,
|
|
|
}
|
|
|
});
|
|
|
+ }
|
|
|
+ })
|
|
|
+ wx.getLocation({
|
|
|
+ success({
|
|
|
+ latitude,
|
|
|
+ longitude
|
|
|
+ }) {
|
|
|
+ console.log('bu精确', latitude, longitude)
|
|
|
+ wx.hideLoading();
|
|
|
_Http.basic({
|
|
|
"id": "10027201",
|
|
|
"content": {
|
|
|
@@ -274,8 +283,6 @@ Page({
|
|
|
city: result.addressComponent.city,
|
|
|
county: result.addressComponent.district,
|
|
|
address: result.formatted_address,
|
|
|
- longitude,
|
|
|
- latitude,
|
|
|
remarks: "",
|
|
|
sa_projectid: 0,
|
|
|
sys_enterpriseid: 0
|