Authored by biao

Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into fix/issue

<?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>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title>
<meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'">
<meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'">
<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>
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
'.((Plugin\LCRun3::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
</head>
<body '.((Plugin\LCRun3::debug('[isPassportPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[isPassportPage]', 'v', $cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
'.((Plugin\LCRun3::debug('[systemUpdate]', 'ifvar', $cx, Plugin\LCRun3::debug('[systemUpdate]', 'v', $cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate">
<a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a>
<span>X</span>
</div>
' : '').' '.''.Plugin\LCRun3::debug('[pageHeader]', 'sec', $cx, Plugin\LCRun3::debug('[pageHeader]', 'v', $cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-header" class="yoho-header'.((Plugin\LCRun3::debug('[boys]', 'ifvar', $cx, Plugin\LCRun3::debug('[boys]', 'v', $cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::debug('[girls]', 'ifvar', $cx, Plugin\LCRun3::debug('[girls]', 'v', $cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::debug('[kids]', 'ifvar', $cx, Plugin\LCRun3::debug('[kids]', 'v', $cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::debug('[lifeStyle]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifeStyle]', 'v', $cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
'.Plugin\LCRun3::debug('[navBack]', 'sec', $cx, Plugin\LCRun3::debug('[navBack]', 'v', $cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::debug('[backUrl]', 'ifvar', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl')))) ? ''.Plugin\LCRun3::debug('[backUrl]', 'encq', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl'))).'' : 'javascript:history.go(-1);').'" class="iconfont nav-back">&#xe610;</a>
';}).''.Plugin\LCRun3::debug('[navHome]', 'sec', $cx, Plugin\LCRun3::debug('[navHome]', 'v', $cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'" class="iconfont nav-home">&#xe611;</a>
';}).''.Plugin\LCRun3::debug('[navTitle]', 'sec', $cx, Plugin\LCRun3::debug('[navTitle]', 'v', $cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
';}).''.Plugin\LCRun3::debug('[navBtn]', 'sec', $cx, Plugin\LCRun3::debug('[navBtn]', 'v', $cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <span class="nav-btn">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span>
';}).'</header>
';}).''.''.'<div class="login-page passport-page yoho-page">
'.' <div class="header">
'.Plugin\LCRun3::debug('[backUrl]', 'sec', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl')), $in, false, function($cx, $in) {return ' <a class="go-back" href="javascript:history.go(-1);"></a>
';}).''.Plugin\LCRun3::debug('[showHeaderImg]', 'sec', $cx, Plugin\LCRun3::debug('[showHeaderImg]', 'v', $cx, $in, array('showHeaderImg')), $in, false, function($cx, $in) {return ' <div class="img-header"></div>
';}).''.Plugin\LCRun3::debug('[headerText]', 'sec', $cx, Plugin\LCRun3::debug('[headerText]', 'v', $cx, $in, array('headerText')), $in, false, function($cx, $in) {return ' <p class="title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
';}).' </div>'.' <div class="content">
<div class="acc-container input-container row has-clear">
<div class="yoho-logo"></div>
<input id="account" class="input account" type="text" placeholder="手机号/邮箱" autocomplete="off" value='.Plugin\LCRun3::debug('[account]', 'encq', $cx, Plugin\LCRun3::debug('[account]', 'v', $cx, $in, array('account'))).'>
</div>
<div class="input-container row has-eye">
<input id="pwd" class="pwd input" type="password" placeholder="密码">
</div>
<span id="btn-login" class="btn btn-login disable">登录</span>
<p class="op-container">
<a class="go-register" href='.Plugin\LCRun3::debug('[registerUrl]', 'encq', $cx, Plugin\LCRun3::debug('[registerUrl]', 'v', $cx, $in, array('registerUrl'))).'>免费注册</a>
<span id="forget-pwd" class="forget-pwd">忘记密码</span>
</p>
<div class="third-party-login">
<span>其他登录方式</span>
<div class="tp-link">
<a class="alipay" href='.Plugin\LCRun3::debug('[aliLoginUrl]', 'encq', $cx, Plugin\LCRun3::debug('[aliLoginUrl]', 'v', $cx, $in, array('aliLoginUrl'))).'></a>
<a class="weibo" href='.Plugin\LCRun3::debug('[weiboLoginUrl]', 'encq', $cx, Plugin\LCRun3::debug('[weiboLoginUrl]', 'v', $cx, $in, array('weiboLoginUrl'))).'></a>
<a class="qq" href='.Plugin\LCRun3::debug('[qqLoginUrl]', 'encq', $cx, Plugin\LCRun3::debug('[qqLoginUrl]', 'v', $cx, $in, array('qqLoginUrl'))).'></a>
</div>
</div>
<a class="international" href='.Plugin\LCRun3::debug('[internationalUrl]', 'encq', $cx, Plugin\LCRun3::debug('[internationalUrl]', 'v', $cx, $in, array('internationalUrl'))).'>International Customer</a>
<div class="login-tip">
<div class="info-icon"></div>
Yoho!Family账号可登录Yoho!Buy有货
</div>
<div id="retrive-pwd-mask" class="mask"></div>
<ul id="retrive-pwd-ways" class="retrive-pwd-ways">
<li>
<a href='.Plugin\LCRun3::debug('[phoneRetriveUrl]', 'encq', $cx, Plugin\LCRun3::debug('[phoneRetriveUrl]', 'v', $cx, $in, array('phoneRetriveUrl'))).'>通过手机找回密码</a>
</li>
<li>
<a href='.Plugin\LCRun3::debug('[emailRetriveUrl]', 'encq', $cx, Plugin\LCRun3::debug('[emailRetriveUrl]', 'v', $cx, $in, array('emailRetriveUrl'))).'>通过邮箱找回密码</a>
</li>
<li id="cancel-retrive">
取消
</li>
</ul>
</div>
</div>
'.''.''.Plugin\LCRun3::debug('[pageFooter]', 'sec', $cx, Plugin\LCRun3::debug('[pageFooter]', '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">&#xe608;</i>
</span>
</p>
<address class="copyright">
CopyRight©2007-2016 南京新与力文化传播有限公司
</address>
</footer>
';}).'
'.''.''.Plugin\LCRun3::debug('[showDownloadApp]', 'sec', $cx, Plugin\LCRun3::debug('[showDownloadApp]', '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">&#xe60d;</span>
<p>新用户送千元礼包</p>
</div>
<a href="javascript:void(0);" id="float-layer-close" >
<i class="close-icon iconfont">&#xe623;</i>
<div class="circle-rightbottom"></div>
</a>
<a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
立即下载
</a>
</div>
';}).'
'.''.((Plugin\LCRun3::debug('[hasWxShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[hasWxShare]', '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::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script>
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', '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/'.Plugin\LCRun3::debug('[yas_version]', 'encq', $cx, Plugin\LCRun3::debug('[yas_version]', 'v', $cx, $in, array('yas_version'))).'/yas.js\',\'_yas\');
</script>
'.'<script>
seajs.use(\'js/common\');
</script>
'.((Plugin\LCRun3::debug('[psList]', 'ifvar', $cx, Plugin\LCRun3::debug('[psList]', 'v', $cx, $in, array('psList')))) ? '<script>
seajs.use(\'js/guang/plus-star/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[psDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[psDetail]', 'v', $cx, $in, array('psDetail')))) ? '<script>
seajs.use(\'js/guang/plus-star/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangHome]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangHome]', 'v', $cx, $in, array('guangHome')))) ? '<script>
seajs.use(\'js/guang/home\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangList]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangList]', 'v', $cx, $in, array('guangList')))) ? '<script>
seajs.use(\'js/guang/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangDetail]', 'v', $cx, $in, array('guangDetail')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(true);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[guangEzine]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangEzine]', 'v', $cx, $in, array('guangEzine')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(false);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[regIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[regIndex]', 'v', $cx, $in, array('regIndex')))) ? '<script>
seajs.use(\'js/passport/register/register\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[regCode]', 'v', $cx, $in, array('regCode')))) ? '<script>
seajs.use(\'js/passport/register/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[regPwd]', 'v', $cx, $in, array('regPwd')))) ? '<script>
seajs.use(\'js/passport/register/password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginIndex]', 'v', $cx, $in, array('loginIndex')))) ? '<script>
seajs.use(\'js/passport/login/login\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginInternational]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginInternational]', 'v', $cx, $in, array('loginInternational')))) ? '<script>
seajs.use(\'js/passport/login/international\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmail]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmail]', 'v', $cx, $in, array('backEmail')))) ? '<script>
seajs.use(\'js/passport/back/email\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmailSuccess]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmailSuccess]', 'v', $cx, $in, array('backEmailSuccess')))) ? '<script>
seajs.use(\'js/passport/back/email-success\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backMobile]', 'ifvar', $cx, Plugin\LCRun3::debug('[backMobile]', 'v', $cx, $in, array('backMobile')))) ? '<script>
seajs.use(\'js/passport/back/mobile\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[backCode]', 'v', $cx, $in, array('backCode')))) ? '<script>
seajs.use(\'js/passport/back/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backNewPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[backNewPwd]', 'v', $cx, $in, array('backNewPwd')))) ? '<script>
seajs.use(\'js/passport/back/new-password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[channelPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[channelPage]', 'v', $cx, $in, array('channelPage')))) ? '<script>
seajs.use(\'js/index/channel\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[grilsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[grilsHomePage]', 'v', $cx, $in, array('grilsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'girls\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[boysHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'boys\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[kidsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[kidsHomePage]', 'v', $cx, $in, array('kidsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'kids\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[lifestyleHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifestyleHomePage]', 'v', $cx, $in, array('lifestyleHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'lifestyle\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[newArrivalPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[newArrivalPage]', 'v', $cx, $in, array('newArrivalPage')))) ? '<script>
seajs.use(\'js/product/newsale/newarrival\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[discountPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[discountPage]', 'v', $cx, $in, array('discountPage')))) ? '<script>
seajs.use(\'js/product/newsale/discount\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[hotrankPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')))) ? '<script>
seajs.use(\'js/product/newsale/hot-rank\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodListPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodListPage]', 'v', $cx, $in, array('goodListPage')))) ? '<script>
seajs.use(\'js/product/list\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsDetailPage]', 'v', $cx, $in, array('goodsDetailPage')))) ? '<script>
seajs.use(\'js/product/detail/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsCommentsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsCommentsPage]', 'v', $cx, $in, array('goodsCommentsPage')))) ? '<script>
seajs.use(\'js/product/detail/loadmore\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsConsultsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsConsultsPage]', 'v', $cx, $in, array('goodsConsultsPage')))) ? '<script>
seajs.use(\'js/product/detail/comments-consults\');
</script>
' : '').''.((Plugin\LCRun3::debug('[consultformPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[consultformPage]', 'v', $cx, $in, array('consultformPage')))) ? '<script>
seajs.use(\'js/product/detail/consultform\');
</script>
' : '').''.((Plugin\LCRun3::debug('[categoryPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[categoryPage]', 'v', $cx, $in, array('categoryPage')))) ? '<script>
seajs.use(\'js/category/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[brandPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')))) ? '<script>
seajs.use(\'js/category/brand\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[searchPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[searchPage]', 'v', $cx, $in, array('searchPage')))) ? '<script>
seajs.use(\'js/index/search\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[shoppingCartPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[shoppingCartPage]', 'v', $cx, $in, array('shoppingCartPage')))) ? '<script>
seajs.use(\'js/shopping-cart/cart\');
</script>
' : '').''.((Plugin\LCRun3::debug('[giftAdvancePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[giftAdvancePage]', 'v', $cx, $in, array('giftAdvancePage')))) ? '<script>
seajs.use(\'js/shopping-cart/gift-advance\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderEnsurePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')))) ? '<script>
seajs.use(\'js/shopping-cart/order-ensure\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myIndexPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myIndexPage]', 'v', $cx, $in, array('myIndexPage')))) ? '<script>
seajs.use(\'js/me/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderPage]', 'v', $cx, $in, array('orderPage')))) ? '<script>
seajs.use(\'js/me/order\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderDetailPage]', 'v', $cx, $in, array('orderDetailPage')))) ? '<script>
seajs.use(\'js/me/order-detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[favPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[favPage]', 'v', $cx, $in, array('favPage')))) ? '<script>
seajs.use(\'js/me/fav\');
</script>
' : '').''.((Plugin\LCRun3::debug('[suggestPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[suggestPage]', 'v', $cx, $in, array('suggestPage')))) ? '<script>
seajs.use(\'js/me/suggest\');
</script>
' : '').''.((Plugin\LCRun3::debug('[couponsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[couponsPage]', 'v', $cx, $in, array('couponsPage')))) ? '<script>
seajs.use(\'js/me/coupons\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServicePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServicePage]', 'v', $cx, $in, array('onlineServicePage')))) ? '<script>
seajs.use(\'js/me/online-service\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'v', $cx, $in, array('onlineServiceDetailPage')))) ? '<script>
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressPage]', 'v', $cx, $in, array('addressPage')))) ? '<script>
seajs.use(\'js/me/address\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressActionPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressActionPage]', 'v', $cx, $in, array('addressActionPage')))) ? '<script>
seajs.use(\'js/me/address-act\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myGuangPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myGuangPage]', 'v', $cx, $in, array('myGuangPage')))) ? '<script>
seajs.use(\'js/me/my-guang\');
</script>
' : '').''.((Plugin\LCRun3::debug('[personalDetailsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[personalDetailsPage]', 'v', $cx, $in, array('personalDetailsPage')))) ? '<script>
seajs.use(\'js/me/personal-details\');
</script>
' : '').''.((Plugin\LCRun3::debug('[browseRecordPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[browseRecordPage]', 'v', $cx, $in, array('browseRecordPage')))) ? '<script>
seajs.use(\'js/me/browse-record\');
</script>
' : '').''.((Plugin\LCRun3::debug('[logisticInfoPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[logisticInfoPage]', 'v', $cx, $in, array('logisticInfoPage')))) ? '<script>
seajs.use(\'js/me/logistic\');
</script>
' : '').''.((Plugin\LCRun3::debug('[payCenterPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[payCenterPage]', 'v', $cx, $in, array('payCenterPage')))) ? '<script>
seajs.use(\'js/me/pay\');
</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
<?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>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title>
<meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'">
<meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'">
<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>
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
'.((Plugin\LCRun3::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
</head>
<body '.((Plugin\LCRun3::debug('[isPassportPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[isPassportPage]', 'v', $cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
'.((Plugin\LCRun3::debug('[systemUpdate]', 'ifvar', $cx, Plugin\LCRun3::debug('[systemUpdate]', 'v', $cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate">
<a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a>
<span>X</span>
</div>
' : '').' '.''.Plugin\LCRun3::debug('[pageHeader]', 'sec', $cx, Plugin\LCRun3::debug('[pageHeader]', 'v', $cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-header" class="yoho-header'.((Plugin\LCRun3::debug('[boys]', 'ifvar', $cx, Plugin\LCRun3::debug('[boys]', 'v', $cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::debug('[girls]', 'ifvar', $cx, Plugin\LCRun3::debug('[girls]', 'v', $cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::debug('[kids]', 'ifvar', $cx, Plugin\LCRun3::debug('[kids]', 'v', $cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::debug('[lifeStyle]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifeStyle]', 'v', $cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
'.Plugin\LCRun3::debug('[navBack]', 'sec', $cx, Plugin\LCRun3::debug('[navBack]', 'v', $cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::debug('[backUrl]', 'ifvar', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl')))) ? ''.Plugin\LCRun3::debug('[backUrl]', 'encq', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl'))).'' : 'javascript:history.go(-1);').'" class="iconfont nav-back">&#xe610;</a>
';}).''.Plugin\LCRun3::debug('[navHome]', 'sec', $cx, Plugin\LCRun3::debug('[navHome]', 'v', $cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'" class="iconfont nav-home">&#xe611;</a>
';}).''.Plugin\LCRun3::debug('[navTitle]', 'sec', $cx, Plugin\LCRun3::debug('[navTitle]', 'v', $cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
';}).''.Plugin\LCRun3::debug('[navBtn]', 'sec', $cx, Plugin\LCRun3::debug('[navBtn]', 'v', $cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <span class="nav-btn">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span>
';}).'</header>
';}).''.''.'<div class="index-page yoho-page">
<div class="index-container">
<div class="index-header clearfix">
<div class="index-logo">
</div>
<div class="box">
<a href="javascript:void(0);" class="no-search">取消</a>
<form action="'.Plugin\LCRun3::debug('[searchUrl]', 'encq', $cx, Plugin\LCRun3::debug('[searchUrl]', 'v', $cx, $in, array('searchUrl'))).'" class="index-search">
<div class="search-box">
<input type="hidden" name="from" value="search">
<input type="text" name="query" placeholder="搜索" autocomplete="off">
<span class="iconfont clear-text">&#xe623;</span>
<span class="iconfont search-icon empty">&#xe60f;</span>
</div>
</form>
</div>
</div>
<div class="index-channel">
<img class="img" src="'.Plugin\LCRun3::debug('[background]', 'encq', $cx, Plugin\LCRun3::debug('[background]', 'v', $cx, $in, array('background'))).'">
<div class="index-channel-list">
<a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon">&#xe614;</span></a>
<a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon">&#xe614;</span></a>
<a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon">&#xe614;</span></a>
<a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon">&#xe614;</span></a>
</div>
</div>
</div>
</div>
'.''.''.Plugin\LCRun3::debug('[pageFooter]', 'sec', $cx, Plugin\LCRun3::debug('[pageFooter]', '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">&#xe608;</i>
</span>
</p>
<address class="copyright">
CopyRight©2007-2016 南京新与力文化传播有限公司
</address>
</footer>
';}).'
'.''.''.Plugin\LCRun3::debug('[showDownloadApp]', 'sec', $cx, Plugin\LCRun3::debug('[showDownloadApp]', '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">&#xe60d;</span>
<p>新用户送千元礼包</p>
</div>
<a href="javascript:void(0);" id="float-layer-close" >
<i class="close-icon iconfont">&#xe623;</i>
<div class="circle-rightbottom"></div>
</a>
<a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
立即下载
</a>
</div>
';}).'
'.''.((Plugin\LCRun3::debug('[hasWxShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[hasWxShare]', '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::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script>
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', '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/'.Plugin\LCRun3::debug('[yas_version]', 'encq', $cx, Plugin\LCRun3::debug('[yas_version]', 'v', $cx, $in, array('yas_version'))).'/yas.js\',\'_yas\');
</script>
'.'<script>
seajs.use(\'js/common\');
</script>
'.((Plugin\LCRun3::debug('[psList]', 'ifvar', $cx, Plugin\LCRun3::debug('[psList]', 'v', $cx, $in, array('psList')))) ? '<script>
seajs.use(\'js/guang/plus-star/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[psDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[psDetail]', 'v', $cx, $in, array('psDetail')))) ? '<script>
seajs.use(\'js/guang/plus-star/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangHome]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangHome]', 'v', $cx, $in, array('guangHome')))) ? '<script>
seajs.use(\'js/guang/home\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangList]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangList]', 'v', $cx, $in, array('guangList')))) ? '<script>
seajs.use(\'js/guang/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangDetail]', 'v', $cx, $in, array('guangDetail')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(true);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[guangEzine]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangEzine]', 'v', $cx, $in, array('guangEzine')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(false);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[regIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[regIndex]', 'v', $cx, $in, array('regIndex')))) ? '<script>
seajs.use(\'js/passport/register/register\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[regCode]', 'v', $cx, $in, array('regCode')))) ? '<script>
seajs.use(\'js/passport/register/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[regPwd]', 'v', $cx, $in, array('regPwd')))) ? '<script>
seajs.use(\'js/passport/register/password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginIndex]', 'v', $cx, $in, array('loginIndex')))) ? '<script>
seajs.use(\'js/passport/login/login\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginInternational]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginInternational]', 'v', $cx, $in, array('loginInternational')))) ? '<script>
seajs.use(\'js/passport/login/international\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmail]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmail]', 'v', $cx, $in, array('backEmail')))) ? '<script>
seajs.use(\'js/passport/back/email\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmailSuccess]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmailSuccess]', 'v', $cx, $in, array('backEmailSuccess')))) ? '<script>
seajs.use(\'js/passport/back/email-success\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backMobile]', 'ifvar', $cx, Plugin\LCRun3::debug('[backMobile]', 'v', $cx, $in, array('backMobile')))) ? '<script>
seajs.use(\'js/passport/back/mobile\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[backCode]', 'v', $cx, $in, array('backCode')))) ? '<script>
seajs.use(\'js/passport/back/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backNewPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[backNewPwd]', 'v', $cx, $in, array('backNewPwd')))) ? '<script>
seajs.use(\'js/passport/back/new-password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[channelPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[channelPage]', 'v', $cx, $in, array('channelPage')))) ? '<script>
seajs.use(\'js/index/channel\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[grilsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[grilsHomePage]', 'v', $cx, $in, array('grilsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'girls\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[boysHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'boys\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[kidsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[kidsHomePage]', 'v', $cx, $in, array('kidsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'kids\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[lifestyleHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifestyleHomePage]', 'v', $cx, $in, array('lifestyleHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'lifestyle\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[newArrivalPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[newArrivalPage]', 'v', $cx, $in, array('newArrivalPage')))) ? '<script>
seajs.use(\'js/product/newsale/newarrival\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[discountPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[discountPage]', 'v', $cx, $in, array('discountPage')))) ? '<script>
seajs.use(\'js/product/newsale/discount\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[hotrankPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')))) ? '<script>
seajs.use(\'js/product/newsale/hot-rank\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodListPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodListPage]', 'v', $cx, $in, array('goodListPage')))) ? '<script>
seajs.use(\'js/product/list\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsDetailPage]', 'v', $cx, $in, array('goodsDetailPage')))) ? '<script>
seajs.use(\'js/product/detail/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsCommentsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsCommentsPage]', 'v', $cx, $in, array('goodsCommentsPage')))) ? '<script>
seajs.use(\'js/product/detail/loadmore\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsConsultsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsConsultsPage]', 'v', $cx, $in, array('goodsConsultsPage')))) ? '<script>
seajs.use(\'js/product/detail/comments-consults\');
</script>
' : '').''.((Plugin\LCRun3::debug('[consultformPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[consultformPage]', 'v', $cx, $in, array('consultformPage')))) ? '<script>
seajs.use(\'js/product/detail/consultform\');
</script>
' : '').''.((Plugin\LCRun3::debug('[categoryPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[categoryPage]', 'v', $cx, $in, array('categoryPage')))) ? '<script>
seajs.use(\'js/category/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[brandPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')))) ? '<script>
seajs.use(\'js/category/brand\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[searchPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[searchPage]', 'v', $cx, $in, array('searchPage')))) ? '<script>
seajs.use(\'js/index/search\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[shoppingCartPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[shoppingCartPage]', 'v', $cx, $in, array('shoppingCartPage')))) ? '<script>
seajs.use(\'js/shopping-cart/cart\');
</script>
' : '').''.((Plugin\LCRun3::debug('[giftAdvancePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[giftAdvancePage]', 'v', $cx, $in, array('giftAdvancePage')))) ? '<script>
seajs.use(\'js/shopping-cart/gift-advance\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderEnsurePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')))) ? '<script>
seajs.use(\'js/shopping-cart/order-ensure\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myIndexPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myIndexPage]', 'v', $cx, $in, array('myIndexPage')))) ? '<script>
seajs.use(\'js/me/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderPage]', 'v', $cx, $in, array('orderPage')))) ? '<script>
seajs.use(\'js/me/order\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderDetailPage]', 'v', $cx, $in, array('orderDetailPage')))) ? '<script>
seajs.use(\'js/me/order-detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[favPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[favPage]', 'v', $cx, $in, array('favPage')))) ? '<script>
seajs.use(\'js/me/fav\');
</script>
' : '').''.((Plugin\LCRun3::debug('[suggestPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[suggestPage]', 'v', $cx, $in, array('suggestPage')))) ? '<script>
seajs.use(\'js/me/suggest\');
</script>
' : '').''.((Plugin\LCRun3::debug('[couponsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[couponsPage]', 'v', $cx, $in, array('couponsPage')))) ? '<script>
seajs.use(\'js/me/coupons\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServicePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServicePage]', 'v', $cx, $in, array('onlineServicePage')))) ? '<script>
seajs.use(\'js/me/online-service\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'v', $cx, $in, array('onlineServiceDetailPage')))) ? '<script>
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressPage]', 'v', $cx, $in, array('addressPage')))) ? '<script>
seajs.use(\'js/me/address\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressActionPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressActionPage]', 'v', $cx, $in, array('addressActionPage')))) ? '<script>
seajs.use(\'js/me/address-act\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myGuangPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myGuangPage]', 'v', $cx, $in, array('myGuangPage')))) ? '<script>
seajs.use(\'js/me/my-guang\');
</script>
' : '').''.((Plugin\LCRun3::debug('[personalDetailsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[personalDetailsPage]', 'v', $cx, $in, array('personalDetailsPage')))) ? '<script>
seajs.use(\'js/me/personal-details\');
</script>
' : '').''.((Plugin\LCRun3::debug('[browseRecordPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[browseRecordPage]', 'v', $cx, $in, array('browseRecordPage')))) ? '<script>
seajs.use(\'js/me/browse-record\');
</script>
' : '').''.((Plugin\LCRun3::debug('[logisticInfoPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[logisticInfoPage]', 'v', $cx, $in, array('logisticInfoPage')))) ? '<script>
seajs.use(\'js/me/logistic\');
</script>
' : '').''.((Plugin\LCRun3::debug('[payCenterPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[payCenterPage]', 'v', $cx, $in, array('payCenterPage')))) ? '<script>
seajs.use(\'js/me/pay\');
</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
<?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>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title>
<meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'">
<meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'">
<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>
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
'.((Plugin\LCRun3::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
</head>
<body '.((Plugin\LCRun3::debug('[isPassportPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[isPassportPage]', 'v', $cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
'.((Plugin\LCRun3::debug('[systemUpdate]', 'ifvar', $cx, Plugin\LCRun3::debug('[systemUpdate]', 'v', $cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate">
<a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a>
<span>X</span>
</div>
' : '').' '.''.Plugin\LCRun3::debug('[pageHeader]', 'sec', $cx, Plugin\LCRun3::debug('[pageHeader]', 'v', $cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-header" class="yoho-header'.((Plugin\LCRun3::debug('[boys]', 'ifvar', $cx, Plugin\LCRun3::debug('[boys]', 'v', $cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::debug('[girls]', 'ifvar', $cx, Plugin\LCRun3::debug('[girls]', 'v', $cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::debug('[kids]', 'ifvar', $cx, Plugin\LCRun3::debug('[kids]', 'v', $cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::debug('[lifeStyle]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifeStyle]', 'v', $cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
'.Plugin\LCRun3::debug('[navBack]', 'sec', $cx, Plugin\LCRun3::debug('[navBack]', 'v', $cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::debug('[backUrl]', 'ifvar', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl')))) ? ''.Plugin\LCRun3::debug('[backUrl]', 'encq', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl'))).'' : 'javascript:history.go(-1);').'" class="iconfont nav-back">&#xe610;</a>
';}).''.Plugin\LCRun3::debug('[navHome]', 'sec', $cx, Plugin\LCRun3::debug('[navHome]', 'v', $cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'" class="iconfont nav-home">&#xe611;</a>
';}).''.Plugin\LCRun3::debug('[navTitle]', 'sec', $cx, Plugin\LCRun3::debug('[navTitle]', 'v', $cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
';}).''.Plugin\LCRun3::debug('[navBtn]', 'sec', $cx, Plugin\LCRun3::debug('[navBtn]', 'v', $cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <span class="nav-btn">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span>
';}).'</header>
';}).''.''.'<div class="index-page yoho-page">
<div class="index-container">
<div class="index-header clearfix">
<div class="index-logo">
</div>
<div class="box">
<a href="javascript:void(0);" class="no-search">取消</a>
<form action="'.Plugin\LCRun3::debug('[searchUrl]', 'encq', $cx, Plugin\LCRun3::debug('[searchUrl]', 'v', $cx, $in, array('searchUrl'))).'" class="index-search">
<div class="search-box">
<input type="hidden" name="from" value="search">
<input type="text" name="query" placeholder="搜索" autocomplete="off">
<span class="iconfont clear-text">&#xe623;</span>
<span class="iconfont search-icon empty">&#xe60f;</span>
</div>
</form>
</div>
</div>
<div class="index-channel">
<img class="img" src="'.Plugin\LCRun3::debug('[background]', 'encq', $cx, Plugin\LCRun3::debug('[background]', 'v', $cx, $in, array('background'))).'">
<div class="index-channel-list">
<a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon">&#xe614;</span></a>
<a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon">&#xe614;</span></a>
<a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon">&#xe614;</span></a>
<a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon">&#xe614;</span></a>
</div>
</div>
</div>
</div>
'.''.''.Plugin\LCRun3::debug('[pageFooter]', 'sec', $cx, Plugin\LCRun3::debug('[pageFooter]', '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">&#xe608;</i>
</span>
</p>
<address class="copyright">
CopyRight©2007-2016 南京新与力文化传播有限公司
</address>
</footer>
';}).'
'.''.''.Plugin\LCRun3::debug('[showDownloadApp]', 'sec', $cx, Plugin\LCRun3::debug('[showDownloadApp]', '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">&#xe60d;</span>
<p>新用户送千元礼包</p>
</div>
<a href="javascript:void(0);" id="float-layer-close" >
<i class="close-icon iconfont">&#xe623;</i>
<div class="circle-rightbottom"></div>
</a>
<a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
立即下载
</a>
</div>
';}).'
'.''.((Plugin\LCRun3::debug('[hasWxShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[hasWxShare]', '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::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script>
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', '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/'.Plugin\LCRun3::debug('[yas_version]', 'encq', $cx, Plugin\LCRun3::debug('[yas_version]', 'v', $cx, $in, array('yas_version'))).'/yas.js\',\'_yas\');
</script>
'.'<script>
seajs.use(\'js/common\');
</script>
'.((Plugin\LCRun3::debug('[psList]', 'ifvar', $cx, Plugin\LCRun3::debug('[psList]', 'v', $cx, $in, array('psList')))) ? '<script>
seajs.use(\'js/guang/plus-star/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[psDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[psDetail]', 'v', $cx, $in, array('psDetail')))) ? '<script>
seajs.use(\'js/guang/plus-star/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangHome]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangHome]', 'v', $cx, $in, array('guangHome')))) ? '<script>
seajs.use(\'js/guang/home\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangList]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangList]', 'v', $cx, $in, array('guangList')))) ? '<script>
seajs.use(\'js/guang/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangDetail]', 'v', $cx, $in, array('guangDetail')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(true);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[guangEzine]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangEzine]', 'v', $cx, $in, array('guangEzine')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(false);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[regIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[regIndex]', 'v', $cx, $in, array('regIndex')))) ? '<script>
seajs.use(\'js/passport/register/register\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[regCode]', 'v', $cx, $in, array('regCode')))) ? '<script>
seajs.use(\'js/passport/register/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[regPwd]', 'v', $cx, $in, array('regPwd')))) ? '<script>
seajs.use(\'js/passport/register/password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginIndex]', 'v', $cx, $in, array('loginIndex')))) ? '<script>
seajs.use(\'js/passport/login/login\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginInternational]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginInternational]', 'v', $cx, $in, array('loginInternational')))) ? '<script>
seajs.use(\'js/passport/login/international\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmail]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmail]', 'v', $cx, $in, array('backEmail')))) ? '<script>
seajs.use(\'js/passport/back/email\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmailSuccess]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmailSuccess]', 'v', $cx, $in, array('backEmailSuccess')))) ? '<script>
seajs.use(\'js/passport/back/email-success\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backMobile]', 'ifvar', $cx, Plugin\LCRun3::debug('[backMobile]', 'v', $cx, $in, array('backMobile')))) ? '<script>
seajs.use(\'js/passport/back/mobile\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[backCode]', 'v', $cx, $in, array('backCode')))) ? '<script>
seajs.use(\'js/passport/back/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backNewPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[backNewPwd]', 'v', $cx, $in, array('backNewPwd')))) ? '<script>
seajs.use(\'js/passport/back/new-password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[channelPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[channelPage]', 'v', $cx, $in, array('channelPage')))) ? '<script>
seajs.use(\'js/index/channel\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[grilsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[grilsHomePage]', 'v', $cx, $in, array('grilsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'girls\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[boysHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'boys\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[kidsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[kidsHomePage]', 'v', $cx, $in, array('kidsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'kids\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[lifestyleHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifestyleHomePage]', 'v', $cx, $in, array('lifestyleHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'lifestyle\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[newArrivalPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[newArrivalPage]', 'v', $cx, $in, array('newArrivalPage')))) ? '<script>
seajs.use(\'js/product/newsale/newarrival\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[discountPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[discountPage]', 'v', $cx, $in, array('discountPage')))) ? '<script>
seajs.use(\'js/product/newsale/discount\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[hotrankPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')))) ? '<script>
seajs.use(\'js/product/newsale/hot-rank\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodListPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodListPage]', 'v', $cx, $in, array('goodListPage')))) ? '<script>
seajs.use(\'js/product/list\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsDetailPage]', 'v', $cx, $in, array('goodsDetailPage')))) ? '<script>
seajs.use(\'js/product/detail/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsCommentsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsCommentsPage]', 'v', $cx, $in, array('goodsCommentsPage')))) ? '<script>
seajs.use(\'js/product/detail/loadmore\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsConsultsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsConsultsPage]', 'v', $cx, $in, array('goodsConsultsPage')))) ? '<script>
seajs.use(\'js/product/detail/comments-consults\');
</script>
' : '').''.((Plugin\LCRun3::debug('[consultformPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[consultformPage]', 'v', $cx, $in, array('consultformPage')))) ? '<script>
seajs.use(\'js/product/detail/consultform\');
</script>
' : '').''.((Plugin\LCRun3::debug('[categoryPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[categoryPage]', 'v', $cx, $in, array('categoryPage')))) ? '<script>
seajs.use(\'js/category/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[brandPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')))) ? '<script>
seajs.use(\'js/category/brand\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[searchPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[searchPage]', 'v', $cx, $in, array('searchPage')))) ? '<script>
seajs.use(\'js/index/search\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[shoppingCartPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[shoppingCartPage]', 'v', $cx, $in, array('shoppingCartPage')))) ? '<script>
seajs.use(\'js/shopping-cart/cart\');
</script>
' : '').''.((Plugin\LCRun3::debug('[giftAdvancePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[giftAdvancePage]', 'v', $cx, $in, array('giftAdvancePage')))) ? '<script>
seajs.use(\'js/shopping-cart/gift-advance\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderEnsurePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')))) ? '<script>
seajs.use(\'js/shopping-cart/order-ensure\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myIndexPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myIndexPage]', 'v', $cx, $in, array('myIndexPage')))) ? '<script>
seajs.use(\'js/me/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderPage]', 'v', $cx, $in, array('orderPage')))) ? '<script>
seajs.use(\'js/me/order\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderDetailPage]', 'v', $cx, $in, array('orderDetailPage')))) ? '<script>
seajs.use(\'js/me/order-detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[favPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[favPage]', 'v', $cx, $in, array('favPage')))) ? '<script>
seajs.use(\'js/me/fav\');
</script>
' : '').''.((Plugin\LCRun3::debug('[suggestPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[suggestPage]', 'v', $cx, $in, array('suggestPage')))) ? '<script>
seajs.use(\'js/me/suggest\');
</script>
' : '').''.((Plugin\LCRun3::debug('[couponsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[couponsPage]', 'v', $cx, $in, array('couponsPage')))) ? '<script>
seajs.use(\'js/me/coupons\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServicePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServicePage]', 'v', $cx, $in, array('onlineServicePage')))) ? '<script>
seajs.use(\'js/me/online-service\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'v', $cx, $in, array('onlineServiceDetailPage')))) ? '<script>
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressPage]', 'v', $cx, $in, array('addressPage')))) ? '<script>
seajs.use(\'js/me/address\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressActionPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressActionPage]', 'v', $cx, $in, array('addressActionPage')))) ? '<script>
seajs.use(\'js/me/address-act\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myGuangPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myGuangPage]', 'v', $cx, $in, array('myGuangPage')))) ? '<script>
seajs.use(\'js/me/my-guang\');
</script>
' : '').''.((Plugin\LCRun3::debug('[personalDetailsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[personalDetailsPage]', 'v', $cx, $in, array('personalDetailsPage')))) ? '<script>
seajs.use(\'js/me/personal-details\');
</script>
' : '').''.((Plugin\LCRun3::debug('[browseRecordPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[browseRecordPage]', 'v', $cx, $in, array('browseRecordPage')))) ? '<script>
seajs.use(\'js/me/browse-record\');
</script>
' : '').''.((Plugin\LCRun3::debug('[logisticInfoPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[logisticInfoPage]', 'v', $cx, $in, array('logisticInfoPage')))) ? '<script>
seajs.use(\'js/me/logistic\');
</script>
' : '').''.((Plugin\LCRun3::debug('[payCenterPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[payCenterPage]', 'v', $cx, $in, array('payCenterPage')))) ? '<script>
seajs.use(\'js/me/pay\');
</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
<?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="title">为您优选新品</div>
<div id="swiper-recommend" class="swiper-container">
<div class="swiper-wrapper swiper-wrapper-recommend">
'.Plugin\LCRun3::debug('[recommendList]', 'sec', $cx, Plugin\LCRun3::debug('[recommendList]', 'v', $cx, $in, array('recommendList')), $in, false, function($cx, $in) {return ' <a class="swiper-slide" href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">
<img class="swiper-lazy img-box" data-src="'.Plugin\LCRun3::debug('[thumb]', 'encq', $cx, Plugin\LCRun3::debug('[thumb]', 'v', $cx, $in, array('thumb'))).'">
<div class="price">
<span class="sale-price '.((Plugin\LCRun3::debug('^[price]', 'isec', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')))) ? 'no-price' : '').'">¥'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).'</span>
'.Plugin\LCRun3::debug('[price]', 'sec', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')), $in, false, function($cx, $in) {return '<span class="old-price">¥'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span>';}).'
</div>
<div class="swiper-lazy-preloader"></div>
</a>
';}).' </div>
</div>'.'';
}
?>
\ 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">
<title>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title>
<meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'">
<meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'">
<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>
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
'.((Plugin\LCRun3::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
</head>
<body '.((Plugin\LCRun3::debug('[isPassportPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[isPassportPage]', 'v', $cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
'.((Plugin\LCRun3::debug('[systemUpdate]', 'ifvar', $cx, Plugin\LCRun3::debug('[systemUpdate]', 'v', $cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate">
<a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a>
<span>X</span>
</div>
' : '').' '.''.Plugin\LCRun3::debug('[pageHeader]', 'sec', $cx, Plugin\LCRun3::debug('[pageHeader]', 'v', $cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-header" class="yoho-header'.((Plugin\LCRun3::debug('[boys]', 'ifvar', $cx, Plugin\LCRun3::debug('[boys]', 'v', $cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::debug('[girls]', 'ifvar', $cx, Plugin\LCRun3::debug('[girls]', 'v', $cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::debug('[kids]', 'ifvar', $cx, Plugin\LCRun3::debug('[kids]', 'v', $cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::debug('[lifeStyle]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifeStyle]', 'v', $cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
'.Plugin\LCRun3::debug('[navBack]', 'sec', $cx, Plugin\LCRun3::debug('[navBack]', 'v', $cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::debug('[backUrl]', 'ifvar', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl')))) ? ''.Plugin\LCRun3::debug('[backUrl]', 'encq', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl'))).'' : 'javascript:history.go(-1);').'" class="iconfont nav-back">&#xe610;</a>
';}).''.Plugin\LCRun3::debug('[navHome]', 'sec', $cx, Plugin\LCRun3::debug('[navHome]', 'v', $cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'" class="iconfont nav-home">&#xe611;</a>
';}).''.Plugin\LCRun3::debug('[navTitle]', 'sec', $cx, Plugin\LCRun3::debug('[navTitle]', 'v', $cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
';}).''.Plugin\LCRun3::debug('[navBtn]', 'sec', $cx, Plugin\LCRun3::debug('[navBtn]', 'v', $cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <span class="nav-btn">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span>
';}).'</header>
';}).''.''.' <div class="my-page yoho-page">
<div class="my-header">
'.Plugin\LCRun3::debug('[isLogin]', 'sec', $cx, Plugin\LCRun3::debug('[isLogin]', 'v', $cx, $in, array('isLogin')), $in, false, function($cx, $in) {return ' <a class="user-info" href="/home/mydetails">
<span class="user-avatar" data-avatar="'.Plugin\LCRun3::debug('[head_ico]', 'encq', $cx, Plugin\LCRun3::debug('[head_ico]', 'v', $cx, $in, array('head_ico'))).'"></span>
<span class="username">'.Plugin\LCRun3::debug('[profile_name]', 'encq', $cx, Plugin\LCRun3::debug('[profile_name]', 'v', $cx, $in, array('profile_name'))).'</span>
'.Plugin\LCRun3::debug('[vip_info]', 'sec', $cx, Plugin\LCRun3::debug('[vip_info]', 'v', $cx, $in, array('vip_info')), $in, false, function($cx, $in) {return ' <span class="vip-icon vip-'.Plugin\LCRun3::debug('[cur_level]', 'encq', $cx, Plugin\LCRun3::debug('[cur_level]', 'v', $cx, $in, array('cur_level'))).'"></span>
';}).' <div class="iconfont more-icon">&#xe604;</div>
</a>
';}).''.((Plugin\LCRun3::debug('^[isLogin]', 'isec', $cx, Plugin\LCRun3::debug('[isLogin]', 'v', $cx, $in, array('isLogin')))) ? ' <div class="user-info">
<a class="login-btn" href="'.Plugin\LCRun3::debug('[signinUrl]', 'encq', $cx, Plugin\LCRun3::debug('[signinUrl]', 'v', $cx, $in, array('signinUrl'))).'">
登录/注册
</a>
</div>
' : '').' </div>
<div class="my-link clearfix '.((Plugin\LCRun3::debug('^[isLogin]', 'isec', $cx, Plugin\LCRun3::debug('[isLogin]', 'v', $cx, $in, array('isLogin')))) ? 'no-login' : '').'">
<a class="link-item" href="/home/favorite">
'.Plugin\LCRun3::debug('[isLogin]', 'sec', $cx, Plugin\LCRun3::debug('[isLogin]', 'v', $cx, $in, array('isLogin')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[product_favorite_total]', 'encq', $cx, Plugin\LCRun3::debug('[product_favorite_total]', 'v', $cx, $in, array('product_favorite_total'))).'';}).'
<p>收藏的商品</p>
</a>
<a class="link-item" href="/home/favorite?tab=brand">
'.Plugin\LCRun3::debug('[isLogin]', 'sec', $cx, Plugin\LCRun3::debug('[isLogin]', 'v', $cx, $in, array('isLogin')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[brand_favorite_total]', 'encq', $cx, Plugin\LCRun3::debug('[brand_favorite_total]', 'v', $cx, $in, array('brand_favorite_total'))).'';}).'
<p>收藏的品牌</p>
</a>
</div>
<div class="my-order">
<a class="order-title" href="/home/orders">
我的订单
<span class="iconfont">
查看全部订单 &#xe604;
</span>
</a>
<div class="order-type clearfix">
<a class="type-item" href="/home/orders?type=2">
<span class="iconfont">&#xe634;</span>
<br>待付款
'.((Plugin\LCRun3::debug('[wait_pay_num]', 'ifvar', $cx, Plugin\LCRun3::debug('[wait_pay_num]', 'v', $cx, $in, array('wait_pay_num')))) ? ' <span class="num">'.Plugin\LCRun3::debug('[wait_pay_num]', 'encq', $cx, Plugin\LCRun3::debug('[wait_pay_num]', 'v', $cx, $in, array('wait_pay_num'))).'</span>
' : '').' </a>
<a class="type-item" href="/home/orders?type=3">
<span class="iconfont">&#xe63b;</span>
<br>待发货
'.((Plugin\LCRun3::debug('[wait_cargo_num]', 'ifvar', $cx, Plugin\LCRun3::debug('[wait_cargo_num]', 'v', $cx, $in, array('wait_cargo_num')))) ? ' <span class="num">'.Plugin\LCRun3::debug('[wait_cargo_num]', 'encq', $cx, Plugin\LCRun3::debug('[wait_cargo_num]', 'v', $cx, $in, array('wait_cargo_num'))).'</span>
' : '').' </a>
<a class="type-item" href="/home/orders?type=4">
<span class="iconfont">&#xe633;</span>
<br>待收货
'.((Plugin\LCRun3::debug('[send_cargo_num]', 'ifvar', $cx, Plugin\LCRun3::debug('[send_cargo_num]', 'v', $cx, $in, array('send_cargo_num')))) ? ' <span class="num">'.Plugin\LCRun3::debug('[send_cargo_num]', 'encq', $cx, Plugin\LCRun3::debug('[send_cargo_num]', 'v', $cx, $in, array('send_cargo_num'))).'</span>
' : '').' </a>
</div>
</div>
<div class="group-list">
<a class="list-item" href="/home/address">
<span class="iconfont icon">&#xe637;</span>
地址管理
<span class="iconfont num">'.Plugin\LCRun3::debug('[address_num]', 'encq', $cx, Plugin\LCRun3::debug('[address_num]', 'v', $cx, $in, array('address_num'))).' &#xe604;</span>
</a>
</div>
<div class="group-list">
<a class="list-item" href="/home/coupons">
<span class="iconfont icon">&#xe63a;</span>
优惠券
<span class="iconfont num">'.Plugin\LCRun3::debug('[coupon_num]', 'encq', $cx, Plugin\LCRun3::debug('[coupon_num]', 'v', $cx, $in, array('coupon_num'))).' &#xe604;</span>
</a>
<a class="list-item" href="/home/currency">
<span class="iconfont icon">&#xe635;</span>
YOHO 币
<span class="iconfont num">'.Plugin\LCRun3::debug('[yoho_coin_num]', 'encq', $cx, Plugin\LCRun3::debug('[yoho_coin_num]', 'v', $cx, $in, array('yoho_coin_num'))).' &#xe604;</span>
</a>
</div>
<div class="group-list">
<a class="list-item" href="/home/message">
<span class="iconfont icon">&#xe636;</span>
消息
<span class="iconfont num">'.Plugin\LCRun3::debug('[inbox_total]', 'encq', $cx, Plugin\LCRun3::debug('[inbox_total]', 'v', $cx, $in, array('inbox_total'))).' &#xe604;</span>
</a>
</div>
<div class="group-list">
<a class="list-item" href="/home/onlineService">
<span class="iconfont icon">&#xe63c;</span>
在线客服
<span class="iconfont num">&#xe604;</span>
</a>
<a class="list-item" href="/home/suggest">
<span class="iconfont icon">&#xe63d;</span>
意见反馈
<span class="iconfont num">&#xe604;</span>
</a>
</div>
'.' <div class="recommend-for-you hide">
</div>'.''.' <div id="suspend-cart" class="suspend-cart">
<a href='.Plugin\LCRun3::debug('[cartUrl]', 'encq', $cx, Plugin\LCRun3::debug('[cartUrl]', 'v', $cx, $in, array('cartUrl'))).'>
<span class="iconfont">&#xe62c;</span>
</a>
<span class="cart-count hide">0</span>
</div>'.' </div>
'.''.Plugin\LCRun3::debug('[showDownloadApp]', 'sec', $cx, Plugin\LCRun3::debug('[showDownloadApp]', '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">&#xe60d;</span>
<p>新用户送千元礼包</p>
</div>
<a href="javascript:void(0);" id="float-layer-close" >
<i class="close-icon iconfont">&#xe623;</i>
<div class="circle-rightbottom"></div>
</a>
<a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
立即下载
</a>
</div>
';}).'
'.''.''.''.Plugin\LCRun3::debug('[pageFooter]', 'sec', $cx, Plugin\LCRun3::debug('[pageFooter]', '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">&#xe608;</i>
</span>
</p>
<address class="copyright">
CopyRight©2007-2016 南京新与力文化传播有限公司
</address>
</footer>
';}).'
'.''.''.Plugin\LCRun3::debug('[showDownloadApp]', 'sec', $cx, Plugin\LCRun3::debug('[showDownloadApp]', '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">&#xe60d;</span>
<p>新用户送千元礼包</p>
</div>
<a href="javascript:void(0);" id="float-layer-close" >
<i class="close-icon iconfont">&#xe623;</i>
<div class="circle-rightbottom"></div>
</a>
<a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
立即下载
</a>
</div>
';}).'
'.''.((Plugin\LCRun3::debug('[hasWxShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[hasWxShare]', '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::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script>
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', '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/'.Plugin\LCRun3::debug('[yas_version]', 'encq', $cx, Plugin\LCRun3::debug('[yas_version]', 'v', $cx, $in, array('yas_version'))).'/yas.js\',\'_yas\');
</script>
'.'<script>
seajs.use(\'js/common\');
</script>
'.((Plugin\LCRun3::debug('[psList]', 'ifvar', $cx, Plugin\LCRun3::debug('[psList]', 'v', $cx, $in, array('psList')))) ? '<script>
seajs.use(\'js/guang/plus-star/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[psDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[psDetail]', 'v', $cx, $in, array('psDetail')))) ? '<script>
seajs.use(\'js/guang/plus-star/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangHome]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangHome]', 'v', $cx, $in, array('guangHome')))) ? '<script>
seajs.use(\'js/guang/home\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangList]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangList]', 'v', $cx, $in, array('guangList')))) ? '<script>
seajs.use(\'js/guang/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangDetail]', 'v', $cx, $in, array('guangDetail')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(true);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[guangEzine]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangEzine]', 'v', $cx, $in, array('guangEzine')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(false);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[regIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[regIndex]', 'v', $cx, $in, array('regIndex')))) ? '<script>
seajs.use(\'js/passport/register/register\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[regCode]', 'v', $cx, $in, array('regCode')))) ? '<script>
seajs.use(\'js/passport/register/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[regPwd]', 'v', $cx, $in, array('regPwd')))) ? '<script>
seajs.use(\'js/passport/register/password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginIndex]', 'v', $cx, $in, array('loginIndex')))) ? '<script>
seajs.use(\'js/passport/login/login\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginInternational]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginInternational]', 'v', $cx, $in, array('loginInternational')))) ? '<script>
seajs.use(\'js/passport/login/international\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmail]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmail]', 'v', $cx, $in, array('backEmail')))) ? '<script>
seajs.use(\'js/passport/back/email\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmailSuccess]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmailSuccess]', 'v', $cx, $in, array('backEmailSuccess')))) ? '<script>
seajs.use(\'js/passport/back/email-success\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backMobile]', 'ifvar', $cx, Plugin\LCRun3::debug('[backMobile]', 'v', $cx, $in, array('backMobile')))) ? '<script>
seajs.use(\'js/passport/back/mobile\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[backCode]', 'v', $cx, $in, array('backCode')))) ? '<script>
seajs.use(\'js/passport/back/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backNewPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[backNewPwd]', 'v', $cx, $in, array('backNewPwd')))) ? '<script>
seajs.use(\'js/passport/back/new-password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[channelPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[channelPage]', 'v', $cx, $in, array('channelPage')))) ? '<script>
seajs.use(\'js/index/channel\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[grilsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[grilsHomePage]', 'v', $cx, $in, array('grilsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'girls\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[boysHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'boys\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[kidsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[kidsHomePage]', 'v', $cx, $in, array('kidsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'kids\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[lifestyleHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifestyleHomePage]', 'v', $cx, $in, array('lifestyleHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'lifestyle\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[newArrivalPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[newArrivalPage]', 'v', $cx, $in, array('newArrivalPage')))) ? '<script>
seajs.use(\'js/product/newsale/newarrival\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[discountPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[discountPage]', 'v', $cx, $in, array('discountPage')))) ? '<script>
seajs.use(\'js/product/newsale/discount\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[hotrankPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')))) ? '<script>
seajs.use(\'js/product/newsale/hot-rank\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodListPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodListPage]', 'v', $cx, $in, array('goodListPage')))) ? '<script>
seajs.use(\'js/product/list\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsDetailPage]', 'v', $cx, $in, array('goodsDetailPage')))) ? '<script>
seajs.use(\'js/product/detail/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsCommentsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsCommentsPage]', 'v', $cx, $in, array('goodsCommentsPage')))) ? '<script>
seajs.use(\'js/product/detail/loadmore\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsConsultsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsConsultsPage]', 'v', $cx, $in, array('goodsConsultsPage')))) ? '<script>
seajs.use(\'js/product/detail/comments-consults\');
</script>
' : '').''.((Plugin\LCRun3::debug('[consultformPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[consultformPage]', 'v', $cx, $in, array('consultformPage')))) ? '<script>
seajs.use(\'js/product/detail/consultform\');
</script>
' : '').''.((Plugin\LCRun3::debug('[categoryPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[categoryPage]', 'v', $cx, $in, array('categoryPage')))) ? '<script>
seajs.use(\'js/category/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[brandPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')))) ? '<script>
seajs.use(\'js/category/brand\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[searchPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[searchPage]', 'v', $cx, $in, array('searchPage')))) ? '<script>
seajs.use(\'js/index/search\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[shoppingCartPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[shoppingCartPage]', 'v', $cx, $in, array('shoppingCartPage')))) ? '<script>
seajs.use(\'js/shopping-cart/cart\');
</script>
' : '').''.((Plugin\LCRun3::debug('[giftAdvancePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[giftAdvancePage]', 'v', $cx, $in, array('giftAdvancePage')))) ? '<script>
seajs.use(\'js/shopping-cart/gift-advance\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderEnsurePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')))) ? '<script>
seajs.use(\'js/shopping-cart/order-ensure\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myIndexPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myIndexPage]', 'v', $cx, $in, array('myIndexPage')))) ? '<script>
seajs.use(\'js/me/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderPage]', 'v', $cx, $in, array('orderPage')))) ? '<script>
seajs.use(\'js/me/order\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderDetailPage]', 'v', $cx, $in, array('orderDetailPage')))) ? '<script>
seajs.use(\'js/me/order-detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[favPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[favPage]', 'v', $cx, $in, array('favPage')))) ? '<script>
seajs.use(\'js/me/fav\');
</script>
' : '').''.((Plugin\LCRun3::debug('[suggestPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[suggestPage]', 'v', $cx, $in, array('suggestPage')))) ? '<script>
seajs.use(\'js/me/suggest\');
</script>
' : '').''.((Plugin\LCRun3::debug('[couponsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[couponsPage]', 'v', $cx, $in, array('couponsPage')))) ? '<script>
seajs.use(\'js/me/coupons\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServicePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServicePage]', 'v', $cx, $in, array('onlineServicePage')))) ? '<script>
seajs.use(\'js/me/online-service\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'v', $cx, $in, array('onlineServiceDetailPage')))) ? '<script>
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressPage]', 'v', $cx, $in, array('addressPage')))) ? '<script>
seajs.use(\'js/me/address\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressActionPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressActionPage]', 'v', $cx, $in, array('addressActionPage')))) ? '<script>
seajs.use(\'js/me/address-act\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myGuangPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myGuangPage]', 'v', $cx, $in, array('myGuangPage')))) ? '<script>
seajs.use(\'js/me/my-guang\');
</script>
' : '').''.((Plugin\LCRun3::debug('[personalDetailsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[personalDetailsPage]', 'v', $cx, $in, array('personalDetailsPage')))) ? '<script>
seajs.use(\'js/me/personal-details\');
</script>
' : '').''.((Plugin\LCRun3::debug('[browseRecordPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[browseRecordPage]', 'v', $cx, $in, array('browseRecordPage')))) ? '<script>
seajs.use(\'js/me/browse-record\');
</script>
' : '').''.((Plugin\LCRun3::debug('[logisticInfoPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[logisticInfoPage]', 'v', $cx, $in, array('logisticInfoPage')))) ? '<script>
seajs.use(\'js/me/logistic\');
</script>
' : '').''.((Plugin\LCRun3::debug('[payCenterPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[payCenterPage]', 'v', $cx, $in, array('payCenterPage')))) ? '<script>
seajs.use(\'js/me/pay\');
</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
<?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>'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</title>
<meta name="keywords" content="'.Plugin\LCRun3::debug('[keywords]', 'encq', $cx, Plugin\LCRun3::debug('[keywords]', 'v', $cx, $in, array('keywords'))).'">
<meta name="description" content="'.Plugin\LCRun3::debug('[description]', 'encq', $cx, Plugin\LCRun3::debug('[description]', 'v', $cx, $in, array('description'))).'">
<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>
<link rel="dns-prefetch" href="//cdn.yoho.cn">
<link rel="dns-prefetch" href="//static.yohobuy.com">
<link rel="dns-prefetch" href="//img12.static.yhbimg.com">
<link rel="dns-prefetch" href="//img13.static.yhbimg.com">
'.((Plugin\LCRun3::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.css">
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', 'v', $cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">
' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png">
<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)">
<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
</head>
<body '.((Plugin\LCRun3::debug('[isPassportPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[isPassportPage]', 'v', $cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>
'.((Plugin\LCRun3::debug('[systemUpdate]', 'ifvar', $cx, Plugin\LCRun3::debug('[systemUpdate]', 'v', $cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate">
<a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a>
<span>X</span>
</div>
' : '').' '.''.Plugin\LCRun3::debug('[pageHeader]', 'sec', $cx, Plugin\LCRun3::debug('[pageHeader]', 'v', $cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-header" class="yoho-header'.((Plugin\LCRun3::debug('[boys]', 'ifvar', $cx, Plugin\LCRun3::debug('[boys]', 'v', $cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::debug('[girls]', 'ifvar', $cx, Plugin\LCRun3::debug('[girls]', 'v', $cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::debug('[kids]', 'ifvar', $cx, Plugin\LCRun3::debug('[kids]', 'v', $cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::debug('[lifeStyle]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifeStyle]', 'v', $cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">
'.Plugin\LCRun3::debug('[navBack]', 'sec', $cx, Plugin\LCRun3::debug('[navBack]', 'v', $cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::debug('[backUrl]', 'ifvar', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl')))) ? ''.Plugin\LCRun3::debug('[backUrl]', 'encq', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl'))).'' : 'javascript:history.go(-1);').'" class="iconfont nav-back">&#xe610;</a>
';}).''.Plugin\LCRun3::debug('[navHome]', 'sec', $cx, Plugin\LCRun3::debug('[navHome]', 'v', $cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'" class="iconfont nav-home">&#xe611;</a>
';}).''.Plugin\LCRun3::debug('[navTitle]', 'sec', $cx, Plugin\LCRun3::debug('[navTitle]', 'v', $cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
';}).''.Plugin\LCRun3::debug('[navBtn]', 'sec', $cx, Plugin\LCRun3::debug('[navBtn]', 'v', $cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <span class="nav-btn">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span>
';}).'</header>
';}).''.''.'<div class="login-page passport-page yoho-page">
'.' <div class="header">
'.Plugin\LCRun3::debug('[backUrl]', 'sec', $cx, Plugin\LCRun3::debug('[backUrl]', 'v', $cx, $in, array('backUrl')), $in, false, function($cx, $in) {return ' <a class="go-back" href="javascript:history.go(-1);"></a>
';}).''.Plugin\LCRun3::debug('[showHeaderImg]', 'sec', $cx, Plugin\LCRun3::debug('[showHeaderImg]', 'v', $cx, $in, array('showHeaderImg')), $in, false, function($cx, $in) {return ' <div class="img-header"></div>
';}).''.Plugin\LCRun3::debug('[headerText]', 'sec', $cx, Plugin\LCRun3::debug('[headerText]', 'v', $cx, $in, array('headerText')), $in, false, function($cx, $in) {return ' <p class="title">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
';}).' </div>'.' <div class="content">
<div class="acc-container input-container row has-clear">
<div class="yoho-logo"></div>
<input id="account" class="input account" type="text" placeholder="手机号/邮箱" autocomplete="off" value='.Plugin\LCRun3::debug('[account]', 'encq', $cx, Plugin\LCRun3::debug('[account]', 'v', $cx, $in, array('account'))).'>
</div>
<div class="input-container row has-eye">
<input id="pwd" class="pwd input" type="password" placeholder="密码">
</div>
<span id="btn-login" class="btn btn-login disable">登录</span>
<p class="op-container">
<a class="go-register" href='.Plugin\LCRun3::debug('[registerUrl]', 'encq', $cx, Plugin\LCRun3::debug('[registerUrl]', 'v', $cx, $in, array('registerUrl'))).'>免费注册</a>
<span id="forget-pwd" class="forget-pwd">忘记密码</span>
</p>
<div class="third-party-login">
<span>其他登录方式</span>
<div class="tp-link">
<a class="alipay" href='.Plugin\LCRun3::debug('[aliLoginUrl]', 'encq', $cx, Plugin\LCRun3::debug('[aliLoginUrl]', 'v', $cx, $in, array('aliLoginUrl'))).'></a>
<a class="weibo" href='.Plugin\LCRun3::debug('[weiboLoginUrl]', 'encq', $cx, Plugin\LCRun3::debug('[weiboLoginUrl]', 'v', $cx, $in, array('weiboLoginUrl'))).'></a>
<a class="qq" href='.Plugin\LCRun3::debug('[qqLoginUrl]', 'encq', $cx, Plugin\LCRun3::debug('[qqLoginUrl]', 'v', $cx, $in, array('qqLoginUrl'))).'></a>
</div>
</div>
<a class="international" href='.Plugin\LCRun3::debug('[internationalUrl]', 'encq', $cx, Plugin\LCRun3::debug('[internationalUrl]', 'v', $cx, $in, array('internationalUrl'))).'>International Customer</a>
<div class="login-tip">
<div class="info-icon"></div>
Yoho!Family账号可登录Yoho!Buy有货
</div>
<div id="retrive-pwd-mask" class="mask"></div>
<ul id="retrive-pwd-ways" class="retrive-pwd-ways">
<li>
<a href='.Plugin\LCRun3::debug('[phoneRetriveUrl]', 'encq', $cx, Plugin\LCRun3::debug('[phoneRetriveUrl]', 'v', $cx, $in, array('phoneRetriveUrl'))).'>通过手机找回密码</a>
</li>
<li>
<a href='.Plugin\LCRun3::debug('[emailRetriveUrl]', 'encq', $cx, Plugin\LCRun3::debug('[emailRetriveUrl]', 'v', $cx, $in, array('emailRetriveUrl'))).'>通过邮箱找回密码</a>
</li>
<li id="cancel-retrive">
取消
</li>
</ul>
</div>
</div>
'.''.''.Plugin\LCRun3::debug('[pageFooter]', 'sec', $cx, Plugin\LCRun3::debug('[pageFooter]', '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">&#xe608;</i>
</span>
</p>
<address class="copyright">
CopyRight©2007-2016 南京新与力文化传播有限公司
</address>
</footer>
';}).'
'.''.''.Plugin\LCRun3::debug('[showDownloadApp]', 'sec', $cx, Plugin\LCRun3::debug('[showDownloadApp]', '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">&#xe60d;</span>
<p>新用户送千元礼包</p>
</div>
<a href="javascript:void(0);" id="float-layer-close" >
<i class="close-icon iconfont">&#xe623;</i>
<div class="circle-rightbottom"></div>
</a>
<a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">
立即下载
</a>
</div>
';}).'
'.''.((Plugin\LCRun3::debug('[hasWxShare]', 'ifvar', $cx, Plugin\LCRun3::debug('[hasWxShare]', '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::debug('[rlsEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[rlsEnv]', 'v', $cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[preEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[preEnv]', 'v', $cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://cdn.yoho.cn/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index.js"></script>
' : '').''.((Plugin\LCRun3::debug('[testEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[testEnv]', 'v', $cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/lib.js"></script>
<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.Plugin\LCRun3::debug('[version]', 'encq', $cx, Plugin\LCRun3::debug('[version]', 'v', $cx, $in, array('version'))).'/index-debug.js"></script>
' : '').''.((Plugin\LCRun3::debug('[devEnv]', 'ifvar', $cx, Plugin\LCRun3::debug('[devEnv]', '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/'.Plugin\LCRun3::debug('[yas_version]', 'encq', $cx, Plugin\LCRun3::debug('[yas_version]', 'v', $cx, $in, array('yas_version'))).'/yas.js\',\'_yas\');
</script>
'.'<script>
seajs.use(\'js/common\');
</script>
'.((Plugin\LCRun3::debug('[psList]', 'ifvar', $cx, Plugin\LCRun3::debug('[psList]', 'v', $cx, $in, array('psList')))) ? '<script>
seajs.use(\'js/guang/plus-star/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[psDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[psDetail]', 'v', $cx, $in, array('psDetail')))) ? '<script>
seajs.use(\'js/guang/plus-star/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangHome]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangHome]', 'v', $cx, $in, array('guangHome')))) ? '<script>
seajs.use(\'js/guang/home\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangList]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangList]', 'v', $cx, $in, array('guangList')))) ? '<script>
seajs.use(\'js/guang/list\');
</script>
' : '').''.((Plugin\LCRun3::debug('[guangDetail]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangDetail]', 'v', $cx, $in, array('guangDetail')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(true);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[guangEzine]', 'ifvar', $cx, Plugin\LCRun3::debug('[guangEzine]', 'v', $cx, $in, array('guangEzine')))) ? '<script>
seajs.use(\'js/guang/detail\', function(d) {
d.i(false);
});
</script>
' : '').''.((Plugin\LCRun3::debug('[regIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[regIndex]', 'v', $cx, $in, array('regIndex')))) ? '<script>
seajs.use(\'js/passport/register/register\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[regCode]', 'v', $cx, $in, array('regCode')))) ? '<script>
seajs.use(\'js/passport/register/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[regPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[regPwd]', 'v', $cx, $in, array('regPwd')))) ? '<script>
seajs.use(\'js/passport/register/password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginIndex]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginIndex]', 'v', $cx, $in, array('loginIndex')))) ? '<script>
seajs.use(\'js/passport/login/login\');
</script>
' : '').''.((Plugin\LCRun3::debug('[loginInternational]', 'ifvar', $cx, Plugin\LCRun3::debug('[loginInternational]', 'v', $cx, $in, array('loginInternational')))) ? '<script>
seajs.use(\'js/passport/login/international\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmail]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmail]', 'v', $cx, $in, array('backEmail')))) ? '<script>
seajs.use(\'js/passport/back/email\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backEmailSuccess]', 'ifvar', $cx, Plugin\LCRun3::debug('[backEmailSuccess]', 'v', $cx, $in, array('backEmailSuccess')))) ? '<script>
seajs.use(\'js/passport/back/email-success\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backMobile]', 'ifvar', $cx, Plugin\LCRun3::debug('[backMobile]', 'v', $cx, $in, array('backMobile')))) ? '<script>
seajs.use(\'js/passport/back/mobile\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backCode]', 'ifvar', $cx, Plugin\LCRun3::debug('[backCode]', 'v', $cx, $in, array('backCode')))) ? '<script>
seajs.use(\'js/passport/back/code\');
</script>
' : '').''.((Plugin\LCRun3::debug('[backNewPwd]', 'ifvar', $cx, Plugin\LCRun3::debug('[backNewPwd]', 'v', $cx, $in, array('backNewPwd')))) ? '<script>
seajs.use(\'js/passport/back/new-password\');
</script>
' : '').''.((Plugin\LCRun3::debug('[channelPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[channelPage]', 'v', $cx, $in, array('channelPage')))) ? '<script>
seajs.use(\'js/index/channel\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[grilsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[grilsHomePage]', 'v', $cx, $in, array('grilsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'girls\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[boysHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[boysHomePage]', 'v', $cx, $in, array('boysHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'boys\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[kidsHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[kidsHomePage]', 'v', $cx, $in, array('kidsHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'kids\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[lifestyleHomePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[lifestyleHomePage]', 'v', $cx, $in, array('lifestyleHomePage')))) ? '<script>
seajs.use(\'js/home/home\', function(h) {
h.set(\'lifestyle\');
});
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[newArrivalPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[newArrivalPage]', 'v', $cx, $in, array('newArrivalPage')))) ? '<script>
seajs.use(\'js/product/newsale/newarrival\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[discountPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[discountPage]', 'v', $cx, $in, array('discountPage')))) ? '<script>
seajs.use(\'js/product/newsale/discount\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[hotrankPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[hotrankPage]', 'v', $cx, $in, array('hotrankPage')))) ? '<script>
seajs.use(\'js/product/newsale/hot-rank\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodListPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodListPage]', 'v', $cx, $in, array('goodListPage')))) ? '<script>
seajs.use(\'js/product/list\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsDetailPage]', 'v', $cx, $in, array('goodsDetailPage')))) ? '<script>
seajs.use(\'js/product/detail/detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsCommentsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsCommentsPage]', 'v', $cx, $in, array('goodsCommentsPage')))) ? '<script>
seajs.use(\'js/product/detail/loadmore\');
</script>
' : '').''.((Plugin\LCRun3::debug('[goodsConsultsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[goodsConsultsPage]', 'v', $cx, $in, array('goodsConsultsPage')))) ? '<script>
seajs.use(\'js/product/detail/comments-consults\');
</script>
' : '').''.((Plugin\LCRun3::debug('[consultformPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[consultformPage]', 'v', $cx, $in, array('consultformPage')))) ? '<script>
seajs.use(\'js/product/detail/consultform\');
</script>
' : '').''.((Plugin\LCRun3::debug('[categoryPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[categoryPage]', 'v', $cx, $in, array('categoryPage')))) ? '<script>
seajs.use(\'js/category/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[brandPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[brandPage]', 'v', $cx, $in, array('brandPage')))) ? '<script>
seajs.use(\'js/category/brand\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[searchPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[searchPage]', 'v', $cx, $in, array('searchPage')))) ? '<script>
seajs.use(\'js/index/search\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[shoppingCartPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[shoppingCartPage]', 'v', $cx, $in, array('shoppingCartPage')))) ? '<script>
seajs.use(\'js/shopping-cart/cart\');
</script>
' : '').''.((Plugin\LCRun3::debug('[giftAdvancePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[giftAdvancePage]', 'v', $cx, $in, array('giftAdvancePage')))) ? '<script>
seajs.use(\'js/shopping-cart/gift-advance\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderEnsurePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderEnsurePage]', 'v', $cx, $in, array('orderEnsurePage')))) ? '<script>
seajs.use(\'js/shopping-cart/order-ensure\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myIndexPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myIndexPage]', 'v', $cx, $in, array('myIndexPage')))) ? '<script>
seajs.use(\'js/me/index\');
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderPage]', 'v', $cx, $in, array('orderPage')))) ? '<script>
seajs.use(\'js/me/order\');
</script>
' : '').''.((Plugin\LCRun3::debug('[orderDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[orderDetailPage]', 'v', $cx, $in, array('orderDetailPage')))) ? '<script>
seajs.use(\'js/me/order-detail\');
</script>
' : '').''.((Plugin\LCRun3::debug('[favPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[favPage]', 'v', $cx, $in, array('favPage')))) ? '<script>
seajs.use(\'js/me/fav\');
</script>
' : '').''.((Plugin\LCRun3::debug('[suggestPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[suggestPage]', 'v', $cx, $in, array('suggestPage')))) ? '<script>
seajs.use(\'js/me/suggest\');
</script>
' : '').''.((Plugin\LCRun3::debug('[couponsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[couponsPage]', 'v', $cx, $in, array('couponsPage')))) ? '<script>
seajs.use(\'js/me/coupons\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServicePage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServicePage]', 'v', $cx, $in, array('onlineServicePage')))) ? '<script>
seajs.use(\'js/me/online-service\');
</script>
' : '').''.((Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[onlineServiceDetailPage]', 'v', $cx, $in, array('onlineServiceDetailPage')))) ? '<script>
seajs.use(\'js/index/footer\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressPage]', 'v', $cx, $in, array('addressPage')))) ? '<script>
seajs.use(\'js/me/address\');
</script>
' : '').''.((Plugin\LCRun3::debug('[addressActionPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[addressActionPage]', 'v', $cx, $in, array('addressActionPage')))) ? '<script>
seajs.use(\'js/me/address-act\');
</script>
' : '').''.((Plugin\LCRun3::debug('[myGuangPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[myGuangPage]', 'v', $cx, $in, array('myGuangPage')))) ? '<script>
seajs.use(\'js/me/my-guang\');
</script>
' : '').''.((Plugin\LCRun3::debug('[personalDetailsPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[personalDetailsPage]', 'v', $cx, $in, array('personalDetailsPage')))) ? '<script>
seajs.use(\'js/me/personal-details\');
</script>
' : '').''.((Plugin\LCRun3::debug('[browseRecordPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[browseRecordPage]', 'v', $cx, $in, array('browseRecordPage')))) ? '<script>
seajs.use(\'js/me/browse-record\');
</script>
' : '').''.((Plugin\LCRun3::debug('[logisticInfoPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[logisticInfoPage]', 'v', $cx, $in, array('logisticInfoPage')))) ? '<script>
seajs.use(\'js/me/logistic\');
</script>
' : '').''.((Plugin\LCRun3::debug('[payCenterPage]', 'ifvar', $cx, Plugin\LCRun3::debug('[payCenterPage]', 'v', $cx, $in, array('payCenterPage')))) ? '<script>
seajs.use(\'js/me/pay\');
</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
... ... @@ -299,7 +299,7 @@ class AbstractAction extends Controller_Abstract
if (!$this->_useSession) {
$useSession = false;
}
$useSession = false;
//$useSession = false;
if (!$this->_uid) {
$cookie = $this->getCookie('_UID');
... ...
... ... @@ -17,186 +17,186 @@ use Api\Yohobuy;
class CartData
{
/**
* 加入购物车接口
*
* @param int $productSku 商品SKU
* @param int $buyNumber 购买数量
* @param int $goodsType 商品类型,0表示普通商品,1表示加价购商品
* @param int $isEdit 是否是编辑商品SKU,0表示不是编辑
* @param null|int $promotionId 促销id,默认null(加价购有关)
* @param null|int $uid 用户UID,可以不传
/**
* 加入购物车接口
*
* @param int $productSku 商品SKU
* @param int $buyNumber 购买数量
* @param int $goodsType 商品类型,0表示普通商品,1表示加价购商品
* @param int $isEdit 是否是编辑商品SKU,0表示不是编辑
* @param null|int $promotionId 促销id,默认null(加价购有关)
* @param null|int $uid 用户UID,可以不传
* @param string $shoppingKey 未登录用户唯一识别码,可以不传
* @return array 加入购物车接口返回的数据
*/
public static function addToCart($productSku, $buyNumber, $goodsType, $isEdit = 0, $promotionId = null, $uid = null, $shoppingKey = null)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.add';
$param['product_sku'] = $productSku;
$param['buy_number'] = $buyNumber;
$param['goods_type'] = $goodsType;
$param['edit_product_sku'] = $isEdit;
$param['selected'] = 'Y';
$param['promotion_id'] = $promotionId;
if ($uid !== null) {
$param['uid'] = $uid;
}
if ($shoppingKey !== null) {
$param['shoppingKey'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车商品选择与取消接口
*
* @param int $uid 用户ID
* @param string $sku 商品sku列表
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 购物车接口返回的数据
*/
public static function selectGoods($uid, $sku, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.selected';
$param['product_sku_list'] = $sku;
if (!empty($uid)) {
$param['uid'] = $uid;
}
if (!empty($shoppingKey)) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车数据
*
* @param int $uid 用户ID
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 购物车接口返回的数据
*/
public static function cartData($uid, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.cart';
if (!empty($uid)) {
$param['uid'] = $uid;
}
if (!empty($shoppingKey)) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 移出购物车
*
* @param int $uid 用户ID
* @param string $sku 商品sku列表
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 接口返回的数据
*/
public static function removeFromCart($uid, $sku, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.remove';
$param['product_sku_list'] = $sku;
if (!empty($uid)) {
$param['uid'] = $uid;
}
if (!empty($shoppingKey)) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 移入收藏夹
*
* @param int $uid 用户ID
* @param string $sku 商品sku列表
* @return array 接口返回的数据
*/
public static function addToFav($uid, $sku)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.addfavorite';
$param['product_sku_list'] = $sku;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 获取购物车商品数据
*
* @param int $uid 用户ID
* @param int $skn 商品skn
* @return array 接口返回的数据
*/
public static function cartProductData($uid, $skn)
{
$param = Yohobuy::param();
$param['method'] = 'app.product.data';
$param['product_skn'] = $skn;
$param['showcomment'] = 'N';
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 获取加价购商品数据
*
* @param int $skn 商品skn
* @param int $promotionId 加价购商品促销ID
* @return array 接口返回的数据
*/
public static function giftProductData($skn, $promotionId)
{
$param = Yohobuy::param();
$param['method'] = 'app.product.gift';
$param['product_skn'] = $skn;
$param['promotion_id'] = $promotionId;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 增减购物车商品数量
*
* @param int $uid 用户ID
* @param string $sku 商品SKU
* @param int $increaseNum 增加的数目
* @param int $decreaseNum 减少的数目
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 接口返回的数据
*/
public static function modifyProductNum($uid, $sku, $increaseNum, $decreaseNum, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.increase';
$param['product_sku'] = $sku;
* @return array 加入购物车接口返回的数据
*/
public static function addToCart($productSku, $buyNumber, $goodsType, $isEdit = 0, $promotionId = null, $uid = null, $shoppingKey = null)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.add';
$param['product_sku'] = $productSku;
$param['buy_number'] = $buyNumber;
$param['goods_type'] = $goodsType;
$param['edit_product_sku'] = $isEdit;
$param['selected'] = 'Y';
$param['promotion_id'] = $promotionId;
if ($uid !== null) {
$param['uid'] = $uid;
}
if ($shoppingKey !== null) {
$param['shoppingKey'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车商品选择与取消接口
*
* @param int $uid 用户ID
* @param string $sku 商品sku列表
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 购物车接口返回的数据
*/
public static function selectGoods($uid, $sku, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.selected';
$param['product_sku_list'] = $sku;
if (!empty($uid)) {
$param['uid'] = $uid;
}
if (!empty($shoppingKey)) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车数据
*
* @param int $uid 用户ID
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 购物车接口返回的数据
*/
public static function cartData($uid, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.cart';
if (!empty($uid)) {
$param['uid'] = $uid;
}
if (!empty($shoppingKey)) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 移出购物车
*
* @param int $uid 用户ID
* @param string $sku 商品sku列表
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 接口返回的数据
*/
public static function removeFromCart($uid, $sku, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.remove';
$param['product_sku_list'] = $sku;
if (!empty($uid)) {
$param['uid'] = $uid;
}
if (!empty($shoppingKey)) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 移入收藏夹
*
* @param int $uid 用户ID
* @param string $sku 商品sku列表
* @return array 接口返回的数据
*/
public static function addToFav($uid, $sku)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.addfavorite';
$param['product_sku_list'] = $sku;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 获取购物车商品数据
*
* @param int $uid 用户ID
* @param int $skn 商品skn
* @return array 接口返回的数据
*/
public static function cartProductData($uid, $skn)
{
$param = Yohobuy::param();
$param['method'] = 'app.product.data';
$param['product_skn'] = $skn;
$param['showcomment'] = 'N';
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 获取加价购商品数据
*
* @param int $skn 商品skn
* @param int $promotionId 加价购商品促销ID
* @return array 接口返回的数据
*/
public static function giftProductData($skn, $promotionId)
{
$param = Yohobuy::param();
$param['method'] = 'app.product.gift';
$param['product_skn'] = $skn;
$param['promotion_id'] = $promotionId;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 增减购物车商品数量
*
* @param int $uid 用户ID
* @param string $sku 商品SKU
* @param int $increaseNum 增加的数目
* @param int $decreaseNum 减少的数目
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 接口返回的数据
*/
public static function modifyProductNum($uid, $sku, $increaseNum, $decreaseNum, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.increase';
$param['product_sku'] = $sku;
if (!empty($increaseNum)) {
$param['increase_number'] = $increaseNum;
... ... @@ -205,175 +205,199 @@ class CartData
$param['decrease_number'] = $decreaseNum;
}
if (!empty($uid)) {
$param['uid'] = $uid;
}
if ($shoppingKey !== null) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 修改购物车商品数据
*
* @param int $uid 用户ID
* @param string $swapData 商品数据
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 接口返回的数据
*/
public static function modifyCartProduct($uid, $swapData, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.swap';
$param['swap_data'] = $swapData;
if (!empty($uid)) {
$param['uid'] = $uid;
}
if ($shoppingKey !== null) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算
*
* @param int $uid 用户ID
* @param string $cartType 购物车类型,ordinary表示普通购物车
* @return array 接口返回的数据
*/
public static function cartPay($uid, $cartType)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.payment';
$param['cart_type'] = $cartType;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--支付方式和配送方式选择
*
* @param int $uid 用户ID
* @param string $cartType 购物车类型,ordinary表示普通购物车
* @param int $deliveryWay 配送方式,1表示普通快递,2表示顺丰速运
* @param int $paymentType 支付方式,1表示在线支付,2表示货到付款
* @param string $couponCode 优惠券码
* @param mixed $yohoCoin 使用的YOHO币数量
* @return array 接口返回的数据
*/
public static function orderCompute($uid, $cartType, $deliveryWay, $paymentType, $couponCode, $yohoCoin)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.compute';
$param['cart_type'] = $cartType;
$param['delivery_way'] = $deliveryWay;
$param['payment_type'] = $paymentType;
if (!empty($couponCode)) {
$param['coupon_code'] = $couponCode;
}
if (!empty($yohoCoin)) {
$param['use_yoho_coin'] = $yohoCoin;
}
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--使用优惠券
*
* @param int $uid 用户ID
* @param string $couponCode 优惠券代码
* @return array 接口返回的数据
*/
public static function searchCoupon($uid, $couponCode)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.useCoupon';
$param['coupon_code'] = $couponCode;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--获取优惠券列表
*
* @param int $uid 用户ID
* @return array 接口返回的数据
*/
public static function getCouponList($uid)
{
$param = Yohobuy::param();
$param['method'] = 'app.coupons.lists';
$param['type'] = 'notuse';
$param['page'] = 1;
$param['limit'] = 1000;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--提交结算信息
*
* @param int $uid 用户ID
* @param int $addressId 地址ID
* @param int $cartType 购物车类型ID
* @param int $deliveryTime 寄送时间ID
* @param int $deliveryWay 寄送方式ID
* @param string $invoiceTitle 发票说明
* @param int $invoiceId 发票类型ID
* @param int $paymentId 支付方式ID
* @param int $paymentType 支付类型ID
* @param string $remark 留言
* @param string $couponCode 优惠券码
* @param mixed $yohoCoin 使用的YOHO币数量或为空
* @return array 接口返回的数据
*/
public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceTitle, $invoiceId, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.submit';
$param['address_id'] = $addressId;
$param['cart_type'] = $cartType;
$param['delivery_time'] = $deliveryTime;
$param['delivery_way'] = $deliveryWay;
if (!empty($invoiceTitle)) {
$param['invoices_title'] = $invoiceTitle;
}
if (!empty($invoiceId)) {
$param['invoices_type_id'] = $invoiceId;
}
$param['payment_id'] = $paymentId;
$param['payment_type'] = $paymentType;
$param['remark'] = $remark;
if (!empty($couponCode)) {
$param['coupon_code'] = $couponCode;
}
if (!empty($yohoCoin)) {
$param['use_yoho_coin'] = $yohoCoin;
}
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
if (!empty($uid)) {
$param['uid'] = $uid;
}
if ($shoppingKey !== null) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 修改购物车商品数据
*
* @param int $uid 用户ID
* @param string $swapData 商品数据
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 接口返回的数据
*/
public static function modifyCartProduct($uid, $swapData, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.swap';
$param['swap_data'] = $swapData;
if (!empty($uid)) {
$param['uid'] = $uid;
}
if ($shoppingKey !== null) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算
*
* @param int $uid 用户ID
* @param string $cartType 购物车类型,ordinary表示普通购物车
* @return array 接口返回的数据
*/
public static function cartPay($uid, $cartType)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.payment';
$param['cart_type'] = $cartType;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--支付方式和配送方式选择
*
* @param int $uid 用户ID
* @param string $cartType 购物车类型,ordinary表示普通购物车
* @param int $deliveryWay 配送方式,1表示普通快递,2表示顺丰速运
* @param int $paymentType 支付方式,1表示在线支付,2表示货到付款
* @param string $couponCode 优惠券码
* @param mixed $yohoCoin 使用的YOHO币数量
* @return array 接口返回的数据
*/
public static function orderCompute($uid, $cartType, $deliveryWay, $paymentType, $couponCode, $yohoCoin)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.compute';
$param['cart_type'] = $cartType;
$param['delivery_way'] = $deliveryWay;
$param['payment_type'] = $paymentType;
if (!empty($couponCode)) {
$param['coupon_code'] = $couponCode;
}
if (!empty($yohoCoin)) {
$param['use_yoho_coin'] = $yohoCoin;
}
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--使用优惠券
*
* @param int $uid 用户ID
* @param string $couponCode 优惠券代码
* @return array 接口返回的数据
*/
public static function searchCoupon($uid, $couponCode)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.useCoupon';
$param['coupon_code'] = $couponCode;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--获取优惠券列表
*
* @param int $uid 用户ID
* @return array 接口返回的数据
*/
public static function getCouponList($uid)
{
$param = Yohobuy::param();
$param['method'] = 'app.coupons.lists';
$param['type'] = 'notuse';
$param['page'] = 1;
$param['limit'] = 1000;
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车结算--提交结算信息
*
* @param int $uid 用户ID
* @param int $addressId 地址ID
* @param int $cartType 购物车类型ID
* @param int $deliveryTime 寄送时间ID
* @param int $deliveryWay 寄送方式ID
* @param string $invoiceTitle 发票说明
* @param int $invoiceId 发票类型ID
* @param int $paymentId 支付方式ID
* @param int $paymentType 支付类型ID
* @param string $remark 留言
* @param string $couponCode 优惠券码
* @param mixed $yohoCoin 使用的YOHO币数量或为空
* @return array 接口返回的数据
*/
public static function orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoiceTitle, $invoiceId, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.submit';
$param['address_id'] = $addressId;
$param['cart_type'] = $cartType;
$param['delivery_time'] = $deliveryTime;
$param['delivery_way'] = $deliveryWay;
if (!empty($invoiceTitle)) {
$param['invoices_title'] = $invoiceTitle;
}
if (!empty($invoiceId)) {
$param['invoices_type_id'] = $invoiceId;
}
$param['payment_id'] = $paymentId;
$param['payment_type'] = $paymentType;
$param['remark'] = $remark;
if (!empty($couponCode)) {
$param['coupon_code'] = $couponCode;
}
if (!empty($yohoCoin)) {
$param['use_yoho_coin'] = $yohoCoin;
}
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
/**
* 购物车数量
*
* @param int $uid 用户ID
* @param string $shoppingKey 未登录用户唯一识别码
* @return array 购物车接口返回的数据
*/
public static function cartCount($uid, $shoppingKey)
{
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.count';
if (!empty($uid)) {
$param['uid'] = $uid;
}
if (!empty($shoppingKey)) {
$param['shopping_key'] = $shoppingKey;
}
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
}
}
... ...
... ... @@ -129,7 +129,7 @@ class Helpers
*/
public static function getShoppingKeyByCookie()
{
$cookie = isset($_COOKIE['_spk']) ? $_COOKIE['_spk'] : '';
$cookie = isset($_COOKIE['_Spk']) ? $_COOKIE['_Spk'] : '';
return $cookie;
}
... ...
... ... @@ -60,6 +60,10 @@ $('.advance-buy').on('touchend', function() {
window.location.href = '/cart/index/advanceBuy?cartType=' + cartType;
});
$('.freebie').on('touchend', function() {
window.location.href = '/cart/index/gift?cartType=' + cartType;
});
$('.btn-balance').on('touchend', function() {
if (hasChecked) {
window.location.href = '/cart/index/orderEnsure?cartType=' + cartType;
... ...
... ... @@ -310,7 +310,7 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
if (2 === $chosed.length && 0 === $chosed.closest('.zero-stock').length) {
productSku = $curSizeBlock.data('skuid');
promotionId = $('[data-id="' + productSku + '"]').closest('.advance-block').data('promotion-id');
promotionId = $('#promotionId').val();
if (confirming) {
return false;
}
... ...
... ... @@ -17,6 +17,7 @@ var dispatchModeHammer,
$invoice = $('.invoice'),
$price = $('.price-cal'),
$couponUse = $('.coupon-use.used'),
$addressWrap = $('.address-wrap'),
payType,
priceTmpl = Handlebars.compile($('#tmpl-price').html()),
queryString = $.queryString(),
... ... @@ -26,6 +27,7 @@ lazyLoad();
if (window.getUid() !== orderInfo('uid')) {
order.init();
window.location.reload();
}
if ($couponUse.data('name') !== orderInfo('couponName')) {
... ... @@ -183,12 +185,21 @@ function submitOrder() {
// 界面点击,状态存 cookie
if (!orderInfo('addressId')) {
orderInfo('addressId', $('.address-wrap').data('id'));
orderInfo('addressId', $addressWrap.data('id'));
}
$('.dispatch-mode').on('touchend', 'li', function() {
orderInfo('deliveryId', $(this).data('id'));
orderCompute();
$('.dispatch-mode').on('touchstart', 'li', function() {
var $defaultMode = $('.dispatch-mode [data-id="1"]');
if (!$addressWrap.data('support') && $(this).data('id') === 2) {
dispacthTapEvt({
target: $defaultMode
});
tip.show('当前地址不支持顺丰快递');
} else {
orderInfo('deliveryId', $(this).data('id'));
orderCompute();
}
});
$('.dispatch-time').on('touchend', 'li', function() {
... ...
... ... @@ -136,15 +136,18 @@
a {
float: right;
width: 100%;
}
}
.count {
color: #f00;
float: right;
}
.icon-right-arrow {
color: #8f8f8f;
float: right;
}
}
... ... @@ -199,8 +202,8 @@
}
p {
float: left;
margin-left: 50rem / $pxConvertRem;
float: right;
margin-right: 32rem / $pxConvertRem;
font-size: 26rem / $pxConvertRem;
span {
... ... @@ -208,11 +211,14 @@
height: 40rem / $pxConvertRem;
line-height: 40rem / $pxConvertRem;
color: #d0253b;
font-weight: bold;
}
.tip {
color: #666;
font-size: 22rem / $pxConvertRem;
text-align: right;
font-weight:normal;
}
}
... ...
{{> layout/header}}
<div class="order-ensure-page yoho-page">
{{# orderEnsure}}
<a class="address-wrap block" data-id="{{addressId}}" href="/cart/index/selectAddress">
<a class="address-wrap block" data-id="{{addressId}}" data-support="{{isSupport}}" href="/cart/index/selectAddress">
<p class="infos">
收货地址
<span class="per-info">{{name}} {{phoneNum}}</span>
... ... @@ -41,6 +41,7 @@
<section class="block">
<ul class="sale-invoice">
{{#if isOrdinaryCart}}
<li class="coupon">
<a href="/cart/index/selectCoupon">
<span class="title">优惠券</span>
... ... @@ -63,6 +64,7 @@
{{/coupon}}
</a>
</li>
{{/if}}
<li class="coin" data-yoho-coin="{{yohoCoin}}">
<span class="title">YOHO币</span>
... ...
... ... @@ -15,7 +15,7 @@
<li class="freebie">
<span class="iconfont">&#xe620;</span>
赠品
<a href="/cart/index/gift">
<a href=":;">
<span class="count">{{count}}</span>
<span class="iconfont icon-right-arrow">&#xe614;</span>
</a>
... ... @@ -25,7 +25,7 @@
<li class="advance-buy">
<span class="iconfont">&#xe61b;</span>
加价购
<a href="">
<a href=":;">
<span class="count">{{advanceBuyCount}}</span>
<span class="iconfont icon-right-arrow">&#xe614;</span>
</a>
... ...
... ... @@ -67,4 +67,5 @@
</div>
</div>
</div>
{{/cartInfo}}
\ No newline at end of file
{{/cartInfo}}
<input id="promotionId" type="hidden" value="{{promotionId}}">
\ No newline at end of file
... ...
... ... @@ -123,20 +123,7 @@ class CartModel
*/
public static function getCartCount($uid, $shoppingKey)
{
$result = array(
'code' => 200,
'data' => array(
'cart_goods_count' => 0
)
);
$carData = self::getCartData($uid, $shoppingKey);
if (isset($carData['commonGoodsCount'])) {
$result['data']['cart_goods_count'] = $carData['commonGoodsCount'] + $carData['presellGoodsCount'];
}
return $result;
return CartData::cartCount($uid, $shoppingKey);
}
/**
... ... @@ -256,7 +243,6 @@ class CartModel
$product = CartData::giftProductData($skn, $promotionId);
if (isset($product['code']) && $product['code'] === 200) {
$result['code'] = 200;
$result['data'] = self::procGoodsDetail($product['data']);
}
... ...
... ... @@ -216,6 +216,7 @@ class IndexController extends AbstractAction
}
$this->_view->display('gift-info', array(
'promotionId' => $promotionId,
'cartInfo' => $result['data']
));
}
... ... @@ -286,6 +287,7 @@ class IndexController extends AbstractAction
$uid = $this->getUid(true);
$data = array(
'orderEnsurePage' => true,
'isOrdinaryCart' => ($cartType !== 'advance'),
'orderEnsure' => CartModel::cartPay($uid, $cartType, $cookieData)
);
... ...
... ... @@ -11,19 +11,22 @@ use Plugin\Helpers;
class BackController extends AbstractAction
{
/**
* 通过邮箱找回密码
*/
public function emailAction()
{
$this->setTitle('找回密码-通过邮箱');
$data = array(
'backUrl' => '/signin.html',
'backUrl' => Helpers::url('/signin.html'),
'headerText' => '找回密码',
'isPassportPage' => true,
'backEmail' => true
);
// 生成HTML (emailback.html)
$this->_view->html('emailback');
//$this->_view->html('emailback');
$this->_view->display('email', $data);
}
... ... @@ -33,30 +36,26 @@ class BackController extends AbstractAction
public function sendemailAction()
{
$result = array('code' => 400, 'message' => '邮箱格式不正确,请重新输入', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
$email = $this->post('email', '');
// 判断邮箱是否有效
if(!Helpers::verifyEmail($email))
{
if (!Helpers::verifyEmail($email)) {
break;
}
// 发送邮箱验证码
$result = BackData::sendCodeToEmail($email);
if($result['code'] === 200)
{
$result['data'] = '/passport/back/success?email='.$email;
if ($result['code'] === 200) {
$result['data'] = Helpers::url('/passport/back/resendemail', array(
'email' => $email,
));
}
}
while (false);
} while (false);
$this->echoJson($result);
}
... ... @@ -67,10 +66,8 @@ class BackController extends AbstractAction
public function resendemailAction()
{
$result = array('code' => 400, 'message' => '重发邮件失败');
do
{
if(!$this->isAjax())
{
do {
if (!$this->isAjax()) {
break;
}
... ... @@ -79,17 +76,17 @@ class BackController extends AbstractAction
// 发送邮箱验证码
$return = BackData::sendCodeToEmail($email);
if(!empty($return))
{
if (!empty($return)) {
$result = $return;
}
}
while(false);
} while (false);
$this->echoJson($result);
}
/**
* 邮箱找回密码-成功
*/
public function successAction()
{
$email = $this->get('email', '');
... ... @@ -97,18 +94,20 @@ class BackController extends AbstractAction
if (!Helpers::verifyEmail($email)) {
$this->error();
}
// 获取到邮箱域名
list($name, $domain) = explode('@', $email);
$domain_name = 'http://' . (($domain == 'gmail.com') ? 'mail.google.com' : 'mail.' . $domain);
$data = array(
'backUrl' => '/emailback.html',
'backUrl' => Helpers::url('/emailback.html'),
'headerText' => '找回密码',
'isPassportPage' => true,
'backEmailSuccess' => true,
'goEmail' => $domain_name,
'resendUrl' => '/passport/back/resendemail?email='.$email
'resendUrl' => Helpers::url('/passport/back/resendemail', array(
'email' => $email,
)),
);
$this->setTitle('找回密码-通过邮箱');
... ... @@ -122,32 +121,28 @@ class BackController extends AbstractAction
*/
public function passwordByEmailAction()
{
if($this->isAjax())
{
if ($this->isAjax()) {
$pwd = $this->post('password', '');
$code = $this->post('code', '');
$data = BackData::modifyPasswordByEmail($pwd, $code);
$result = array('code'=>200, 'data' => '/signin.html');
print_r($data);
if(strpos($data, 'history.back') !== false)
{
$result = array('code' => 200, 'data' => Helpers::url('/signin.html') );
if (strpos($data, 'history.back') !== false) {
$result['code'] = 400;
$result['message'] = '修改失败';
}
$this->echoJson($result);// 前端不需要判断结果
$this->echoJson($result); // 前端不需要判断结果
}
}
public function mobileAction()
{
$this->setTitle('找回密码-通过手机号');
$data = array(
'backUrl' => '/signin.html',
'backUrl' => Helpers::url('/signin.html'),
'headerText' => '找回密码',
'isPassportPage' => true,
'backMobile' => true,
... ... @@ -157,7 +152,7 @@ class BackController extends AbstractAction
// 生成HTML (phoneback.html)
// $this->_view->html('phoneback');
$this->_view->display('mobile', $data);
}
... ... @@ -167,35 +162,31 @@ class BackController extends AbstractAction
public function sendcodeAction()
{
$result = array('code' => 400, 'message' => '密码只能使用数字、字母和半角标点符号,请重新输入', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
$phoneNum = $this->post('phoneNum', '');
$areaCode = $this->post('areaCode', 86);
if(!Helpers::verifyMobile($phoneNum))
{
if (!Helpers::verifyMobile($phoneNum)) {
break;
}
// 发送手机验证码
$result = BackData::sendCodeToMobile($phoneNum, $areaCode);
if(empty($result))
{
if (empty($result)) {
break;
}
if($result['code'] === 200)
{
$result['data'] = '/passport/back/mobilecode?phoneNum='.$phoneNum.'&areaCode='.$areaCode;
}
}
while (false);
if ($result['code'] === 200) {
$result['data'] = Helpers::url('/passport/back/mobilecode', array(
'phoneNum' => $phoneNum,
'areaCode' => $areaCode,
));
}
} while (false);
$this->echoJson($result);
}
... ... @@ -207,10 +198,10 @@ class BackController extends AbstractAction
{
$phoneNum = $this->get('phoneNum', '');
$areaCode = $this->get('areaCode', 86);
$areaCode = '+'.$areaCode;
$areaCode = '+' . $areaCode;
$data = array(
'backUrl' => '/phoneback.html',
'backUrl' => Helpers::url('/phoneback.html'),
'headerText' => '找回密码',
'isPassportPage' => true,
'backCode' => true,
... ... @@ -229,23 +220,28 @@ class BackController extends AbstractAction
*/
public function verifycodeAction()
{
if($this->isAjax())
{
if ($this->isAjax()) {
$phoneNum = $this->post('phoneNum', '');
$code = $this->post('code', '');
$areaCode = $this->post('areaCode', 86);
// 校验手机验证码
$result = BackData::validateMobileCode($phoneNum, $code, $areaCode);
if($result['code'] === 200)
{
$result['data'] = '/passport/back/backcode?phoneNum='.$phoneNum.'&token='.$result['data']['token'].'&areaCode='.$areaCode;
if ($result['code'] === 200) {
$result['data'] = Helpers::url('/passport/back/backcode', array(
'phoneNum' => $phoneNum,
'token' => $result['data']['token'],
'areaCode' => $areaCode,
));
}
$this->echoJson($result);
}
}
/**
* 找回密码
*/
public function backcodeAction()
{
$phoneNum = $this->get('phoneNum', '');
... ... @@ -260,9 +256,9 @@ class BackController extends AbstractAction
if ((!$token || !Helpers::verifyMobile($phoneNum)) && !$code) {
$this->error();
}
$data = array(
'backUrl' => '/signin.html',
'backUrl' => Helpers::url('/signin.html'),
'headerText' => '找回密码',
'isPassportPage' => true,
'backNewPwd' => true,
... ... @@ -283,8 +279,7 @@ class BackController extends AbstractAction
*/
public function passwordByMobileAction()
{
if($this->isAjax())
{
if ($this->isAjax()) {
$phoneNum = $this->post('phoneNum', '');
$token = $this->post('token', '');
$newpwd = $this->post('password', '');
... ... @@ -292,12 +287,12 @@ class BackController extends AbstractAction
// 根据手机验证码修改密码
$result = BackData::modifyPasswordByMobile($phoneNum, $token, $newpwd, $areaCode);
if($result['code'] === 200)
{
$result['data'] = '/';
if ($result['code'] === 200) {
$result['data'] = Helpers::url('/signin.html');
}
$this->echoJson($result);
}
}
}
\ No newline at end of file
}
... ...
... ... @@ -17,8 +17,7 @@ class BindController extends AbstractAction
public function indexAction()
{
$refer = $this->get('refer');
if (!empty($refer))
{
if (!empty($refer)) {
$this->setCookie('refer', $refer);
}
... ... @@ -50,6 +49,7 @@ class BindController extends AbstractAction
public function codeAction()
{
$this->setTitle('验证手机');
$openId = $this->get('openId');
$sourceType = $this->get('sourceType');
$nickname = $this->get('nickname');
... ... @@ -101,16 +101,16 @@ class BindController extends AbstractAction
$this->_view->display('password', $data);
}
//绑定前手机号校验
/**
* 绑定前手机号校验
*/
public function bindCheckAction()
{
$data = array('code' => 400, 'message' => '', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
... ... @@ -121,73 +121,73 @@ class BindController extends AbstractAction
$nickname = $this->post('nickname');
if (!is_numeric($phoneNum) || !$openId || !$areaCode || !$sourceType)
{
if (!is_numeric($phoneNum) || !$openId || !$areaCode || !$sourceType) {
break;
}
$res = BindData::bindCheck($phoneNum, $openId, $sourceType);
if (!isset($res['code']))
{
if (!isset($res['code'])) {
break;
}
if ($res['code'] == 200)
{
$next = Helpers::url('/passport/bind/code', array('isReg' => $res['data']['is_register'], 'openId' => $openId, 'sourceType' => $sourceType, 'nickname' => $nickname, 'areaCode' => $areaCode, 'phoneNum' => $phoneNum));
if ($res['code'] == 200) {
$next = Helpers::url('/passport/bind/code', array(
'isReg' => $res['data']['is_register'],
'openId' => $openId,
'sourceType' => $sourceType,
'areaCode' => $areaCode,
'phoneNum' => $phoneNum,
'nickname' => $nickname,
));
$data = array('code' => $res['code'], 'message' => $res['message'], 'data' => array('isReg' => $res['data']['is_register'], 'next' => $next));
}
else
{
}
else {
$data = array('code' => $res['code'], 'message' => $res['message'], 'data' => isset($res['data']) ? $res['data'] : '');
}
}
while (false);
} while (false);
$this->echoJson($data);
}
//发送验证码
/**
* 发送验证码
*/
public function sendBindMsgAction()
{
$data = array('code' => 400, 'message' => '', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
$phoneNum = $this->post('phoneNum');
$areaCode = $this->post('areaCode');
if (!is_numeric($phoneNum) || !$areaCode)
{
if (!is_numeric($phoneNum) || !$areaCode) {
break;
}
$data = BindData::sendBindMsg($areaCode, $phoneNum);
if (!isset($data['code']))
{
if (!isset($data['code'])) {
break;
}
}
while (false);
} while (false);
$this->echoJson($data);
}
//校验短信验证码
/**
* 校验短信验证码
*/
public function checkBindMsgAction()
{
$data = array('code' => 400, 'message' => '', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
... ... @@ -195,32 +195,29 @@ class BindController extends AbstractAction
$code = $this->post('code');
$areaCode = $this->post('areaCode');
if (!is_numeric($phoneNum) || !$code || !$areaCode)
{
if (!is_numeric($phoneNum) || !$code || !$areaCode) {
break;
}
$data = BindData::checkBindCode($areaCode, $phoneNum, $code);
if (!isset($data['code']))
{
if (!isset($data['code'])) {
break;
}
}
while (false);
} while (false);
$this->echoJson($data);
}
//绑定手机号
/**
* 绑定手机号
*/
public function bindMobileAction()
{
$data = array('code' => 400, 'message' => '', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
... ... @@ -231,88 +228,78 @@ class BindController extends AbstractAction
$nickname = $this->post('nickname');
$password = $this->post('password');
if (!is_numeric($phoneNum) || !$openId || !$sourceType || !$areaCode)
{
if (!is_numeric($phoneNum) || !$openId || !$sourceType || !$areaCode) {
break;
}
$res = BindData::bindMobile($openId, $nickname, $sourceType, $phoneNum, $areaCode, $password);
if (!isset($res['code']))
{
if (!isset($res['code'])) {
break;
}
//绑定成功,跳转页面
$refer = $this->getCookie('refer');
if (empty($refer))
{
if (empty($refer)) {
$refer = SITE_MAIN . '/?go=1';
}
else
{
}
else {
$refer = rawurldecode($refer);
}
if (isset($res['code']) && $res['code'] == 200 && !empty($res['data']['uid']))
{
if (isset($res['code']) && $res['code'] == 200 && !empty($res['data']['uid'])) {
$token = Helpers::makeToken($res['data']['uid']);
$this->setCookie('_TOKEN', $token);
$this->setSession('_TOKEN', $token);
$refer = Helpers::syncUserSession($res['data']['uid'], $refer);
$data = array('code' => $res['code'], 'message' => $res['message'], 'data' => array('refer' => $refer));
}
else
{
}
else {
$data = array('code' => $res['code'], 'message' => $res['message'], 'data' => array('refer' => $refer));
}
}
while (false);
} while (false);
$this->echoJson($data);
}
//换绑check
/**
* 换绑check
*/
public function changeCheckAction()
{
$data = array('code' => 400, 'message' => '', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
$phoneNum = $this->post('phoneNum');
$areaCode = $this->post('areaCode');
if (!is_numeric($phoneNum) || !$areaCode)
{
if (!is_numeric($phoneNum) || !$areaCode) {
break;
}
$data = BindData::changeCheck($phoneNum, $areaCode);
if (!isset($data['code']))
{
if (!isset($data['code'])) {
break;
}
}
while (false);
} while (false);
$this->echoJson($data);
}
//换绑mobile
/**
* 换绑mobile
*/
public function changeMobileAction()
{
$data = array('code' => 400, 'message' => '', 'data' => '');
do
{
do {
/* 判断是不是AJAX请求 */
if (!$this->isAjax())
{
if (!$this->isAjax()) {
break;
}
$uid = $this->getUid(true);
... ... @@ -320,18 +307,15 @@ class BindController extends AbstractAction
$areaCode = $this->post('areaCode');
$code = $this->post('code');
if (!is_numeric($phoneNum) || !$areaCode || !$code || !$uid)
{
if (!is_numeric($phoneNum) || !$areaCode || !$code || !$uid) {
break;
}
$data = BindData::changeMobile($uid, $phoneNum, $areaCode, $code);
if (!isset($data['code']))
{
if (!isset($data['code'])) {
break;
}
}
while (false);
} while (false);
$this->echoJson($data);
}
... ...
... ... @@ -61,6 +61,7 @@ class LoginController extends AbstractAction
$data['isPassportPage'] = true; // 模板中模块标识
$data['areaCode'] = '+86'; // 默认区号
$data['countrys'] = RegData::getAreasData(); // 地区信息列表
// 渲染模板
$this->_view->display('international', $data);
}
... ... @@ -146,6 +147,8 @@ class LoginController extends AbstractAction
*/
public function alipayAction()
{
$this->setSession('_TOKEN', '');
Factory::create('alipay')->getAuthorizeUrl();
exit();
... ... @@ -156,6 +159,8 @@ class LoginController extends AbstractAction
*/
public function qqAction()
{
$this->setSession('_TOKEN', '');
Factory::create('qqconnect')->getAuthorizeUrl();
exit();
... ... @@ -166,6 +171,8 @@ class LoginController extends AbstractAction
*/
public function sinaAction()
{
$this->setSession('_TOKEN', '');
$this->go(Factory::create('sinaweibo')->getAuthorizeUrl());
}
... ...
... ... @@ -81,7 +81,8 @@ class RegController extends AbstractAction
$area = $this->get('areaCode', '86');
// 判断是否允许访问, 不允许则跳转到错误页面
if (!is_string($token) || !is_numeric($mobile) || !is_numeric($area) || !Helpers::verifyToken($mobile, $token)) {
if (!is_string($token) || !is_numeric($mobile) || !is_numeric($area)
|| !Helpers::verifyToken($mobile, $token)) {
$this->error();
}
... ...