短信利用weixin://connectToFreeWifi/?apKey=协议跳转到微信打开落地页h5

微信门店wifi接口,任意站跳转,跳转二维码长按识别加粉,接口支持动态传参数,支持微信支付等特殊接口对接。

代码如下使用

短信利用weixin://connectToFreeWifi/?apKey=协议跳转到微信打开落地页h5
<head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,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">

  <link rel="icon" href="data:;base64,=">

  <style>

        .open{    font-size: 14px;

    color: #9B9B9B;

    text-align:center

  }

        .open span{color: #067ec6;}

        </style>

    <title>跳转中</title>

</head>

<body style="    background: rgb(239, 239, 239);

    margin: 0px;

    zoom: 1;">

<a href="" style="width: 100%;background: #009f95;text-align: center;color: #fff;margin: 0 auto;box-sizing: border-box;font-size: 13px;line-height: 2.55555556;display: block;text-decoration: none;" class="copy-btns" data-clipboard-target="#fo1">请在弹窗中选择“允许”或“打开”前往微信客户端</a>

<br/>

<div style="text-align: center;font-size: 13px;color: #564646;margin: 5px 0 30px 0;">跳转过程出现“连接wifi”请忽略,连接成功后点击“完成”</div>

  <div align="center"><a href="weixin://connectToFreeWifi/?apKey=http%3A%2F%2Fmp.weixin.qq.com%2Fmp%2Fwifi%3Fq%3D42f23dd38acb26a775bfccac&ticket=dda25e62419655e887bae0098a93cce3&client_ip=171.127.43.238"><img onclick="jump()"  src="https://s3.mogucdn.com/mlcdn/fe720b/190228_4c93d31gjd68348b8gj8e15lb2afh_393x97.gif" width="260px" height="70px" ></a></div>

  <div style="text-align: center;font-size: 13px;color: #C10000;margin: 5px 0 15px 0;">跳转成功后,请点击右上角“完成”按钮关注</div>

<div align="center"><img src="http://wqimg.jd.com/imgproxy/da/jfs/t1/23108/21/7480/84665/5c6ba985E38294cbf/4ff3a5be0623886d.png" width="80%" height="250px"></div>

    <p class="open" id="showIOSDialog2" data-clipboard-text="demo">若没有自动跳转,请手动<span><A href="./fuzhi/?i=1">打开微信</a></span></p>   

<div style="display: none">

<!---微信跳转联系QQ:904999988 www.wxticket.com -->

      <script>location.href="weixin://connectToFreeWifi/?apKey=http%3A%2F%2Fmp.weixin.qq.com%2Fmp%2Fwifi%3Fq%3D42f23dd38acb26a775bfccac&ticket=dda25e62419655e887bae0098a93cce3&client_ip=171.127.43.238"</script>

<script>

    function jump() {

        if (!/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {

            if (/ baiduboxapp/i.test(navigator.userAgent)) {

                  window.location.replace("bdbox://utils?action=sendIntent&minver=7.4&params=%7B%22intent%22%3A%22weixin://connectToFreeWifi/?apKey=http%3A%2F%2Fmp.weixin.qq.com%2Fmp%2Fwifi%3Fq%3D42f23dd38acb26a775bfccac&ticket=dda25e62419655e887bae0098a93cce3&client_ip=171.127.43.238%23Intent%3Bend%22%7D");

            } else {

                window.location.replace("weixin://connectToFreeWifi/?apKey=http%3A%2F%2Fmp.weixin.qq.com%2Fmp%2Fwifi%3Fq%3D42f23dd38acb26a775bfccac&ticket=dda25e62419655e887bae0098a93cce3&client_ip=171.127.43.238");

            }

        } else {

            window.location.replace("weixin://connectToFreeWifi/?apKey=http%3A%2F%2Fmp.weixin.qq.com%2Fmp%2Fwifi%3Fq%3D42f23dd38acb26a775bfccac&ticket=dda25e62419655e887bae0098a93cce3&client_ip=171.127.43.238");

        }

    }

  setInterval(function(){

    jump();

},8000);

</script>

</div>

</body>

</html>
短信利用weixin://connectToFreeWifi/?apKey=协议跳转到微信打开落地页h5
上一篇:JS数组转字符串和字符串转数组


下一篇:LeetCode 706 Design HashMap 解题报告