0000
This commit is contained in:
21
pages/goodsDetails/shopAdd/shopAdd.js
Normal file
21
pages/goodsDetails/shopAdd/shopAdd.js
Normal file
@@ -0,0 +1,21 @@
|
||||
Component({
|
||||
properties: {
|
||||
merchantList: Array
|
||||
},
|
||||
data: {},
|
||||
methods: {
|
||||
call: function(t) {
|
||||
var e = t.currentTarget.dataset.tel;
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: e
|
||||
});
|
||||
},
|
||||
toMap: function(t) {
|
||||
var e = t.currentTarget.dataset, a = e.latitude, n = e.longitude;
|
||||
wx.openLocation({
|
||||
latitude: a,
|
||||
longitude: n
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user