点击微信网页的a标签直接跳转到淘宝APP打开怎么实现的?附:动图演示效果

这里写图片描述
图片很清晰的看出是在微信里面打开的一个网页,当点击“直接下单”的时候,就直接跳转到淘宝APP了,无需通过浏览器唤起APP。

代码:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">

<a href="https://t.asczwa.com/taobao?backurl=http://s.rvkmz.com/h.DMJpiI">test</a>

解析:

https://t.asczwa.com/taobao?backurl=链接前面加上这个就可以唤醒

猜你喜欢

转载自blog.csdn.net/bigbear00007/article/details/80758396