From a3e9879c5fb428dfdbb97fe7964c40bbdb323fa0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 26 Sep 2023 11:00:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=9A=E4=B8=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/car/ownerCar.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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('调用失败!') + } + + }); } }