0cbe7320321e9b541af886bc656addd0.php 4.86 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 '    <div class="main-wrap home">
        <div class="header">
        </div>
'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('tab')), $in, function($cx, $in) {return '        <div class="tab type">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tab')), $in, false, function($cx, $in) {return '            <div class="tab-item" data-type="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"></div>
';}).'            <input type="hidden" id="more-brand" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('moreBrand')), ENT_QUOTES, 'UTF-8').'">
        </div>
';}).'        <div class="content">
        </div>
        <script type="text/tmpl" id="tmpl">
            <div class="coupons">
                {{#coupons}}
                <a class="coupon" href="{{../jumpUrl}}" data-id="{{id}}">
                    <img class="lazy" src="" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/{{img}}">
                </a>
                {{/coupons}}
            </div>
            <div class="brands clearfix">
                {{#brands}}
                <a class="brand" href=\'{{url}}\'>
                    <img class="lazy" src="" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/{{img}}">
                </a>
                {{/brands}}
                <div class="after"></div>
            </div>
            <div class="more">
                <div class="more-title">
                </div>
                <a class="link" href=\'{{more.url}}\'>
                    <img class="lazy" src="" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/{{more.img}}">
                </a>
            </div>
        </script>
    </div>
    <div class="footer">
    </div>
    <div class="tip-wrap hide">
        <div class="tip hide fail">
            <div class="title">
                领取失败<br>
                请刷新重新领取
            </div>
            <a class="button" href="">
                刷新
            </a>
        </div>
    </div>

    <div class="tip-wrap hide">
        <div class="tip hide success">
            <div class="title">
                领取成功
            </div>
            <div class="sub-title">
                 快去分享给更多<br>
                 喜爱<span class="title">潮流</span>的小伙伴吧!
            </div>
            <a class="button close" href="">
                返回
            </a>
        </div>
    </div>

    <div class="tip-wrap hide">
        <div class="tip hide geted">
            <div class="title">
                您已领取过了
            </div>
            <div class="sub-title">
                 快去分享给更多<br>
                 喜爱<span class="title">潮流</span>的小伙伴吧!
            </div>
            <a class="button close" href="">
                返回
            </a>
        </div>
    </div>
    <div class="loading-mask hide">
        <div class="loading">
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>

    <input type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageType')), ENT_QUOTES, 'UTF-8').'" id="page-type">
    <input type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" id="activity-id">
    <input type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" id="jump-url">
'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('isApp')), $in, function($cx, $in) {return '    <input type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('getCouponUrl')), ENT_QUOTES, 'UTF-8').'" id="getCouponUrl">
';}).'    <script type="text/javascript">
        var isOnline = '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOnline')), ENT_QUOTES, 'UTF-8').';
'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('isApp')), $in, function($cx, $in) {return '        var isApp = 1;
'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('isAppLogin')), $in, function($cx, $in) {return '            var isAppLogin = 1;
';}).'';}).'
    </script>
';
}
?>