map navigation:
type latitude and longitude values are not of type String.
handleNav:function(index){
let _this = this;
let item =_this.orderList[index];
//使用微信内置地图查看位置
wx.openLocation({
latitude:parseFloat(item.lat),//地址的纬度
longitude: parseFloat(item.lon),//地址的经度-
address: item.deliveryAddress//详细地址
})
}
dial number:
handleCallPhone:function(index){
let _this = this;
wx.makePhoneCall({
phoneNumber: _this.orderList[index].deliveryPhone
})
}