63aeedfc40cc278aec8ea4f9f6254c18.php 5.4 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>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
    <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">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="grey">
    <script type="text/javascript">
        (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=640){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/640)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window);
    </script>
    <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/css/style.css">
</head>
<body>
'.'    <div class="main-wrap home">
        <div class="header"></div>
        <a class="coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('couponUrl')), ENT_QUOTES, 'UTF-8').'"></a>
        <div class="share">
            快去分享给小伙伴吧 <span class="arrow"></span>
        </div>
        <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner','url')), ENT_QUOTES, 'UTF-8').'">
            <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner','img')), ENT_QUOTES, 'UTF-8').'">
        </a>
'.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $in, array('isApp')), $in, function($cx, $in) {return '        <div class="download">
            <a class="weixin" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('weixinUrl')), ENT_QUOTES, 'UTF-8').'">
                关注有货微信 <span class="arrow"></span>
            </a>
            <a class="app" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appUrl')), ENT_QUOTES, 'UTF-8').'">
                下载YOHO!BUY有货APP <span class="arrow"></span>
            </a>
        </div>
';}).'        <div class="footer">
        </div>
    </div>
    <div class="mask hide">
        <div class="pengyouquan">
        </div>
        <div class="arrow">
        </div>
        <p>
            点击右上角<br>
            微信分享至朋友圈
        </p>
    </div>
    <div class="tip-wrap hide">
        <div class="tip hide fail">
            <div class="title">
                领取失败<br>
                请刷新重新领取
            </div>
            <div class="desc">
                如多次领取失败,请联系客服人员<br>
                带来不便敬请谅解
            </div>
            <a class="button" 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>

'.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">
';}).''.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('staticJS')), $in, false, function($cx, $in) {return '<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $cx['scopes'][count($cx['scopes'])-1], array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"></script>
';}).'</body>
'.'';
}
?>