<div @click="gotel"> 我的客服 </div>
const gotel = () => {
// window.location.href = 'tel:' + 跳转到拨号键盘时显示的手机号
// 例如:
window.location.href = 'tel://12345678912'
}
移动端点击按钮跳转到拨号键盘
最新推荐文章于 2024-07-11 20:55:36 发布
<div @click="gotel"> 我的客服 </div>
const gotel = () => {
// window.location.href = 'tel:' + 跳转到拨号键盘时显示的手机号
// 例如:
window.location.href = 'tel://12345678912'
}