<commit_before>@(androidPath:String)
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Kakao Gift</title>
    <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'/>
    <link rel="shortcut icon" type="image/png" href="/assets/images/favicon.png">
    <link rel="stylesheet" href="/assets/stylesheets/swiper.min.css">
    <link rel="stylesheet" href="/assets/stylesheets/animate.min.css">
    <link rel="stylesheet" href="/assets/stylesheets/download.css">
    <script src="/assets/javascripts/swiper.min.js"></script>
    <script src="/assets/javascripts/swiper.animate.min.js"></script>
    <!--
    <link rel="stylesheet" href="/dist/css/swiper.min.css">
    <link rel="stylesheet" href="/dist/css/animate.min.css">
    <script src="/dist/js/swiper.min.js"></script>
    <script src="/dist/js/swiper.animate.min.js"></script>
    -->

    <style>
        *{
            margin:0;
            padding:0;
        }
        html,body{
            height:100%;
        }
        body{
            font-family:"microsoft yahei";
        }
        a{
            border:none;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            -webkit-tap-highlight-color:transparent;
            outline: none;
        }
        .swiper-container {
            /*  width: 320px;
              height: 480px;*/
            width: 100%;
            height: 100%;
            background:#fff;
        }
        .swiper-slide{
        }
        .swiper-slide{
            width:100%;
            height:100%;
            /*background:url(/assets/images/bg.jpg) no-repeat left top;*/
            background-size:100% 100%;
        }
        img{
            width: 100%;
            /*height: 100%;*/
            display:block;
        }
        .swiper-slide img{
            position: absolute;
            left: 0;bottom: 0;
        }

        #array{
            position:absolute;z-index:999;-webkit-animation: tipmove 1.5s infinite ease-in-out;
        }
    </style>
</head>

<body>
<div class="swiper-container">
    <div class="swiper-wrapper">
        <!-------------slide1----------------->
        <section class="swiper-slide" style="position: relative">
            <div style="width: 100%;height: 100%;position: relative;overflow: hidden">
                <img src="/assets/images/1.1.jpg" alt="">
                <a href="javascript:void(0);" class="downloadapp resize" style="position: absolute;width:190px;height:48px; top:390px; left:66px;">
                    <img src="/assets/images/nowd.png" alt="">
                </a>
            </div>

        </section>
        <!---------------slide2-------------->
        <section class="swiper-slide">
            <div style="width: 100%;height: 100%;position: relative;overflow: hidden">
                <img src="/assets/images/1.2.jpg" alt="">
            </div>
        </section>
        <!----------------slide3-------------->
        <section class="swiper-slide">
            <div style="width: 100%;height: 100%;position: relative;overflow: hidden">
                <img src="/assets/images/1.3.jpg" alt="">
            </div>
        </section>
        <!-------------slide4----------------->
        <!--<section class="swiper-slide">-->

        <!--<div class="ani resize" style="width:120px;height:110px;left:110px;top:184px;z-index:3;" swiper-animate-effect="fadeInLeft" swiper-animate-duration="0.5s" swiper-animate-delay="1s"  >-->
        <!--<div class="txt">-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">愿您羊年运旺福旺</p>-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">条条祝福给您送上</p>-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">美丽花灯传递吉祥</p>-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">圆圆汤圆味道芬芳</p></div>-->
        <!---->
        <!--</div>-->
        <!--<div class="ani resize" style="width:60px;height:110px;left:260px;top:185px;z-index:3;color:#b60927; font-size:160%; font-weight:bold;" swiper-animate-effect="fadeInRight" swiper-animate-duration="1s" swiper-animate-delay="1s"  > -->
        <!--<div class="txt">-->
        <!--元<br>宵<br>节</div>-->
        <!--</div>-->
        <!--<img src="upload/flower.png" class="ani resize" style="width:180px;height:220px;left:0;top:0;z-index:2;" swiper-animate-effect="fadeInLeft" swiper-animate-duration="0.5s" swiper-animate-delay="0s"   > -->
        <!--<img src="upload/s1.png"  class="ani resize" style="width:320px;height:200px;left:0px;top:140px;z-index:1;" swiper-animate-effect="fadeIn" swiper-animate-duration="0.5s" swiper-animate-delay="0.5s"  >-->
        <!---->
        <!--</section>-->
    </div>

    <img src="/assets/images/top11.png" style="width:40px;height:30px; top:450px; left:140px;background: none;" id="array" class="resize swiper-button-next">
    <img src="/assets/images/top11.png" style="width:40px;height:30px; top:450px; left:140px;background: none" id="array" class="resize swiper-button-next">
    <div class="swiper-pagination"></div>
</div>


