Showing
2 changed files
with
3 additions
and
1 deletions
| @@ -84,11 +84,12 @@ Component({ | @@ -84,11 +84,12 @@ Component({ | ||
| 84 | } | 84 | } |
| 85 | }, | 85 | }, |
| 86 | lookLocation:function(){ | 86 | lookLocation:function(){ |
| 87 | + //console.log(this.data.seller.lat,this.data.seller.long,this.data.detail.map_address) | ||
| 87 | wx.openLocation({ | 88 | wx.openLocation({ |
| 88 | latitude:Number(this.data.seller.lat), | 89 | latitude:Number(this.data.seller.lat), |
| 89 | longitude:Number(this.data.seller.long), | 90 | longitude:Number(this.data.seller.long), |
| 90 | scale:17, | 91 | scale:17, |
| 91 | - address:this.data.detail.map_address, | 92 | + address:this.data.seller.map_address, |
| 92 | success:function (res) { | 93 | success:function (res) { |
| 93 | console.log(res) | 94 | console.log(res) |
| 94 | } | 95 | } |
-
Please register or login to post a comment