//在html里加上标签
<meta name="format-detection" content="telephone=yes" />。
<p @click="callPhone('13456796265')">呼叫</p>
// 调用拨号功能
callPhone(phoneNumber) {//公共方法,可动态传入不同号码
window.location.href = "tel://" + phoneNumber;
}
//在html里加上标签
<meta name="format-detection" content="telephone=yes" />。
<p @click="callPhone('13456796265')">呼叫</p>
// 调用拨号功能
callPhone(phoneNumber) {//公共方法,可动态传入不同号码
window.location.href = "tel://" + phoneNumber;
}