<script>

    scaleW=window.innerWidth/320;
    scaleH=window.innerHeight/480;
    var resizes = document.querySelectorAll('.resize');
    for (var j=0; j<resizes.length; j++) {
        resizes[j].style.width=parseInt(resizes[j].style.width)*scaleW+'px';
        resizes[j].style.height=parseInt(resizes[j].style.height)*scaleH+'px';
        resizes[j].style.top=parseInt(resizes[j].style.top)*scaleH+'px';
        resizes[j].style.left=parseInt(resizes[j].style.left)*scaleW+'px';

    }
    var scales = document.querySelectorAll('.txt');
    for (var i=0; i<scales.length; i++) {
        ss=scales[i].style;
        ss.webkitTransform = ss.MsTransform = ss.msTransform = ss.MozTransform = ss.OTransform =ss.transform='translateX('+scales[i].offsetWidth*(scaleW-1)/2+'px) translateY('+scales[i].offsetHeight*(scaleH-1)/2+'px)scaleX('+scaleW+') scaleY('+scaleH+') ';
    }


    var mySwiper = new Swiper ('.swiper-container', {
        paginationClickable :true,
        prevButton:'.swiper-button-prev',
        nextButton:'.swiper-button-next',
        direction : 'vertical',
        pagination: '.swiper-pagination',
        mousewheelControl : true,
        onInit: function(swiper){
            swiperAnimateCache(swiper);
            swiperAnimate(swiper);
        },
        onSlideChangeEnd: function(swiper){
//            if(swiper.activeIndex == 2){
//                sss=document.getElementsByClassName("swiper-button-next")[0].style;
//                sss.webkitTransform = sss.MsTransform = sss.msTransform = sss.MozTransform = sss.OTransform =sss.transform = "rotate(180deg)";
//                console.log(document.getElementsByClassName("swiper-button-next")[0].classList.value = "resize swiper-button-prev");
//            }
            swiperAnimate(swiper);
        }
    })
    document.getElementsByClassName("downloadapp")[0].onclick = function () {
        if (navigator.userAgent.match(/MicroMessenger/i)) {
            window.location = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.kakao.kakaogift';
        }else if (navigator.userAgent.match(/android/i)){
            window.location = '@androidPath';
        }else if(navigator.userAgent.match(/iphone|ipad|ipod/i)){

        }else{
        }
    }
</script>
</body>
</html><commit_msg>ios 跳转<commit_after>@(androidPath:String)
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Kakao Gift</title>
    <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'/>
    <link rel="shortcut icon" type="image/png" href="/assets/images/favicon.png">
    <link rel="stylesheet" href="/assets/stylesheets/swiper.min.css">
    <link rel="stylesheet" href="/assets/stylesheets/animate.min.css">
    <link rel="stylesheet" href="/assets/stylesheets/download.css">
    <script src="/assets/javascripts/swiper.min.js"></script>
    <script src="/assets/javascripts/swiper.animate.min.js"></script>
    <!--
    <link rel="stylesheet" href="/dist/css/swiper.min.css">
    <link rel="stylesheet" href="/dist/css/animate.min.css">
    <script src="/dist/js/swiper.min.js"></script>
    <script src="/dist/js/swiper.animate.min.js"></script>
    -->

    <style>
        *{
            margin:0;
            padding:0;
        }
        html,body{
            height:100%;
        }
        body{
            font-family:"microsoft yahei";
        }
        a{
            border:none;
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            -webkit-tap-highlight-color:transparent;
            outline: none;
        }
        .swiper-container {
            /*  width: 320px;
              height: 480px;*/
            width: 100%;
            height: 100%;
            background:#fff;
        }
        .swiper-slide{
        }
        .swiper-slide{
            width:100%;
            height:100%;
            /*background:url(/assets/images/bg.jpg) no-repeat left top;*/
            background-size:100% 100%;
        }
        img{
            width: 100%;
            /*height: 100%;*/
            display:block;
        }
        .swiper-slide img{
            position: absolute;
            left: 0;bottom: 0;
        }

        #array{
            position:absolute;z-index:999;-webkit-animation: tipmove 1.5s infinite ease-in-out;
        }
    </style>
</head>

