欢迎各位兄弟 发布技术文章
这里的技术是共享的
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<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">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>添加老师微信</title>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
</head>
<a href="javascript:window.location.href='weixin://'">javascript:window.location.href='weixin://' </a> <br>
<br>
<a href="weixin://">weixin:// </a> <br>
<br>
<a href="http://weixin.qq.com/r/IzsfB-fEoarerbNk924x ">weixin://dl/general </a> <br>
<p><a href="weixin://dl/businessWebview/link/?appid=wx707c5fa91ef0a58c&url=baidu.com">test </a></p>
<p><a href="weixin://dl/business/?ticket=t7ac579f071faadbce4c31fca854b3e59">http </a></p>
<p><a href="https://u.wechat.com/MI7fEyX7kziBZEXB7NWCQDY">跳转二维码 </a></p>
<script>
function openwx(){
locatUrl = "weixin://";
if(/ipad|iphone|mac/i.test(navigator.userAgent)) {
var ifr =document.createElement("iframe");
ifr.src = locatUrl;
ifr.style.display = "none";
document.body.appendChild(ifr);
}else{
window.location.href = locatUrl;
}
}
</script>
<p><a href="javascript:openwx()">js 调用跳转微信 </a></p>
</html>