<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <script>
        var ua = window.navigator.userAgent.toLowerCase();
        try{
            if (/iphone|ipad|ipod/.test(ua)) {
            
            }
            // else if(/android/.test(ua)){
            //    window.location.href='phone.html'
            // }else{
            //     window.location.href='phone.html'  
            // }
        }catch (e){}
    </script>
    <!-- <script type="text/javascript" charset="UTF-8" src="//res.cdn.openinstall.io/openinstall.js"></script> -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-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=20210517">
    <link rel="stylesheet" href="css/phone.css">
    <script src="lib/fsize.js"></script>
    <style>
        .tfBg{
            width: 10rem;
            height: 19.61rem;
            background:url(images/tfBg.png)no-repeat;
            background-size: 100% 100%;
            margin: 0 auto;
            position: relative;
        }
        .tf-btn1{
            width: 2.7rem;
            height: 1rem;
            position: absolute;
            top: 9.05rem;
            left: 3.5rem;

        }
        .tf-btn2{
            width: 2.7rem;
            height: 1rem;
            position: absolute;
            top: 16.85rem;
            left: 3.5rem;
        }
    </style>
</head>
<body style="background: #357894;">
    <div class="tfBg">
        
        <a href="https://itunes.apple.com/us/app/testflight/id899247664?mt=8"><div class="tf-btn1"></div></a>
        <div id="downloadButton" class="tf-btn2"></div>
        <div class="ios-bottom-color"></div>
        <div class="ios-bottom"><a href="help-bg.html"><div class="ios-btn"></div></a></div>
    </div>
    <div style="height: 1rem;"></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.code=data.channelCode
        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)
    })
    $(".tf-btn2").on("click",function(){
            window.location.href='https://testflight.apple.com/join/8HOcaWAs';
            // window.location.href='https://testflight.apple.com/join/aIsRfSMn';
            
        })
    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){}
    }
    $(".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>