是否有类似于<a href="sms:...">
的文本消息链接?其行为方式类似,但不是拨打电话,而是提示用户发送短信?
是否有类似于<a href="sms:...">
的文本消息链接?其行为方式类似,但不是拨打电话,而是提示用户发送短信?
试着使用这个:
<a href="sms://+14035550185?body=I%27m%20interested%20in%20your%20product.%20Please%20contact%20me.">Send a SMS message</a>
可以使用 body 参数将消息排入文本队列。尝试使用这些短信格式,它们已在移动浏览器上进行了测试:
<!-- With phone number -->
<a href="sms:+150000000?body=Share%20this%20message%20on%20sms">Send SMS Message</a>
<!-- Without phone number -->
<a href="sms:?&body=Share%20this%20message%20on%20sms">Send SMS Message</a>
The basic format of text messages link is
<a href="sms:...">
WhatsApp 提供了发送文本的选项。
<a href="whatsapp://send?text=The text to share!" data-action="share/whatsapp/share">Share via Whatsapp</a>