|
@@ -51,7 +51,7 @@
|
|
|
</view>
|
|
|
<view class="am1-2">
|
|
|
距您{{selfTake.distanceDesc}}
|
|
|
- <image src="http://www.gzzzyd.com/groupon/order_details/距离@2x.png" mode="scaleToFill" />
|
|
|
+ <image src="http://www.gzzzyd.com/groupon/order_details/导航图标@2x.png" mode="scaleToFill" @click="openmap(selfTake)" />
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="am2">
|
|
@@ -463,7 +463,16 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ openmap(selfTake) {
|
|
|
+ uni.openLocation({
|
|
|
+ latitude: selfTake.latitude,
|
|
|
+ longitude: selfTake.longitude,
|
|
|
+ address: selfTake.address,
|
|
|
+ success: function () {
|
|
|
+ console.log('success');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
|
|
|
clickSelfTake(item){
|
|
|
this.selfTakeShow =false;
|