Showing
1 changed file
with
10 additions
and
10 deletions
| 1 | // components/activity/hasActivity.js | 1 | // components/activity/hasActivity.js |
| 2 | -const TSPOS={ | ||
| 3 | - latitude:[ | ||
| 4 | - 39.8380681800, | ||
| 5 | - 39.4711852300, | ||
| 6 | - ], | ||
| 7 | - longitude:[ | ||
| 8 | - 117.9670715300, | ||
| 9 | - 118.4078979500, | ||
| 10 | - ] | ||
| 11 | -} | ||
| 12 | Component({ | 2 | Component({ |
| 13 | /** | 3 | /** |
| 14 | * 组件的属性列表 | 4 | * 组件的属性列表 |
| @@ -36,6 +26,16 @@ Component({ | @@ -36,6 +26,16 @@ Component({ | ||
| 36 | */ | 26 | */ |
| 37 | methods: { | 27 | methods: { |
| 38 | onpos(e){ | 28 | onpos(e){ |
| 29 | + let TSPOS={ | ||
| 30 | + latitude:[ | ||
| 31 | + 39.8380681800, | ||
| 32 | + 39.4711852300, | ||
| 33 | + ], | ||
| 34 | + longitude:[ | ||
| 35 | + 117.9670715300, | ||
| 36 | + 118.4078979500, | ||
| 37 | + ] | ||
| 38 | + } | ||
| 39 | let location=e.detail | 39 | let location=e.detail |
| 40 | //location.latitude=39.6242016100 | 40 | //location.latitude=39.6242016100 |
| 41 | //location.longitude=118.1174469000 | 41 | //location.longitude=118.1174469000 |
-
Please register or login to post a comment