fclose,HTML5 tel make a phone call

 2023-10-18 阅读 17 评论 0

摘要:HTML5 & tel & make a phone call 咋呼叫呀,網頁怎么打電話? {key: "exploreCorpPhone",title: "企業電話",width: 150,align: "center",render: (h, params) => {let tel = params.row.exploreCorpPhone;if (tel)

HTML5 & tel & make a phone call

咋呼叫呀,網頁怎么打電話?

740516-20190403160842601-1492190485.png

{key: "exploreCorpPhone",title: "企業電話",width: 150,align: "center",render: (h, params) => {let tel = params.row.exploreCorpPhone;if (tel) {return h("div", [h("Icon", {props: {name: "ios-call"}}),h("a", {attrs: {"data-tel": tel,href: `tel: ${tel}`,},}, tel),]);} else {return h("div", [h("Icon", {props: {name: "ios-call"}}),]);}},},
render: (h, params) => {let tel = params.row.exploreCorpPhone;if (tel) {return h("div", [h("Icon", {props: {name: "ios-call"}}),h("a", {attrs: {"data-tel": tel,href: `tel: ${tel}`,},}, tel),]);} else {return h("div", [h("Icon", {props: {name: "ios-call"}}),]);}},
  1. window.open('tel:12345');

https://stackoverflow.com/questions/16781772/trigger-phone-call-with-javascript

  1. <a href="tel: 18123456789">18123456789</a>

740516-20190403162238253-302092982.png


<!DOCTYPE html>
<html lang="zh-Hans">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta name="author" content="xgqfrms"><meta name="generator" content="VS code"><title>make a phone call in js</title>
</head>
<body><section><h1>js & make a call</h1><a href="tel: 18123456789">18123456789</a><a href="tel: 021 88888888">021 88888888</a></section>
</body>
</html>

740516-20190403162435549-460956772.png

fclose?https://zhidao.baidu.com/question/455762432046249965.html

  1. 調后臺提供的接口

點呼叫彈出呼叫窗口,確認后調后臺提供的接口就可以,后臺會去調釘釘發起電話

https://blog.csdn.net/cengjingcanghai123/article/details/47951003


# input type=tel,


< input type="tel"></input>

轉載于:https://www.cnblogs.com/xgqfrms/p/10649558.html

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/4/149396.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息