acb82d480f6146c53533912fe11017fe.php 7.83 KB
<?php return function ($in, $debugopt = 1) {
    $cx = array(
        'flags' => array(
            'jstrue' => false,
            'jsobj' => false,
            'spvar' => true,
            'prop' => false,
            'method' => false,
            'mustlok' => true,
            'echo' => false,
            'debug' => $debugopt,
        ),
        'constants' => array(),
        'helpers' => array(),
        'blockhelpers' => array(),
        'hbhelpers' => array(),
        'partials' => array(),
        'scopes' => array(),
        'sp_vars' => array('root' => $in),
        'lcrun' => 'Plugin\LCRun3',

    );
    
    return '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>'.Plugin\LCRun3::debug('[staticTitle]', 'encq', $cx, Plugin\LCRun3::debug('[staticTitle]', 'v', $cx, $in, array('staticTitle'))).'</title>
<meta name="apple-mobile-web-app-title" content="SUMMER SALE">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" media="(device-height: 568px)">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="grey">
<link rel="stylesheet" href="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/css/christmas/index2.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<script>
    (function(doc, win) {
        var docEl = doc.documentElement;
        (function() {
            var clientWidth = docEl.clientWidth;
            if (!clientWidth) {
                return;
            }
            docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\';
        }());
    })(document, window);
</script>
</head>
<body class="keBody">
<div class="coupon-christmas" show="'.Plugin\LCRun3::debug('[showPopupFlag]', 'encq', $cx, Plugin\LCRun3::debug('[showPopupFlag]', 'v', $cx, $in, array('showPopupFlag'))).'">
    <div class="coupon-top">
        <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/top-bg.png" alt="">
        <img class="wyf" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/wyf.gif" alt="">
        <a class="go-check" href="'.Plugin\LCRun3::debug('[myCouponUrl]', 'encq', $cx, Plugin\LCRun3::debug('[myCouponUrl]', 'v', $cx, $in, array('myCouponUrl'))).'"></a>
        <a class="share-btn" href="javascript:;"></a>
    </div>
    <div class="coupon-bottom">
        <div class="coupon-banner">
            <div class="banner-btn">
                <a class="boy" href="'.Plugin\LCRun3::debug('[bannerUrl_1]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_1]', 'v', $cx, $in, array('bannerUrl_1'))).'"></a>  
                <a class="girl" href="'.Plugin\LCRun3::debug('[bannerUrl_2]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_2]', 'v', $cx, $in, array('bannerUrl_2'))).'"></a>  
                <a class="life" href="'.Plugin\LCRun3::debug('[bannerUrl_3]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_3]', 'v', $cx, $in, array('bannerUrl_3'))).'"></a>  
                <a class="kid" href="'.Plugin\LCRun3::debug('[bannerUrl_4]', 'encq', $cx, Plugin\LCRun3::debug('[bannerUrl_4]', 'v', $cx, $in, array('bannerUrl_4'))).'"></a>  
            </div> 
        </div>
        <div class="bottom-btn">
            <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&amp;mid=201849402&amp;idx=1&amp;sn=c0089812f9769d82e0075f69d771f6e1#rd"></a>
            <a class="download-yoho" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&amp;g_f=995445"></a>
        </div>
    </div>
    <div class="coupon-ft">
        <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/02/14.png">
    </div>
</div>
<div class="modal"></div>
<div class="dialog-box geted">
    <div class="dialog-inner">
        <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/geted.png" alt=""/>
        <span class="dialog-close"></span>
    </div>
</div>
<div class="dialog-box fail">
    <div class="dialog-inner">
        <img src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/img/christmas/fail.png" alt=""/>
        <span class="refresh-btn"></span>
    </div>
</div>
<input id="shareLink" type="hidden" value="'.Plugin\LCRun3::debug('[shareLink]', 'encq', $cx, Plugin\LCRun3::debug('[shareLink]', 'v', $cx, $in, array('shareLink'))).'">
<input id="shareImg" type="hidden" value="'.Plugin\LCRun3::debug('[shareImg]', 'encq', $cx, Plugin\LCRun3::debug('[shareImg]', 'v', $cx, $in, array('shareImg'))).'">
<input id="shareTitle" type="hidden" value="'.Plugin\LCRun3::debug('[shareTitle]', 'encq', $cx, Plugin\LCRun3::debug('[shareTitle]', 'v', $cx, $in, array('shareTitle'))).'">
<input id="shareDesc" type="hidden" value="'.Plugin\LCRun3::debug('[shareDesc]', 'encq', $cx, Plugin\LCRun3::debug('[shareDesc]', 'v', $cx, $in, array('shareDesc'))).'">
<script type="text/javascript" src="'.Plugin\LCRun3::debug('[imgUrl]', 'encq', $cx, Plugin\LCRun3::debug('[imgUrl]', 'v', $cx, $in, array('imgUrl'))).'/cuxiao/js/jquery.min.js"></script>
<script>
    //提示分享
    $(\'.share-btn\').click(function () {
        $(\'.modal\').fadeIn();
    });
    //关闭提示分享
    $(\'.modal\').click(function () {
        $(this).fadeOut();
    });
    
    //提示已领过券
    if ($(\'.coupon-christmas\').attr(\'show\') === \'1\') {
        $(\'.dialog-box.geted\').show();
    } 
    //提示领券失败
    else if ($(\'.coupon-christmas\').attr(\'show\') === \'2\') {
        $(\'.dialog-box.fail\').show();
    }

    //关闭提示
    $(\'.dialog-close\').click(function(){
        $(this).parents(\'.dialog-box\').fadeOut();
    });
    //刷新页面
    $(\'.refresh-btn\').click(function() {
        location.reload();
    });
</script>
'.((Plugin\LCRun3::debug('[weixinShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[weixinShare]', 'v', $cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript" charset="utf-8" src="'.Plugin\LCRun3::debug('[jsUrl]', 'encq', $cx, Plugin\LCRun3::debug('[jsUrl]', 'v', $cx, $in, array('jsUrl'))).'/cuxiao/js/share.weixin.js"></script>
' : '').''.'<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>
     (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
         new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
         j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
         \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
     })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');
</script>
<!-- End Google Tag Manager -->
<script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
'.'</body>
</html>';
}
?>