@@ -203,8 +203,9 @@ Page({ | |||
}, | |||
callPhone:function(e){//拨打电话 | |||
var index = e.target.dataset.index; | |||
console.log(index) | |||
wx.makePhoneCall({ | |||
phoneNumber: this.data.getDataArr[index].phone | |||
phoneNumber: this.data.showDataArr[index].shop_phone | |||
}) | |||
}, | |||
getInputVal:function(e){//获取input框中value |