|
|
<?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">
|
|
|
<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title>
|
|
|
<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'">
|
|
|
<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
|
<meta http-equiv="cleartype" content="on">
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
|
<meta content="telephone=no" name="format-detection" />
|
|
|
<meta content="email=no" name="format-detection" />
|
|
|
<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>
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css">
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
|
|
|
' : '').'</head>
|
|
|
<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
|
|
|
'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a>
|
|
|
' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="nav-home"></a>
|
|
|
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p>
|
|
|
';}).'</header>
|
|
|
';}).''.''.'<div class="search-page yoho-page">
|
|
|
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('search')), $in, false, function($cx, $in) {return ' <div id="search-input" class="search-input">
|
|
|
<form id="search-form" action='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').' method="get">
|
|
|
<i class="search-icon iconfont"></i>
|
|
|
<input type="text" placeholder="搜索商品" name="query">
|
|
|
<input type="hidden" name="from" value="search">
|
|
|
<i class="clear-input iconfont hide"></i>
|
|
|
<button id="search" class="search" type="submit">搜索</button>
|
|
|
</form>
|
|
|
</div>
|
|
|
<div class="search-items">
|
|
|
<div class="hot-search hide">
|
|
|
<h3>热门搜索</h3>
|
|
|
<ul class="hot clearfix">
|
|
|
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hot')), $in, false, function($cx, $in) {return ' <li>
|
|
|
<a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a>
|
|
|
</li>
|
|
|
';}).' </ul>
|
|
|
</div>
|
|
|
<div class="history-search">
|
|
|
<h3>历史搜索</h3>
|
|
|
<ul class="history clearfix"></ul>
|
|
|
</div>
|
|
|
<button id="clear-history" class="clear-history hide">清空搜索历史</button>
|
|
|
</div>
|
|
|
';}).'</div>
|
|
|
'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return ' <footer id="yoho-footer" class="yoho-footer hide">
|
|
|
<p class="op-row">
|
|
|
<span class="back-to-top">
|
|
|
Back to top
|
|
|
<i class="iconfont"></i>
|
|
|
</span>
|
|
|
</p>
|
|
|
<address class="copyright">
|
|
|
CopyRight©2007-2016 南京新与力文化传播有限公司
|
|
|
</address>
|
|
|
</footer>
|
|
|
';}).'
|
|
|
'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app">
|
|
|
<div class="float-layer-left">
|
|
|
<span class="yoho-icon iconfont"></span>
|
|
|
<p>新用户首单减10元</p>
|
|
|
</div>
|
|
|
<a href="javascript:void(0);" id="float-layer-close" >
|
|
|
<i class="close-icon iconfont"></i>
|
|
|
<div class="circle-rightbottom"></div>
|
|
|
</a>
|
|
|
<a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
|
|
|
立即下载
|
|
|
</a>
|
|
|
</div>
|
|
|
';}).'
|
|
|
|
|
|
'.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? ' <script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
|
|
|
<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
|
|
|
<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script>
|
|
|
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>
|
|
|
<script>seajs.config({base: \'http://localhost:8000/\'});</script>
|
|
|
' : '').'
|
|
|
<script type="text/javascript">
|
|
|
(function(w,d,s,j,f){
|
|
|
w[\'YohoAcquisitionObject\']=f;
|
|
|
w[f]=function(){w[f].p=arguments;};
|
|
|
var a=d.createElement(s);
|
|
|
var m=d.getElementsByTagName(s)[0];
|
|
|
a.async=1;
|
|
|
a.src=j;
|
|
|
m.parentNode.insertBefore(a,m);
|
|
|
})(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');
|
|
|
</script>
|
|
|
|
|
|
'.'<script>
|
|
|
seajs.use(\'js/common\');
|
|
|
</script>
|
|
|
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>
|
|
|
seajs.use(\'js/guang/plus-star/list\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>
|
|
|
seajs.use(\'js/guang/plus-star/detail\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>
|
|
|
seajs.use(\'js/guang/home\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>
|
|
|
seajs.use(\'js/guang/list\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>
|
|
|
seajs.use(\'js/guang/detail\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>
|
|
|
seajs.use(\'js/passport/register/register\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>
|
|
|
seajs.use(\'js/passport/register/code\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>
|
|
|
seajs.use(\'js/passport/register/password\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>
|
|
|
seajs.use(\'js/passport/login/login\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? ' <script>
|
|
|
seajs.use(\'js/passport/login/international\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>
|
|
|
seajs.use(\'js/passport/back/email\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>
|
|
|
seajs.use(\'js/passport/back/email-success\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>
|
|
|
seajs.use(\'js/passport/back/mobile\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>
|
|
|
seajs.use(\'js/passport/back/code\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>
|
|
|
seajs.use(\'js/passport/back/new-password\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>
|
|
|
seajs.use(\'js/index/channel\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>
|
|
|
seajs.use(\'js/home/home\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>
|
|
|
seajs.use(\'js/home/home\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>
|
|
|
seajs.use(\'js/home/home\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>
|
|
|
seajs.use(\'js/home/home\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>
|
|
|
seajs.use(\'js/product/newsale/newarrival\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>
|
|
|
seajs.use(\'js/product/newsale/discount\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>
|
|
|
seajs.use(\'js/product/list\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>
|
|
|
seajs.use(\'js/product/detail/detail\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>
|
|
|
seajs.use(\'js/category/index\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>
|
|
|
seajs.use(\'js/category/brand\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>
|
|
|
seajs.use(\'js/index/search\');
|
|
|
seajs.use(\'js/index/footer\');
|
|
|
</script>
|
|
|
' : '').'
|
|
|
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>
|
|
|
seajs.use(\'js/shopping-cart/cart\');
|
|
|
</script>
|
|
|
' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>
|
|
|
seajs.use(\'js/shopping-cart/gift-advance\');
|
|
|
</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>
|
|
|
|
|
|
<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>
|
|
|
|
|
|
<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>'.'</body>
|
|
|
</html>'.'';
|
|
|
}
|
|
|
?> |
|
|
\ No newline at end of file |
...
|
...
|
|