|
|
<?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('jsUrl')), ENT_QUOTES, 'UTF-8').'/2016xinshili-3/css/style.css">
|
|
|
</head>
|
|
|
<body class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageType')), ENT_QUOTES, 'UTF-8').'">
|
|
|
'.' <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>
|
|
|
'.'<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('jsUrl')), ENT_QUOTES, 'UTF-8').'/2016xinshili-3/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('jsUrl')), ENT_QUOTES, 'UTF-8').'/2016xinshili-3/js/'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"></script>
|
|
|
';}).'</body>
|
|
|
'.'';
|
|
|
}
|
|
|
?> |
|
|
\ No newline at end of file |
...
|
...
|
|