Compare commits
No commits in common. "aedb30e74454e7d57ce2fa8ec2d5943d4e5fe34b" and "6caa02508a4ee9d913d5223631d3dcc619ee8f30" have entirely different histories.
aedb30e744
...
6caa02508a
|
@ -83,11 +83,7 @@
|
|||
},
|
||||
"h5" : {
|
||||
"sdkConfigs" : {
|
||||
"maps" : {
|
||||
"qqmap" : {
|
||||
"key" : "TMWBZ-XA3CD-HA74Y-PNUS4-SAV6Q-X7FXH"
|
||||
}
|
||||
}
|
||||
"maps" : {}
|
||||
},
|
||||
"devServer" : {
|
||||
"https" : false,
|
||||
|
|
|
@ -342,15 +342,6 @@
|
|||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
}
|
||||
,{
|
||||
"path" : "map/map",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<template>
|
||||
<view>
|
||||
<map :latitude="30.656693" :longitude="104.136425"></map>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
|
@ -76,22 +76,13 @@
|
|||
const latitude = res.latitude;
|
||||
const longitude = res.longitude;
|
||||
console.log(latitude,longitude,78);
|
||||
uni.chooseLocation({
|
||||
success: function (res) {
|
||||
console.log(res,81);
|
||||
console.log('位置名称:' + res.name);
|
||||
console.log('详细地址:' + res.address);
|
||||
console.log('纬度:' + res.latitude);
|
||||
console.log('经度:' + res.longitude);
|
||||
uni.openLocation({
|
||||
latitude: latitude,
|
||||
longitude: longitude,
|
||||
success: function () {
|
||||
console.log('success');
|
||||
}
|
||||
});
|
||||
// uni.openLocation({
|
||||
// latitude: latitude,
|
||||
// longitude: longitude,
|
||||
// success: function () {
|
||||
// console.log('success');
|
||||
// }
|
||||
// });
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue