|
...
|
...
|
@@ -68,6 +68,8 @@ Page({ |
|
|
|
addr:res.data.seller_address,
|
|
|
|
image:res.data.image_url,
|
|
|
|
hasCanSuccess:hasCanSuccess,
|
|
|
|
lat:res.data.lat,
|
|
|
|
long:res.data.long,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(hasOwner){
|
|
...
|
...
|
@@ -180,4 +182,16 @@ Page({ |
|
|
|
util.toast('赴约成功','none')
|
|
|
|
}
|
|
|
|
},
|
|
|
|
lookLocation:function(){
|
|
|
|
//console.log(this.data.seller.lat,this.data.seller.long,this.data.detail.map_address)
|
|
|
|
wx.openLocation({
|
|
|
|
latitude:Number(this.data.seller.lat),
|
|
|
|
longitude:Number(this.data.seller.long),
|
|
|
|
scale:17,
|
|
|
|
address:this.data.seller.addr,
|
|
|
|
success:function (res) {
|
|
|
|
console.log(res)
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|