<body>
<div class="swiper-container">
    <div class="swiper-wrapper">
        <!-------------slide1----------------->
        <section class="swiper-slide" style="position: relative">
            <div style="width: 100%;height: 100%;position: relative;overflow: hidden">
                <img src="/assets/images/1.1.jpg" alt="">
                <a href="javascript:void(0);" class="downloadapp resize" style="position: absolute;width:190px;height:48px; top:390px; left:66px;">
                    <img src="/assets/images/nowd.png" alt="">
                </a>
            </div>

        </section>
        <!---------------slide2-------------->
        <section class="swiper-slide">
            <div style="width: 100%;height: 100%;position: relative;overflow: hidden">
                <img src="/assets/images/1.2.jpg" alt="">
            </div>
        </section>
        <!----------------slide3-------------->
        <section class="swiper-slide">
            <div style="width: 100%;height: 100%;position: relative;overflow: hidden">
                <img src="/assets/images/1.3.jpg" alt="">
            </div>
        </section>
        <!-------------slide4----------------->
        <!--<section class="swiper-slide">-->

        <!--<div class="ani resize" style="width:120px;height:110px;left:110px;top:184px;z-index:3;" swiper-animate-effect="fadeInLeft" swiper-animate-duration="0.5s" swiper-animate-delay="1s"  >-->
        <!--<div class="txt">-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">愿您羊年运旺福旺</p>-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">条条祝福给您送上</p>-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">美丽花灯传递吉祥</p>-->
        <!--<p style="width:15px;color:#b60927; display:inline-block; font-size:90%; line-height:1; margin-right:10px;">圆圆汤圆味道芬芳</p></div>-->
        <!---->
        <!--</div>-->
        <!--<div class="ani resize" style="width:60px;height:110px;left:260px;top:185px;z-index:3;color:#b60927; font-size:160%; font-weight:bold;" swiper-animate-effect="fadeInRight" swiper-animate-duration="1s" swiper-animate-delay="1s"  > -->
        <!--<div class="txt">-->
        <!--元<br>宵<br>节</div>-->
        <!--</div>-->
        <!--<img src="upload/flower.png" class="ani resize" style="width:180px;height:220px;left:0;top:0;z-index:2;" swiper-animate-effect="fadeInLeft" swiper-animate-duration="0.5s" swiper-animate-delay="0s"   > -->
        <!--<img src="upload/s1.png"  class="ani resize" style="width:320px;height:200px;left:0px;top:140px;z-index:1;" swiper-animate-effect="fadeIn" swiper-animate-duration="0.5s" swiper-animate-delay="0.5s"  >-->
        <!---->
        <!--</section>-->
    </div>

    <img src="/assets/images/top11.png" style="width:40px;height:30px; top:450px; left:140px;background: none;" id="array" class="resize swiper-button-next">
    <img src="/assets/images/top11.png" style="width:40px;height:30px; top:450px; left:140px;background: none" id="array" class="resize swiper-button-next">
    <div class="swiper-pagination"></div>
</div>


<script>

    scaleW=window.innerWidth/320;
    scaleH=window.innerHeight/480;
    var resizes = document.querySelectorAll('.resize');
    for (var j=0; j<resizes.length; j++) {
        resizes[j].style.width=parseInt(resizes[j].style.width)*scaleW+'px';
        resizes[j].style.height=parseInt(resizes[j].style.height)*scaleH+'px';
        resizes[j].style.top=parseInt(resizes[j].style.top)*scaleH+'px';
        resizes[j].style.left=parseInt(resizes[j].style.left)*scaleW+'px';

    }
    var scales = document.querySelectorAll('.txt');
    for (var i=0; i<scales.length; i++) {
        ss=scales[i].style;
        ss.webkitTransform = ss.MsTransform = ss.msTransform = ss.MozTransform = ss.OTransform =ss.transform='translateX('+scales[i].offsetWidth*(scaleW-1)/2+'px) translateY('+scales[i].offsetHeight*(scaleH-1)/2+'px)scaleX('+scaleW+') scaleY('+scaleH+') ';
    }


    var mySwiper = new Swiper ('.swiper-container', {
        paginationClickable :true,
        prevButton:'.swiper-button-prev',
        nextButton:'.swiper-button-next',
        direction : 'vertical',
        pagination: '.swiper-pagination',
        mousewheelControl : true,
        onInit: function(swiper){
            swiperAnimateCache(swiper);
            swiperAnimate(swiper);
        },
        onSlideChangeEnd: function(swiper){
//            if(swiper.activeIndex == 2){
//                sss=document.getElementsByClassName("swiper-button-next")[0].style;
//                sss.webkitTransform = sss.MsTransform = sss.msTransform = sss.MozTransform = sss.OTransform =sss.transform = "rotate(180deg)";
//                console.log(document.getElementsByClassName("swiper-button-next")[0].classList.value = "resize swiper-button-prev");
//            }
            swiperAnimate(swiper);
        }
    })
    document.getElementsByClassName("downloadapp")[0].onclick = function () {
        if (navigator.userAgent.match(/MicroMessenger/i)) {
            window.location = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.kakao.kakaogift';
        }else if (navigator.userAgent.match(/android/i)){
            window.location = '@androidPath';
        }else if(navigator.userAgent.match(/iphone|ipad|ipod/i)){
            window.location = "https://itunes.apple.com/cn/app/kakaogift/id1137893817";
        }else{
        }
    }
</script>
</body>
</html>
{'fraction_non_alphanumeric': 0.19902976268519731, 'fraction_numerical': 0.033040513963550545, 'mean_word_length': 2.469410962019559, 'pattern_counts': {'":': 0, '<': 205, '<?xml version=': 0, '>': 201, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5435169', 'n_tokens_mistral': 5417, 'n_tokens_neox': 5002, 'n_words': 670}