Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / fireflyReg

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • fireflyReg
  • Promotion
  • index2.html
Find file
BlameHistoryPermalink
  • libai's avatar
    测试 · 8e24e39a
    libai committed a year ago
    8e24e39a
index2.html 4.81 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
<!DOCTYPE html>
<html lang="en">
<head>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-131142566-1"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());

        gtag('config', 'UA-131142566-1');
    </script>
    <script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
                    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

        ga('create', 'UA-131142566-1', 'auto');
        ga('send', 'pageview');
    </script>
    <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">
    <title>1V1 視訊邀請</title>
    <script src="lib/fsize.js"></script>
    <link rel="stylesheet" href="css/base.css">
    <style>
        .bg {
            background: url("images/bg2.png") no-repeat;
            background-size: 100% 100%;
            height: 17.78rem;
            width: 10rem;
            margin: 0 auto;
            position: relative;
        }

        .btn1 {
            width: 5.84rem;
            height: 1.34rem;
            position: absolute;
            background: url("images/btn2.png")no-repeat;
            background-size: 100% 100%;
            top: 10.6rem;
            left: 0.8rem;
            z-index: 2;
        }

        .btn1-hover {
            width: 5.84rem;
            height: 1.34rem;
            position: absolute;
            background: url("images/btn2Hover.png")no-repeat;
            background-size: 100% 100%;
            top: 10.6rem;
            left: 0.8rem;
            z-index: 1;
        }

        .phone-bg {
            width: 7.42rem;
            height: 13.09rem;
            position: absolute;
            bottom: 0rem;
            background: url("images/phone.png") no-repeat;
            background-size: 100% 100%;
            left: 1.2rem;
        }

        .tips {
            position: absolute;
            background: rgba(0, 0, 0, 0.5);
            z-index: 500;
            display: none;
            height: 100vh;
            width: 10rem;
            margin: 0 auto;
            top: 0;
        }

        .tips img {
            width: 10rem;
            margin: 0 auto;
        }
    </style>
</head>
<body style="background:rgba(40,13,71,1);">
<div class="bg">
    <div class="phone-bg">
        <div id="button" class="btn1"></div>
        <div class="btn1-hover"></div>
        <!--<img id="button" class="btn1" src="images/btn2.png" alt="">-->
        <!--<img class="btn1-hover" src="images/btn2Hover.png" alt="">-->
    </div>
    <!--<img class="phone-bg" src="images/phone.png" alt="">-->


</div>
<div class="tips"><img class="weiphone" src=images/Safari2.png?v='20181106'></div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>
<script>
    ga('send', 'event', 'button', 'touchend', 'download-more');
    var ua = navigator.userAgent.toLowerCase();
    var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
    if (/android/.test(ua)) {

        $(".btn1").on("touchstart", function () {
            $(".btn1").hide()
        })
        $(".btn1").on("touchmove", function () {
            $(".btn1").show()
        })
        $(".btn1").on("touchcancel", function () {
            $(".btn1").show()
        })
        $(".btn1").on("touchend", function () {
            $(".btn1").show()
//            ga('send', 'event', 'button', 'touchend', 'download-more');
            window.location.href = 'http://www.firefly.live/yhc.apk';

        })
        if (userAgent.indexOf("Line") > -1) {
            $(".tips").show()
        }
        if (ua.match(/MicroMessenger/i) == 'micromessenger') {
            $(".tips").show()
        }
    } else if (/iphone|ipad|ipod/.test(ua)) {

        $(".btn1").on("touchstart", function () {
            $(".btn1").hide()
        })
        $(".btn1").on("touchmove", function () {
            $(".btn1").show()
        })
        $(".btn1").on("touchcancel", function () {
            $(".btn1").show()
        })
        $(".btn1").on("touchend", function () {
            $(".btn1").show()
//            ga('send', 'event', 'button', 'click', 'download-more');
            window.location.href ='https://itunes.apple.com/cn/app/id1339549022?mt=8';

        })
    }


</script>
</html>