<!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">奶茶TF版</title>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/layer.css">
    <link rel="stylesheet" href="css/index.css?v=20190827">
    <link rel="stylesheet" href="css/phone.css">
    <script src="lib/fsize.js"></script>
    <style>
        .help-bg{
            width: 10rem;
            height: 38.5rem;
            background:url(images/help-bg.png)no-repeat;
            background-size: 100% 100%;
            margin: 0 auto;
            position: relative;
        }
        .help-btn{
            width: 2.1rem;
            font-size: 0.35rem;
            height: 0.8rem;
            color: #1E1D1E;
            font-weight: 700;
            text-align: center;
            line-height: 0.8rem;
            border-radius: 1rem;
            background: linear-gradient(to right, #01D9D9, #05E2E2);
            position: absolute;
            top: 3.22rem;
            right: 0.3rem;
        }
        .back{
            width: 2.2rem;
            height: 0.6rem;
            position: absolute;
            left: 6.5rem;
            top: 36rem;
        }
        .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;

        }
    </style>
</head>
<body style="background: #0E0603;">
    <div class="help-bg">
        <a href="https://yabolive.com/other/ltfix.mobileconfig"><div class="help-btn">下载文件</div></a>
        <a href="tfHelp.html"><div class="back"></div></a>
    </div>
    <div class="Safari">
        <img  src="images/Safari.png" alt="">
    </div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>
<script src="layer-v3.1.0/layer/layer.js"></script>
<script>
    var bbb = location.href;
    var data = url_get_params(bbb)
    if (sessionStorage.kkk == undefined) {
        sessionStorage.kkk = data.token; //t
        sessionStorage.bbb = data.uid; //u
        sessionStorage.version=data.appversion;
        sessionStorage.checkstatus=data.checkstatus
        if(data.roomID!=undefined&&data.roomID!='undefined'){
            sessionStorage.roomId=data.roomID;
        }else{
            sessionStorage.roomId=data.roomId;
        }
    }
    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;
    }
    if (bbb.indexOf("http://localhost:63342") > -1) {
        sessionStorage.bbb = 23736699;
        sessionStorage.kkk = 'debug'
    }
    $(".Safari").on("click", function () {
        $(".Safari").fadeOut(500)
    })

    function appCollaboration(msg) {
        var ua = window.navigator.userAgent.toLowerCase();
        try{
            if (/iphone|ipad|ipod/.test(ua)) {
                window.webkit.messageHandlers.appCollaboration.postMessage(msg);
            }else if(/android/.test(ua)){
                window.yazhai.appCollaboration(msg);
            }
        }catch (e){}
    }
    var ua = window.navigator.userAgent.toLowerCase();
        /******在微信里面******/
        if(ua.match(/MicroMessenger/i) == 'micromessenger'){        
            $(".Safari").fadeIn(350)
        }else{
            //判断是不是在iPhone的Safair浏览器打开的本页面
            if (ua.indexOf('applewebkit') > -1 && ua.indexOf('mobile') > -1 && ua.indexOf('safari') > -1 &&
                ua.indexOf('linux') === -1 && ua.indexOf('android') === -1 && ua.indexOf('chrome') === -1 &&
                ua.indexOf('ios') === -1 && ua.indexOf('browser') === -1) {
                
            }
            else {
                $(".Safari").fadeIn(350)
            }
        }

    $(".Safari").on("click", function () {
        $(".Safari").fadeOut(500)
    })

//    var betEnd = new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate(), new Date().getHours(), 41, 59).getTime();

 
</script>
</html>