Authored by hf

code review by fei.hong: do merge new sale list and search codes

... ... @@ -461,16 +461,14 @@
</p>
</div>
</div>
';}).'
<div class="center-content clearfix">
';}).' <div class="center-content clearfix">
'.''.Plugin\LCRun3::debug('if [pathNav]', 'ifv', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, function($cx, $in) {return ' <p class="path-nav">
'.Plugin\LCRun3::debug('each [pathNav]', 'sec', $cx, Plugin\LCRun3::debug('[pathNav]', 'v', $cx, $in, array('pathNav')), $in, true, function($cx, $in) {return ''.Plugin\LCRun3::debug('if [href]', 'ifv', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href')), $in, function($cx, $in) {return ' <a '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a>
';}, function($cx, $in) {return ' <span '.Plugin\LCRun3::debug('if @[last]', 'ifv', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return 'class="last"';}).' title="'.Plugin\LCRun3::debug('[pathTitle]', 'encq', $cx, Plugin\LCRun3::debug('[pathTitle]', 'v', $cx, $in, array('pathTitle'))).'">'.Plugin\LCRun3::debug('[name]', 'raw', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</span>
';}).'
'.Plugin\LCRun3::debug('unless @[last]', 'unl', $cx, Plugin\LCRun3::debug('@[last]', 'v', $cx, $cx['sp_vars'], array('last')), $in, function($cx, $in) {return ' <span class="iconfont">&#xe601;</span>
';}).'';}).' </p>
';}).''.'
'.Plugin\LCRun3::debug('if [brandAbout]', 'ifv', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout')), $in, function($cx, $in) {return ' <div class="brand-about">
';}).''.''.Plugin\LCRun3::debug('if [brandAbout]', 'ifv', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout')), $in, function($cx, $in) {return ' <div class="brand-about">
'.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).'
</div>
';}, function($cx, $in) {return ' <div class="list-left pull-left">
... ... @@ -570,8 +568,7 @@
</div>
<img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">
</div>
';}).'
'.''.Plugin\LCRun3::debug('[shopEntry]', 'sec', $cx, Plugin\LCRun3::debug('[shopEntry]', 'v', $cx, $in, array('shopEntry')), $in, false, function($cx, $in) {return ' <div class="shop-entry clearfix">
';}).''.''.Plugin\LCRun3::debug('[shopEntry]', 'sec', $cx, Plugin\LCRun3::debug('[shopEntry]', 'v', $cx, $in, array('shopEntry')), $in, false, function($cx, $in) {return ' <div class="shop-entry clearfix">
<a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'">
<img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'">
</a>
... ... @@ -590,8 +587,7 @@
<span class="iconfont">&#xe601;</span>
</a>
</div>
';}).''.'
'.''.Plugin\LCRun3::debug('[filters]', 'sec', $cx, Plugin\LCRun3::debug('[filters]', 'v', $cx, $in, array('filters')), $in, false, function($cx, $in) {return ''.' <div class="filter-box">
';}).''.''.''.Plugin\LCRun3::debug('[filters]', 'sec', $cx, Plugin\LCRun3::debug('[filters]', 'v', $cx, $in, array('filters')), $in, false, function($cx, $in) {return ''.' <div class="filter-box">
'.Plugin\LCRun3::debug('[checkedConditions]', 'sec', $cx, Plugin\LCRun3::debug('[checkedConditions]', 'v', $cx, $in, array('checkedConditions')), $in, false, function($cx, $in) {return ' <div class="checked-conditions section">
<span class="title">已选条件:</span>
... ... @@ -905,8 +901,7 @@
</div>
<p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p>
</div>
'.'';}).''.'
'.''.Plugin\LCRun3::debug('if [latestWalk]', 'ifv', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk')), $in, function($cx, $in) {return ' <input id="latest-walk-count" type="hidden" value="'.Plugin\LCRun3::debug('[latestWalk]', 'encq', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk'))).'">
'.'';}).''.''.''.Plugin\LCRun3::debug('if [latestWalk]', 'ifv', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk')), $in, function($cx, $in) {return ' <input id="latest-walk-count" type="hidden" value="'.Plugin\LCRun3::debug('[latestWalk]', 'encq', $cx, Plugin\LCRun3::debug('[latestWalk]', 'v', $cx, $in, array('latestWalk'))).'">
<div class="latest-walk">
<h2>最近浏览的商品</h2>
<div id="latest-walk-goods" class="goods clearfix"></div>
... ...
... ... @@ -21,10 +21,8 @@
</div>
</div>
{{/ brandBanner}}
<div class="center-content clearfix">
{{> layout/path-nav}}
{{#if brandAbout}}
<div class="brand-about">
{{{brandAbout}}}
... ... @@ -49,11 +47,8 @@
<img class="pull-right img" src="{{img}}">
</div>
{{/ sortIntro}}
{{> product/shop-entry}}
{{> product/standard-content}}
{{> product/latest-walk}}
</div>
{{/if}}
... ...
... ... @@ -17,7 +17,7 @@ class IndexController extends WebAction
public function brandAction()
{
//品牌域名,没有获取到品牌域名的跳转首页
$domain = $this->param('named');
$domain = $this->param('named', 'adidas');
if (empty($domain)) {
$this->go(SITE_MAIN);
}
... ...