<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <title>常欢</title>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <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" />
    <link rel="stylesheet" href="css/public.css" tppabs="http://yuewan168.com/css/public.css" />
    <link rel="stylesheet" href="css/login.css" tppabs="http://yuewan168.com/css/login.css" />
    <link href="https://s.huahua777.com/pian_ai_help/assets/icon51.png" rel="bookmark" type="image/x-icon" />
    <link href="https://s.huahua777.com/pian_ai_help/assets/icon51.png" rel="icon" type="image/x-icon" />
    <link href="https://s.huahua777.com/pian_ai_help/assets/icon51.png" rel="shortcut icon" type="image/x-icon" />
    <link rel="stylesheet" href="css/animate.min.css" tppabs="http://yuewan168.com/css/animate.min.css">
    <link rel="stylesheet" href="css/bootstrap.min.css" tppabs="http://yuewan168.com/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/font-awesome.min.css" tppabs="http://yuewan168.com/css/font-awesome.min.css">
    <link rel="stylesheet" href="css/templatemo-style.css" tppabs="http://yuewan168.com/css/templatemo-style.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <style>
        ul {
            list-style: none;
        }
        
        .nav1>li {
            float: left;
        }
        
        ul .ww {
            display: block;
            text-decoration: none;
            width: 70px;
            height: 10px;
            text-align: center;
            line-height: 10px;
            color: white;
            background-color: #FFFFFF;
        }
        
        @media (min-width:768px) {
            ul .xia {
                display: block;
                text-decoration: none;
                width: 70px;
                height: 50px;
                text-align: center;
                line-height: 50px;
                color: #666;
                margin-top: 5px;
                background-image: url("logo.png")/*tpa=http://yuewan168.com/logo.png*/;
            }
            #deng {
                display: none;
                margin-left: -2px;
            }
            #chong {
                display: none;
            }
        }
        
        @media (max-width:767px) {
            ul .xia {
                display: none;
                text-decoration: none;
                width: 70px;
                height: 50px;
                text-align: center;
                line-height: 50px;
                color: #666;
                margin-top: 5px;
                background-image: url("logo.png")/*tpa=http://yuewan168.com/logo.png*/;
            }
            ul .xia1 {
                display: block;
                text-decoration: none;
                width: 70px;
                height: 50px;
                text-align: center;
                line-height: 50px;
                color: #666;
                margin-top: 5px;
                background-image: url("logo.png")/*tpa=http://yuewan168.com/logo.png*/;
            }
            #deng {
                display: block;
                margin-left: -2px;
            }
            #chong {
                display: block;
            }
        }
        
        .nav1>li:first-child .ww {
            border-radius: 10px 0px 0px 10px;
        }
        
        .nav1>li:last-child .ww {
            border-radius: 0px 0px 0px 0px;
        }
        
        .drop-down {
            position: relative;
        }
        
        .drop-down-content {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 1000;
            display: none;
            float: left;
            min-width: 70px;
            padding: 10px 0;
            margin: 2px 0 0;
            list-style: none;
            font-size: 12px;
            text-align: center;
            background-color: #fff;
            border-radius: 0;
            background-clip: padding-box;
        }
        
        .dropdown-menu li {
            height: 50px;
        }
        
        .dropdown-menu .dd {
            height: 50px;
        }
        
        .nav .drop-down:hover .drop-down-content {
            display: block;
        }
        
        #feature .hot_gs {
            width: 1230px;
            margin: 0 auto;
        }
        #main>.container{
            position: relative;
            padding-top: 70px;
        }

        .btn-recharge{
            position: absolute; 
            right: 16px;
            top: 16px;
            border-radius: 16px;
            font-size: 14px;
            padding: 9px 16px;
            text-align: center;
            line-height: 1;
            font-weight: 500;
            font-family: PingFangSC, PingFangSC-Medium sans-serif;
            background: linear-gradient(
              to right,
              #7D76F0,
              #FA61DE
            );
            color: #fff;
        }

        .btn-recharge:hover{
            color:#ff9a04;
        }

        #recharge-btn {
          margin: 0 auto;
          margin-bottom: 20px;
          border-radius: 35px;
          max-width: 400px;
          height: 52px;
          line-height: 52px;
          color: #fff;
          font-size: 25px;
          background-color: rgb(245, 154, 35);
          background: linear-gradient(270deg, #FF874B 0%, #FFB22C 100%);
        }

        #download-btn {
          margin: 0 auto;
          margin-bottom: 20px;
          border-radius: 35px;
          max-width: 400px;
          height: 52px;
          line-height: 52px;
          color: #fff;
          font-size: 25px;
          background-color: rgb(164, 151, 255);
        }
        @media screen and (max-width: 414px) {
          #recharge-btn {
            height: 50px;
            line-height: 50px;
            font-size: 24px;
            max-width: 330px;
          }
          #download-btn {
            height: 50px;
            line-height: 50px;
            font-size: 24px;
            max-width: 330px;
          }
        }

        @media screen and (max-width: 390px) {
          #recharge-btn {
            height: 47px;
            line-height: 47px;
            font-size: 22px;
            max-width: 320px;
          }
          #download-btn {
            height: 47px;
            line-height: 47px;
            font-size: 22px;
            max-width: 320px;
          }
        }

        @media screen and (max-width: 375px) {
          #recharge-btn {
            height: 42px;
            line-height: 42px;
            font-size: 20px;
            max-width: 310px;
          }
          #download-btn {
            height: 42px;
            line-height: 42px;
            font-size: 20px;
            max-width: 310px;
          }
        }


    </style>
    <link rel="stylesheet" href="http://zg4db.com/test/game.css" tppabs="http://zg4db.com/test/game.css">
    <link rel="stylesheet" href="css/home.css">
    <script type="text/javascript" src="js/swiper.min.js"></script>
