Authored by hf

do modify coupon cuxiao js

<?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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
(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>
<div class="coupon-container" id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'">
<div class="coupon-hd hd2"></div>
<div class="coupon-bd">
<div class="bd-top"></div>
<div class="bd-bottom"></div>
<div class="coupon-rule">
<h2></h2>
<ul>
<li class="clearfix">
<span>如何领取</span>
<em>12.1-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>
</li>
<li class="clearfix">
<span>使用方法</span>
<em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
</ul>
</div>
<div class="floor-header best-choice"></div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon01 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_166')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15875"></a>
</li>
<li class="logo-coupon02 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_201')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15877"></a>
</li>
<li class="logo-coupon03 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_626')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15879"></a>
</li>
<li class="logo-coupon04 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1024')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15881"></a>
</li>
<li class="logo-coupon05 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_675')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15717"></a>
</li>
<li class="logo-coupon06 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_801')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15885"></a>
</li>
<li class="logo-coupon07 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_686')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15887"></a>
</li>
<li class="logo-coupon08 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_501')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15889"></a>
</li>
<li class="logo-coupon09 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_925')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15891"></a>
</li>
<li class="logo-coupon10 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_932')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15893"></a>
</li>
<li class="logo-coupon11 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_892')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15895"></a>
</li>
<li class="logo-coupon12 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_849')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15899"></a>
</li>
<li class="logo-coupon13 life">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_615')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15901"></a>
</li>
</ul>
</div>
</div>
<div class="coupon-ft">
<div class="other-coupon">
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_boys')), ENT_QUOTES, 'UTF-8').'">男生</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_girls')), ENT_QUOTES, 'UTF-8').'">女生</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a>
</div>
</div>
</div>
<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
<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" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.1130.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>';
}
?>
\ No newline at end of file
... ...
<?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 charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
(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>
<div class="coupon-container" id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'">
<div class="coupon-hd"></div>
<div class="coupon-bd">
<div class="bd-top"></div>
<div class="bd-bottom"></div>
<div class="coupon-rule">
<h2></h2>
<ul>
<li class="clearfix">
<span>如何领取</span>
<em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>
</li>
<li class="clearfix">
<span>使用方法</span>
<em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
</ul>
</div>
<div class="floor-header best-choice"></div>
<div class="img-coupon clearfix">
<ul class="img-coupon01">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_350')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15659"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_160')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15663"></a>
</li>
</ul>
<ul class="img-coupon02">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_341')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15667"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_710')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15669"></a>
</li>
</ul>
<ul class="img-coupon03">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_471')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15671"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_495')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15675"></a>
</li>
</ul>
<ul class="img-coupon04">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_235')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15681"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_583')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15683"></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon01">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_417')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15665"></a>
</li>
<li class="logo-coupon02">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_672')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15673"></a>
</li>
<li class="logo-coupon03">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_589')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15679"></a>
</li>
<li class="logo-coupon04">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_707')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15699"></a>
</li>
<li class="logo-coupon05">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_550')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15687"></a>
</li>
<li class="logo-coupon06">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_600')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15693"></a>
</li>
</ul>
</div>
<div class="floor-header top-recommend"></div>
<div class="img-coupon clearfix">
<ul class="img-coupon05">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_402')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15685"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_720')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15689"></a>
</li>
</ul>
<ul class="img-coupon06">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_138')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15691"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_506')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15695"></a>
</li>
</ul>
<ul class="img-coupon07">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_419')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15697"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_581')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15705"></a>
</li>
</ul>
<ul class="img-coupon08">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_722')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15707"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_191')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15751"></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon07">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_152')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15701"></a>
</li>
<li class="logo-coupon08">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_464')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15703"></a>
</li>
<li class="logo-coupon09">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_102')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15709"></a>
</li>
<li class="logo-coupon10">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_851')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15711"></a>
</li>
<li class="logo-coupon11">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_699')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15713"></a>
</li>
<li class="logo-coupon12">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_103')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15733"></a>
</li>
</ul>
</div>
</div>
<div class="coupon-ft">
<div class="other-coupon">
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_girls')), ENT_QUOTES, 'UTF-8').'">女生</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a>
</div>
</div>
</div>
<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::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" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.1130.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>';
}
?>
\ No newline at end of file
... ...
<?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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
(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>
<div class="coupon-container" id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'">
<div class="coupon-hd hd2"></div>
<div class="coupon-bd">
<div class="bd-top"></div>
<div class="bd-bottom"></div>
<div class="coupon-rule">
<h2></h2>
<ul>
<li class="clearfix">
<span>如何领取</span>
<em>12.1-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>
</li>
<li class="clearfix">
<span>使用方法</span>
<em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
</ul>
</div>
<div class="floor-header best-choice"></div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon01 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_907')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15859"></a>
</li>
<li class="logo-coupon02 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_600')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15693"></a>
</li>
<li class="logo-coupon03 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_888')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15863"></a>
</li>
<li class="logo-coupon04 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_855')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15865"></a>
</li>
<li class="logo-coupon05 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_203')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15867"></a>
</li>
<li class="logo-coupon06 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_800')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15869"></a>
</li>
<li class="logo-coupon07 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_784')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15871"></a>
</li>
<li class="logo-coupon08 kid">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_876')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="16145"></a>
</li>
</ul>
</div>
</div>
<div class="coupon-ft">
<div class="other-coupon">
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_boys')), ENT_QUOTES, 'UTF-8').'">男生</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_girls')), ENT_QUOTES, 'UTF-8').'">女生</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a>
</div>
</div>
</div>
<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
<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" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.1130.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>';
}
?>
\ No newline at end of file
... ...
<?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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css">
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<script type="text/javascript">
(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>
<div class="coupon-container" id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'">
<div class="coupon-hd"></div>
<div class="coupon-bd">
<div class="bd-top"></div>
<div class="bd-bottom"></div>
<div class="coupon-rule">
<h2></h2>
<ul>
<li class="clearfix">
<span>如何领取</span>
<em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>
</li>
<li class="clearfix">
<span>使用方法</span>
<em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>
</li>
<li class="clearfix">
<span>使用细则</span>
<em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
</li>
</ul>
</div>
<div class="floor-header best-choice"></div>
<div class="img-coupon clearfix">
<ul class="img-coupon01 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_570')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15755"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_864')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15761"></a>
</li>
</ul>
<ul class="img-coupon02 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_824')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15765"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_536')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15767"></a>
</li>
</ul>
<ul class="img-coupon03 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_257')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15773"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_342')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15775"></a>
</li>
</ul>
<ul class="img-coupon04 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_354')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15777"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_60')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15663"></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon01 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_481')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15757"></a>
</li>
<li class="logo-coupon02 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_450')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15759"></a>
</li>
<li class="logo-coupon03 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_256')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15763"></a>
</li>
<li class="logo-coupon04 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_701')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15769"></a>
</li>
<li class="logo-coupon05 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_506')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15695"></a>
</li>
<li class="logo-coupon06 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_569')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15779"></a>
</li>
</ul>
</div>
<div class="floor-header top-recommend"></div>
<div class="img-coupon clearfix">
<ul class="img-coupon05 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_324')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15783"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_589')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15679"></a>
</li>
</ul>
<ul class="img-coupon06 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_191')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15751"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15715"></a>
</li>
</ul>
<ul class="img-coupon07 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_768')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15795"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_649')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15799"></a>
</li>
</ul>
<ul class="img-coupon08 girl">
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1026')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15811"></a>
</li>
<li>
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1027')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15813"></a>
</li>
</ul>
</div>
<div class="logo-coupon">
<ul>
<li class="logo-coupon07 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_981')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15787"></a>
</li>
<li class="logo-coupon08 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_402')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15793"></a>
</li>
<li class="logo-coupon09 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1021')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15709"></a>
</li>
<li class="logo-coupon10 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_860')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15801"></a>
</li>
<li class="logo-coupon11 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_435')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15803"></a>
</li>
<li class="logo-coupon12 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_327')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15805"></a>
</li>
<li class="logo-coupon13 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_505')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15807"></a>
</li>
<li class="logo-coupon14 girl">
<a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_987')), ENT_QUOTES, 'UTF-8').'"></a>
<a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15809"></a>
</li>
</ul>
</div>
</div>
<div class="coupon-ft">
<div class="other-coupon">
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_boys')), ENT_QUOTES, 'UTF-8').'">男生</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a>
<a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a>
</div>
</div>
</div>
<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'">
<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
<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" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.1130.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>';
}
?>
\ No newline at end of file
... ...
var $tip, tipItime;
/* 领指定券 */
var activityId = $('#coupon-container').attr('param');
var userIsLogged = $('#coupon-container').attr('isLogged') === 'Y';
var isApp;
$('.get-coupon').click(function() {
var couponId = $(this).attr('param');
isApp = $(this).attr('href') !== 'javascript:;';
if (!isNaN(activityId) && !isNaN(couponId)) {
getNamedCoupon(activityId, couponId, isApp, userIsLogged);
}
});
/* 领所有券 */
$('#get-all-coupon').click(function() {
var isApp = $(this).attr('href') !== 'javascript:;';
getAllCoupon(activityId, isApp);
});
/* 检查是否有在领取中的券,有则直接领取 */
if (userIsLogged) {
var cookieCouponId = cookie('_Coupon' + activityId);
if (cookieCouponId && !isNaN(cookieCouponId)) {
getNamedCoupon(activityId, cookieCouponId, isApp, userIsLogged);
}
}
/**
* 微信分享
*/
(function($) {
if (typeof(wx) == "undefined") {
return;
}
var _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage';
$.getJSON(_weChatInterface + '?pageurl=' +
encodeURIComponent(location.href.split('#')[0]) + '&callback=?', function(json) {
var _appId, _timestamp, _nonceStr, _signature;
if (json !== undefined && json !== '') {
_appId = json.appId.toString();
_timestamp = json.timestamp;
_nonceStr = json.nonceStr.toString();
_signature = json.signature.toString();
wx.config({
debug: false,
appId: _appId,
timestamp: _timestamp,
nonceStr: _nonceStr,
signature: _signature,
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
'hideMenuItems',
'showMenuItems',
'hideAllNonBaseMenuItem',
'showAllNonBaseMenuItem',
'translateVoice',
'startRecord',
'stopRecord',
'onRecordEnd',
'playVoice',
'pauseVoice',
'stopVoice',
'uploadVoice',
'downloadVoice',
'chooseImage',
'previewImage',
'uploadImage',
'downloadImage',
'getNetworkType',
'openLocation',
'getLocation',
'hideOptionMenu',
'showOptionMenu',
'closeWindow',
'scanQRCode',
'chooseWXPay',
'openProductSpecificView',
'addCard',
'chooseCard',
'openCard'
]
});
}
});
wx.ready(function() {
var shareTitle = $('#shareTitle').val();
var shareImg = $('#shareImg').val();
var shareDesc = $('#shareDesc').val();
var shareLink = $('#shareLink').val();
var shareData = {
title: shareTitle,
desc: shareDesc,
imgUrl: shareImg,
link: shareLink
};
wx.onMenuShareAppMessage(shareData);
wx.onMenuShareTimeline(shareData);
wx.onMenuShareQQ(shareData);
wx.onMenuShareWeibo(shareData);
});
}(jQuery));
/**
* 初始化提示框
*/
(function() {
var tipHtml = '<div id="yoho-tip" class="yoho-tip"></div>';
//插入提示HTML
$('#coupon-container').append(tipHtml);
$tip = $('#yoho-tip');
$tip.on('touchend', function() {
$tip.hide();
//清除Timeout
clearTimeout(tipItime);
});
}());
function cookie(name) {
var cookies = document.cookie,
cookieVal,
offset;
if (document.cookie && document.cookie !== '') {
offset = cookies.indexOf(name + '=');
if (offset > -1) {
offset += name.length + 1;
cookieVal = decodeURIComponent($.trim(cookies.substring(offset, cookies.indexOf(';', offset))));
}
}
return cookieVal;
}
function setCookie(name, value, options) {
var expires = '',
path,
domain,
secure,
date;
if (typeof value !== 'undefined') {
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
if (options.expires &&
(typeof options.expires === 'number' || options.expires.toUTCString)) {
if (typeof options.expires === 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString();
}
path = options.path ? '; path=' + options.path : '';
domain = options.domain ? '; domain=' + options.domain : '';
secure = options.secure ? '; secure' : '';
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
}
}
/**
* 显示提示
*/
function showTip(con, dur) {
var content, duration;
if (typeof con === 'undefined') {
return;
}
content = con.toString();
duration = (dur && dur > 0) ? dur : 3000;
$tip.html(content).show();
tipItime = setTimeout(function() {
if ($tip.css('display') === 'block') {
$tip.hide();
}
}, duration);
}
/**
* 获取活动的指定优惠券
*/
function getNamedCoupon(activityId, couponId, isApp, userIsLogged)
{
$.ajax({
type: 'POST',
url: '/cuxiao/coupon/getnamed',
data: 'activityId=' + activityId + '&couponId=' + couponId,
success: function(data) {
setCookie('_Coupon' + activityId, null, {
expires: -2,
domain: '.m.yohobuy.com'
});
if (isApp && !userIsLogged) {
return;
}
if (data.code == 200) {
showTip('恭喜你成功领取品牌优惠券');
}
else if (data.code == 201) {
showTip('你已领取过品牌优惠券<br><br>快去选购心仪的商品吧!');
}
else if (data.code == 400) {
setCookie('_Coupon' + activityId, couponId, {
expires: 1,
domain: '.m.yohobuy.com'
});
if (isApp) {
//showTip('请先登录!');
} else {
location.href = decodeURIComponent(data.data);
}
}
else if (data.message) {
//showTip(data.message);
showTip('领取失败<br><br>请稍候再试');
setCookie('_Coupon' + activityId, null);
}
},
error: function() {
showTip('网络断开连接啦~');
}
});
}
/**
* 获取活动所有的优惠券
*/
function getAllCoupon(activityId, isApp)
{
$.ajax({
type: 'POST',
url: '/cuxiao/coupon/getall',
data: 'activityId=' + activityId,
dataType: 'json',
success: function(data) {
if (data.code == 200) {
showTip('恭喜您,成功领取');
}
else if (data.code == 201) {
showTip('对不起,您已经领取过');
}
else if (data.code == 400) {
if (isApp) {
showTip('请先登录!');
} else {
location.href = decodeURIComponent(data.data);
}
}
else if (data.message) {
//showTip(data.message);
showTip('系统繁忙,请稍候再试!');
}
},
error: function() {
showTip('网络断开连接啦~');
}
});
}
\ No newline at end of file
... ...
... ... @@ -19,7 +19,7 @@ $('#get-all-coupon').click(function() {
});
/* 检查是否有在领取中的券,有则直接领取 */
if (userIsLogged === 'Y') {
if (userIsLogged) {
var cookieCouponId = cookie('_Coupon' + activityId);
if (cookieCouponId && !isNaN(cookieCouponId)) {
getNamedCoupon(activityId, cookieCouponId, isApp, userIsLogged);
... ...
... ... @@ -206,7 +206,7 @@
<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
{{/if}}
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.1130.js"></script>
{{> layout/analysis}}
</body>
... ...
... ... @@ -216,7 +216,7 @@
<input id="shareDesc" type="hidden" value="{{shareDesc}}">
<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" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.1130.js"></script>
{{> layout/analysis}}
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -99,7 +99,7 @@
<input id="shareDesc" type="hidden" value="{{shareDesc}}">
<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" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.1130.js"></script>
{{> layout/analysis}}
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -119,7 +119,7 @@
<input id="shareDesc" type="hidden" value="{{shareDesc}}">
<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" src="{{jsUrl}}/cuxiao/js/jquery.min.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.js"></script>
<script type="text/javascript" src="{{jsUrl}}/cuxiao/js/151201/coupon.mobile.1130.js"></script>
{{> layout/analysis}}
</body>
</html>
\ No newline at end of file
... ...