diff --git a/pages/car/ownerCar.vue b/pages/car/ownerCar.vue index 7d94414..bb0ca83 100644 --- a/pages/car/ownerCar.vue +++ b/pages/car/ownerCar.vue @@ -28,7 +28,7 @@ {{item.carNum}} - + {{item.ownerName}}/{{item.link}} @@ -97,6 +97,23 @@ }).then(_data=>{ _that.cars = _data.data; }) + }, + _toTel:function(_tel){ + uni.makePhoneCall({ + // 手机号 + phoneNumber: _tel, + + // 成功回调 + success: (res) => { + console.log('调用成功!') + }, + + // 失败回调 + fail: (res) => { + console.log('调用失败!') + } + + }); } }