</head>

<body>
    <div id="main">
        <div class="container">
            <a class="btn-recharge" href="https://h5.huahua777.com/vip">开通VIP</a>
            <div class="placeholder" style="text-align: center">
              <img class="logo" src="https://s.huahua777.com/pian_ai_help/assets/icon51.png" alt="">
              <div class="place-desc">
                <div class="title-desc tc">
                  <img src="https://s.huahua777.com/www/title@2x.png" alt="">
                </div>
                <div class="small">遇见你常欢喜</div>
              </div>
              <!-- <img class="" src="https://s.huahua777.com/h5/ninvite/title@2x.png" alt=""> -->
            </div>
            <div class="download">
                <a href="https://h5.huahua777.com/pay/" id="recharge-btn">充值</a>
                <a href="https://apps.apple.com/cn/app/id1533636624" id="download-btn">立即下载</a>
            </div>
            <!-- Swiper -->
            <div class="swiper-container" style="max-width: 700px;">
                <div class="swiper-wrapper">
                    <div class="swiper-slide"><img src="images/view0.png">
                        <p>附近缘分<br>喜欢就搭讪她</p>
                    </div>
                    <div class="swiper-slide"><img src="images/view1.png">
                        <p>100%真人<br>聊天回复率高</p>
                    </div>
                    <div class="swiper-slide"><img src="images/view2.png">
                        <p>视频匹配<br>喜欢就打给她</p>
                    </div>
                    <div class="swiper-slide"><img src="images/view3.png">
                        <p>面对面聊天<br>赶走寂寞</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </div>

    <script>
        var swiper = new Swiper('.swiper-container', {
            slidesPerView: 3,
            // spaceBetween: 30,
            centeredSlides: true,
            loop: true,
            autoplay: {
                delay: 2500,
                disableOnInteraction: false,
            },
            pagination: {
                el: '.swiper-pagination',
                clickable: true,
            },
        });
    </script>
    <script src="https://s.huahua777.com/libs/axios.min.js"></script>
    <script>

      var PLATFORM = {
        Android: function() {
          return navigator.userAgent.match(/Android/i) ? true : false;
        },
        BlackBerry: function() {
          return navigator.userAgent.match(/BlackBerry/i) ? true : false;
        },
        IOS: function() {
          return navigator.userAgent.match(/iPhone|iPad|iPod/i) ? true : false;
        },
        Windows: function() {
          return navigator.userAgent.match(/IEMobile/i) ? true : false;
        },
        any: function() {
          return (
            PLATFORM.Android() ||
            PLATFORM.BlackBerry() ||
            PLATFORM.IOS() ||
            PLATFORM.Windows()
          );
        },
        PC: function() {
          var userAgentInfo = navigator.userAgent;
          var Agents =  [
            "Android",
            "iPhone",
            "SymbianOS",
            "Windows Phone",
            "iPad",
            "iPod"
          ];
          var flag = true;
          for (var v = 0; v < Agents.length; v++) {
            if (userAgentInfo.indexOf(Agents[v]) > 0) {
              flag = false;
              break;
            }
          }
          return flag;
        }
      };
      // 获取当前平台
      function isCorrespondingPlatform(platform) {
        // PLATFORM[platform]?return
        return PLATFORM[platform] ? PLATFORM[platform]() : false;
      }
      var downloadBtn = document.getElementById('download-btn');
      var androidUrl = 'https://res.xingqi321.com/guanfang.v.3.6.1.apk';
      var iosUrl = 'https://apps.apple.com/cn/app/id1533636624';
      var isIos = isCorrespondingPlatform('IOS');
      var type = 7;
      var platform = isIos ? 1 : 2;
      function changeHref() {
        if (isIos) {
          downloadBtn.href = iosUrl;
        } else {
          downloadBtn.href = androidUrl;
        }
      }
      changeHref();
      axios.get('https://api.huahua777.com/member/idfa/get_download_url?htmlType=' + type + '&platform=' + platform).then(data => {
        var url = data.data.data;
        if (isIos) {
          iosUrl = url;
        } else {
          androidUrl = url;
        }
        changeHref();
      });
    </script>
    <script src="js/jquery.js" tppabs="http://yuewan168.com/js/jquery.js"></script>
    <script src="js/bootstrap.min.js" tppabs="http://yuewan168.com/js/bootstrap.min.js"></script>
    <script src="js/wow.min.js" tppabs="http://yuewan168.com/js/wow.min.js"></script>
    <script src="js/jquery.singlePageNav.min.js" tppabs="http://yuewan168.com/js/jquery.singlePageNav.min.js"></script>
    <script src="js/custom.js" tppabs="http://yuewan168.com/js/custom.js"></script>
</body>
</html>
