Commit 9654c5fe67d83927702f87b70f45371571f6b8f0

Authored by wangfan
1 parent 68d22c2f

v2 customer view

... ... @@ -82,6 +82,17 @@ Component({
}
this.setData(obj)
}
}
},
lookLocation:function(){
wx.openLocation({
latitude:Number(this.data.seller.lat),
longitude:Number(this.data.seller.long),
scale:17,
address:this.data.detail.map_address,
success:function (res) {
console.log(res)
}
})
},
}
})
... ...
... ... @@ -25,7 +25,7 @@
<view class="value">{{tableSubInfo}}</view>
</view>
</view>
<view class="seller address flex-ll">
<view class="seller address flex-ll" catchtap="lookLocation">
<view class="gps-icon">
<image src="/pages/image/gps-icon.png"></image>
</view>
... ...