|
|
|
// components/activity/hasActivity.js
|
|
|
|
const TSPOS={
|
|
|
|
latitude:[
|
|
|
|
39.8380681800,
|
|
|
|
39.4711852300,
|
|
|
|
],
|
|
|
|
longitude:[
|
|
|
|
117.9670715300,
|
|
|
|
118.4078979500,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
Component({
|
|
|
|
/**
|
|
|
|
* 组件的属性列表
|
|
...
|
...
|
@@ -36,6 +26,16 @@ Component({ |
|
|
|
*/
|
|
|
|
methods: {
|
|
|
|
onpos(e){
|
|
|
|
let TSPOS={
|
|
|
|
latitude:[
|
|
|
|
39.8380681800,
|
|
|
|
39.4711852300,
|
|
|
|
],
|
|
|
|
longitude:[
|
|
|
|
117.9670715300,
|
|
|
|
118.4078979500,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
let location=e.detail
|
|
|
|
//location.latitude=39.6242016100
|
|
|
|
//location.longitude=118.1174469000
|
...
|
...
|
|