|
|
@ -87,6 +87,7 @@ wxShareModel.getShare(params).then(response => { |
|
|
imgUrl: shareConfig.img, // 分享图标
|
|
|
imgUrl: shareConfig.img, // 分享图标
|
|
|
success: function (res) {} |
|
|
success: function (res) {} |
|
|
}); |
|
|
}); |
|
|
|
|
|
// 首次进入页面进会弹窗确认地理位置
|
|
|
if (localStorage.getItem("latitude") == null) { |
|
|
if (localStorage.getItem("latitude") == null) { |
|
|
wx.getLocation({ |
|
|
wx.getLocation({ |
|
|
type: "gcj02", // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
|
|
|
type: "gcj02", // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入'gcj02'
|
|
|
|