<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta content="telephone=no" name="format-detection">
    <meta name="wap-font-scale" content="no">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title class="title">果冻直播</title>
    <script src="lib/fsize.js"></script>
    <link rel="stylesheet" href="css/base.css">
    <!-- <link rel="stylesheet" href="css/layer.css"> -->
    <link rel="stylesheet" href="css/phone.css?v=20210324">
    
    <style>

        .Safari{
            display: none;
            top: 0;
            left: 0;
            position: fixed;
            width: 10rem;
            height: 100vh;
            background: rgba(0,0,0,0.8);
            z-index: 1000;
        }
        .Safari img{
            width: 10rem;

        }
        .Recharge {
            position: absolute;
            font-size: 0.45rem;
            color: #994A17;
            right: 0.3rem;
            font-weight: 700;
            top: 0.2rem;
        }
    </style>
</head>
<body style="background: #B0CED8;">
    <div class="banner banner2">
        <!-- <a href="login.html"><span class="Recharge">充值<span style="font-weight: 700;font-family:'黑体'">&gt;&gt;</span></span></a> -->
        <div id="downloadButton" class="btn"></div>
    </div>
    <div class="Safari">
        <img  src="images/Safari.png" alt="">
    </div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>

<script>
    var bbb = location.href;
    var data = url_get_params(bbb)
    sessionStorage.type=data.type
    function url_get_params(url_path) {
        var url = url_path;
        var theRequest = new Object();
        if (url.indexOf("?") != -1) {
            var str = url.substr(url.indexOf("?") + 1);
            strs = str.split("&");
            for (var i = 0; i < strs.length; i++) {
                theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
            }
        }
        return theRequest;
    }

 $(".btn").on("click",function(){
    var ua = navigator.userAgent.toLowerCase();
    if(ua.match(/MicroMessenger/i) == 'micromessenger'){
        if (/iphone|ipad|ipod/.test(ua)) {
                window.location.href='https://www.pgyer.com/FGSJ'
        }else{
            window.location.href='https://sj.qq.com/appdetail/com.show.guodong.live'
        }
    }else{
        if (/iphone|ipad|ipod/.test(ua)) {
            window.location.href='https://www.pgyer.com/FGSJ'
        }else{
            window.location.href='https://zhibocdn.lvdou66.com/apk/down/guodong.apk'
        }
    }
 })
</script>
</html>