Authored by hf

code review by fei.hong: do fixes bug to product brand show images

Showing 22 changed files with 272 additions and 192 deletions
<?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 ''.Plugin\LCRun3::debug('[hotArea]', 'sec', $cx, Plugin\LCRun3::debug('[hotArea]', 'v', $cx, $in, array('hotArea')), $in, false, function($cx, $in) {return ' <div class="hot-point-wrap">
<img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" id="img" />
'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="hot-point" style="width:'.Plugin\LCRun3::debug('[width]', 'encq', $cx, Plugin\LCRun3::debug('[width]', 'v', $cx, $in, array('width'))).'px;height:'.Plugin\LCRun3::debug('[height]', 'encq', $cx, Plugin\LCRun3::debug('[height]', 'v', $cx, $in, array('height'))).'px;top:'.Plugin\LCRun3::debug('[top]', 'encq', $cx, Plugin\LCRun3::debug('[top]', 'v', $cx, $in, array('top'))).'px;left:'.Plugin\LCRun3::debug('[left]', 'encq', $cx, Plugin\LCRun3::debug('[left]', 'v', $cx, $in, array('left'))).'px;">
<span class="pointer">'.Plugin\LCRun3::debug('[label]', 'encq', $cx, Plugin\LCRun3::debug('[label]', 'v', $cx, $in, array('label'))).'</span>
<div class="hp-good">
<a href="">
<img class="pic" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">
</a>
'.Plugin\LCRun3::debug('[product]', 'sec', $cx, Plugin\LCRun3::debug('[product]', 'v', $cx, $in, array('product')), $in, false, function($cx, $in) {return ' <div class="info">
<strong>'.Plugin\LCRun3::debug('[productName]', 'encq', $cx, Plugin\LCRun3::debug('[productName]', 'v', $cx, $in, array('productName'))).'</strong>
<br>
<del>原价:'.Plugin\LCRun3::debug('[marketPrice]', 'encq', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice'))).'</del>
<br>现价:'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).'
<a class="check-btn" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">查看</a>
</div>
';}).' </div>
</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 ''.Plugin\LCRun3::debug('[hotArea]', 'sec', $cx, Plugin\LCRun3::debug('[hotArea]', 'v', $cx, $in, array('hotArea')), $in, false, function($cx, $in) {return ' <div class="hot-point-wrap">
<img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" id="img" />
'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <div class="hot-point" style="width:'.Plugin\LCRun3::debug('[width]', 'encq', $cx, Plugin\LCRun3::debug('[width]', 'v', $cx, $in, array('width'))).'px;height:'.Plugin\LCRun3::debug('[height]', 'encq', $cx, Plugin\LCRun3::debug('[height]', 'v', $cx, $in, array('height'))).'px;top:'.Plugin\LCRun3::debug('[top]', 'encq', $cx, Plugin\LCRun3::debug('[top]', 'v', $cx, $in, array('top'))).'px;left:'.Plugin\LCRun3::debug('[left]', 'encq', $cx, Plugin\LCRun3::debug('[left]', 'v', $cx, $in, array('left'))).'px;">
<span class="pointer">'.Plugin\LCRun3::debug('[label]', 'encq', $cx, Plugin\LCRun3::debug('[label]', 'v', $cx, $in, array('label'))).'</span>
<div class="hp-good">
<a href="">
<img class="pic" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">
</a>
'.Plugin\LCRun3::debug('[product]', 'sec', $cx, Plugin\LCRun3::debug('[product]', 'v', $cx, $in, array('product')), $in, false, function($cx, $in) {return ' <div class="info">
<strong>'.Plugin\LCRun3::debug('[productName]', 'encq', $cx, Plugin\LCRun3::debug('[productName]', 'v', $cx, $in, array('productName'))).'</strong>
<br>
<del>原价:'.Plugin\LCRun3::debug('[marketPrice]', 'encq', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice'))).'</del>
<br>现价:'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).'
<a class="check-btn" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">查看</a>
</div>
';}).' </div>
</div>
';}).' </div>
';}).'';
}
?>
\ No newline at end of file
... ... @@ -442,17 +442,47 @@
</div>
<input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'">
</div>
';}).''.''.''.Plugin\LCRun3::debug('if [errorPage]', 'ifv', $cx, Plugin\LCRun3::debug('[errorPage]', 'v', $cx, $in, array('errorPage')), $in, function($cx, $in) {return '<div class="err-page err-404 screen">
<div class="tips-404">
<p class="tip">很抱歉,您访问的页面不存在!</p>
<p class="links">
<a href="'.Plugin\LCRun3::debug('[newProductLink]', 'encq', $cx, Plugin\LCRun3::debug('[newProductLink]', 'v', $cx, $in, array('newProductLink'))).'">浏览新品</a>
&nbsp;&nbsp;
<a href="http://www.yohobuy.com/">返回首页</a>
</p>
</div>
</div>
';}).''.''.' <div class="yoho-footer">
';}).''.''.'<div class="product-search-page product-page yoho-page center-content">
'.Plugin\LCRun3::debug('[search]', 'sec', $cx, Plugin\LCRun3::debug('[search]', 'v', $cx, $in, array('search')), $in, false, function($cx, $in) {return ''.''.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>
';}).''.''.' <div class="no-result">
<p class="no-title">
抱歉!没有找到'.Plugin\LCRun3::debug('if [keyWord]', 'ifv', $cx, Plugin\LCRun3::debug('[keyWord]', 'v', $cx, $in, array('keyWord')), $in, function($cx, $in) {return '与"<b class="keyword">'.Plugin\LCRun3::debug('[keyWord]', 'encq', $cx, Plugin\LCRun3::debug('[keyWord]', 'v', $cx, $in, array('keyWord'))).'</b>"';}).'相关的商品
</p>
<div class="search-again clearfix">
<form method="GET" action="'.Plugin\LCRun3::debug('[searchActionUrl]', 'encq', $cx, Plugin\LCRun3::debug('[searchActionUrl]', 'v', $cx, $in, array('searchActionUrl'))).'">
<input id="no-result-input" name="query" type="text" placeholder="换个关键词试试">
<button class="search-again-btn" type="submit">
<i class="iconfont">&#xe611;</i>
</button>
</form>
</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'))).'">
<div class="latest-walk">
<h2>最近浏览的商品</h2>
<div id="latest-walk-goods" class="goods clearfix"></div>
</div>
'.' <script id="latest-walk-tpl" type="text/html">
{{# latestWalk}}
<div class="good">
<a href="{{href}}" target="_blank">
<img class="lazy" data-original="{{img}}">
</a>
<a class="name" href="{{href}}" target="_blank">{{name}}</a>
<p class="price">
<span class="market-price">{{marketPrice}}</span>
<span class="sale-price">{{salePrice}}</span>
</p>
</div>
{{/ latestWalk}}
</script>'.' ';}).''.'';}).'</div>
'.''.' <div class="yoho-footer">
'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop">
<div class="index-foot">
<dl class="center-content clearfix">
... ...
... ... @@ -442,50 +442,128 @@
</div>
<input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'">
</div>
';}).''.''.'<div class="home-page yoho-page brands" data-page="brands">
'.Plugin\LCRun3::debug('[brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, false, function($cx, $in) {return '
'.''.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>
';}).''.'
<div class="brands-tabs height-initial">
<ul class="clearfix">
'.Plugin\LCRun3::debug('each [tabs]', 'sec', $cx, Plugin\LCRun3::debug('[tabs]', 'v', $cx, $in, array('tabs')), $in, true, function($cx, $in) {return ' <li>
<a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">
<div class="g-mask"></div>
<p class="tips">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p>
<img class="lazy" data-original="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"/>
</a>
</li>
';}).' </ul>
<div class="hover-contain">
<div class="hoverarr">
<i></i>
';}).''.''.'<div class="home-page yoho-page lifestyle" data-page="lifestyle">
'.Plugin\LCRun3::debug('[lifestyle]', 'sec', $cx, Plugin\LCRun3::debug('[lifestyle]', 'v', $cx, $in, array('lifestyle')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, false, function($cx, $in) {return ''.' <div class="slide-container '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container';}).'">
<div class="slide-wrapper">
<ul>
'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li style="'.Plugin\LCRun3::debug('if [bgColor]', 'ifv', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor')), $in, function($cx, $in) {return 'background:'.Plugin\LCRun3::debug('[bgColor]', 'encq', $cx, Plugin\LCRun3::debug('[bgColor]', 'v', $cx, $in, array('bgColor'))).'';}).'">
<a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">
'.Plugin\LCRun3::debug('if @[first]', 'ifv', $cx, Plugin\LCRun3::debug('@[first]', 'v', $cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return ' <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">
';}, function($cx, $in) {return ' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="">
';}).' </a>
'.Plugin\LCRun3::debug('[tips]', 'sec', $cx, Plugin\LCRun3::debug('[tips]', 'v', $cx, $in, array('tips')), $in, false, function($cx, $in) {return ' <div class="slide-tips">
<div class="g-mark"></div>
<p>'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
</div>
';}).' </li>
';}).' </ul>
</div>
'.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return ' <div class="thumb-pagination">
<ul class="clearfix">
'.Plugin\LCRun3::debug('[pagination]', 'sec', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, false, function($cx, $in) {return ' <li>
<a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"></a>
<img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="">
</li>
';}).' </ul>
</div>
';}).' </div>
<div class="slide-container-placeholder '.Plugin\LCRun3::debug('if [pagination]', 'ifv', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, function($cx, $in) {return 'slide-thumb-container-placeholder';}).'"></div>
'.'';}).'
'.Plugin\LCRun3::debug('[preferenceBrands]', 'sec', $cx, Plugin\LCRun3::debug('[preferenceBrands]', 'v', $cx, $in, array('preferenceBrands')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix">
<h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs">
'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">
<a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a>
</li>
';}).' </ul>
';}).' </div>'.' <div class="preference-brand imgopacity">
<div class="img-slider-wrapper clearfix" style="background-color:'.Plugin\LCRun3::debug('[sliderColor]', 'encq', $cx, Plugin\LCRun3::debug('[sliderColor]', 'v', $cx, $in, array('sliderColor'))).';">
<div class="img-brand-switch">
<a class="prev iconfont" href="javascript:;">&#xe60f;</a>
<a class="next iconfont" href="javascript:;">&#xe60e;</a>
</div>
<div class="img-container-landscape">
<ul class="img-list">
'.Plugin\LCRun3::debug('[imgBrand]', 'sec', $cx, Plugin\LCRun3::debug('[imgBrand]', 'v', $cx, $in, array('imgBrand')), $in, false, function($cx, $in) {return ' <li class="img-item">
<a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"> <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="'.Plugin\LCRun3::debug('[alt]', 'encq', $cx, Plugin\LCRun3::debug('[alt]', 'v', $cx, $in, array('alt'))).'"></a>
</li>
';}).' </ul>
</div>
</div>
<div class="logo-brand " data-url="'.Plugin\LCRun3::debug('[brandUrl]', 'encq', $cx, Plugin\LCRun3::debug('[brandUrl]', 'v', $cx, $in, array('brandUrl'))).'">
</div>
</div>'.'';}).'
'.Plugin\LCRun3::debug('[category]', 'sec', $cx, Plugin\LCRun3::debug('[category]', 'v', $cx, $in, array('category')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix">
<h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs">
'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">
<a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a>
</li>
';}).' </ul>
';}).' </div>'.' <div class="categorys-list imgopacity">
<ul class="clearfix">
'.Plugin\LCRun3::debug('[list]', 'sec', $cx, Plugin\LCRun3::debug('[list]', 'v', $cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="cate-item'.Plugin\LCRun3::debug('@[index]', 'encq', $cx, Plugin\LCRun3::debug('@[index]', 'v', $cx, $cx['sp_vars'], array('index'))).'">
<a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">
<img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="">
</a>
</li>
';}).' </ul>
</div>'.'';}).'
'.Plugin\LCRun3::debug('[accordion]', 'sec', $cx, Plugin\LCRun3::debug('[accordion]', 'v', $cx, $in, array('accordion')), $in, false, function($cx, $in) {return ''.''.' <div class="floor-header clearfix">
<h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs">
'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">
<a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a>
</li>
';}).' </ul>
';}).' </div>'.' <div class="slide-accordion clearfix">
<ul>
'.Plugin\LCRun3::debug('each [slide]', 'sec', $cx, Plugin\LCRun3::debug('[slide]', 'v', $cx, $in, array('slide')), $in, true, function($cx, $in) {return ' <li><a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="g-mask"></div><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a></li>
';}).' </ul>
</div>
</div>
<div class="brands-items clearfix">
'.Plugin\LCRun3::debug('each [items]', 'sec', $cx, Plugin\LCRun3::debug('[items]', 'v', $cx, $in, array('items')), $in, true, function($cx, $in) {return ' <div class="brands-item clearfix">
<a class="brands-pic" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" target="_blank">
<img class="lazy" data-original="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"/>
</a>
<div class="brand-info">
<a title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'" target="_blank">
<h3>
'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'
</h3>
</a>
<div class="brand-desc">'.Plugin\LCRun3::debug('[desc]', 'encq', $cx, Plugin\LCRun3::debug('[desc]', 'v', $cx, $in, array('desc'))).'</div>
'.'';}).'
'.Plugin\LCRun3::debug('[singlehot]', 'sec', $cx, Plugin\LCRun3::debug('[singlehot]', 'v', $cx, $in, array('singlehot')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix">
'.' <div class="floor-header clearfix">
<h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs">
'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">
<a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a>
</li>
';}).' </ul>
';}).' </div>'.' <div class="commodity-list">
<ul class="g-list imgopacity clearfix">
'.Plugin\LCRun3::debug('each [imgHot]', 'sec', $cx, Plugin\LCRun3::debug('[imgHot]', 'v', $cx, $in, array('imgHot')), $in, true, function($cx, $in) {return ' <li>
<a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="commodity-img">
'.Plugin\LCRun3::debug('[tip]', 'sec', $cx, Plugin\LCRun3::debug('[tip]', 'v', $cx, $in, array('tip')), $in, false, function($cx, $in) {return ' <i class="top">'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</i>
';}).' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></div>
<p class="commodity-name">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p>
<p class="commodity-price"><span>¥'.Plugin\LCRun3::debug('[price]', 'encq', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price'))).'</span></p>
</a>
</li>
';}).' </ul>
</div>
<div class="commodity-brands imgopacity clearfix">
'.Plugin\LCRun3::debug('each [brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, true, function($cx, $in) {return ' <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" title="'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'" target= "_blank"><img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></a>
';}).' </div>
</div>
';}).' </div>
<div class="pagination clearfix">
'.Plugin\LCRun3::debug('[page]', 'raw', $cx, Plugin\LCRun3::debug('[page]', 'v', $cx, $in, array('page'))).'
</div>
';}).'</div>
'.'';}).'
'.Plugin\LCRun3::debug('[newArrivls]', 'sec', $cx, Plugin\LCRun3::debug('[newArrivls]', 'v', $cx, $in, array('newArrivls')), $in, false, function($cx, $in) {return ''.' <div class="commodity clearfix" id="newarrivals">
'.' <div class="floor-header clearfix">
<h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
'.Plugin\LCRun3::debug('if [navs]', 'ifv', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, function($cx, $in) {return ' <ul class="header-navs">
'.Plugin\LCRun3::debug('[navs]', 'sec', $cx, Plugin\LCRun3::debug('[navs]', 'v', $cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li data-classify="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">
<a target="_blank" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a>
</li>
';}).' </ul>
';}).' </div>'.'
<div class="goods-container clearfix">
</div>
<div class="loading">
<a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">Loading...</a>
</div>
</div>'.'';}).'';}).'</div>
'.''.' <div class="yoho-footer">
'.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop">
<div class="index-foot">
... ...
... ... @@ -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">
... ... @@ -537,11 +535,27 @@
</a>
</li>
';}).' </ul>
';}).'';}).'
'.Plugin\LCRun3::debug('if [brandBanner].[dataId]', 'ifv', $cx, Plugin\LCRun3::debug('[brandBanner].[dataId]', 'v', $cx, $in, array('brandBanner','dataId')), $in, function($cx, $in) {return ' <script id="pic-link-tpl" type="text/html">
{{# picLink}}
{{#if picTitle}}
<h2 class="nav-pic-title">{{picTitle}}</h2>
{{/if}}
<ul class="pic-nav">
{{#each list}}
<li>
<a href="{{href}}">
<img src="{{src}}">
</a>
</li>
{{/each}}
</ul>
{{/ picLink}}
</script>
<div id="brand-ad" class="brand-ad"></div>
';}).'
'.Plugin\LCRun3::debug('if [cardHtml]', 'ifv', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml')), $in, function($cx, $in) {return ' <div class="brand-card">
'.Plugin\LCRun3::debug('[cardHtml]', 'raw', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml'))).'
</div>
';}).'';}).''.' </div>
'.Plugin\LCRun3::debug('if [node]', 'ifv', $cx, Plugin\LCRun3::debug('[node]', 'v', $cx, $in, array('node')), $in, function($cx, $in) {return ' <div id="brand-card" class="brand-card" data-node="'.Plugin\LCRun3::debug('[node]', 'encq', $cx, Plugin\LCRun3::debug('[node]', 'v', $cx, $in, array('node'))).'"></div>
';}).''.' </div>
<div class="list-right pull-right">
'.Plugin\LCRun3::debug('[sortIntro]', 'sec', $cx, Plugin\LCRun3::debug('[sortIntro]', 'v', $cx, $in, array('sortIntro')), $in, false, function($cx, $in) {return ' <div class="sort-intro clearfix">
<div class="texts pull-left">
... ... @@ -554,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>
... ... @@ -574,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>
... ... @@ -889,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>
... ...
... ... @@ -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">
... ... @@ -537,11 +535,27 @@
</a>
</li>
';}).' </ul>
';}).'';}).'
'.Plugin\LCRun3::debug('if [brandBanner].[dataId]', 'ifv', $cx, Plugin\LCRun3::debug('[brandBanner].[dataId]', 'v', $cx, $in, array('brandBanner','dataId')), $in, function($cx, $in) {return ' <script id="pic-link-tpl" type="text/html">
{{# picLink}}
{{#if picTitle}}
<h2 class="nav-pic-title">{{picTitle}}</h2>
{{/if}}
<ul class="pic-nav">
{{#each list}}
<li>
<a href="{{href}}">
<img src="{{src}}">
</a>
</li>
{{/each}}
</ul>
{{/ picLink}}
</script>
<div id="brand-ad" class="brand-ad"></div>
';}).'
'.Plugin\LCRun3::debug('if [cardHtml]', 'ifv', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml')), $in, function($cx, $in) {return ' <div class="brand-card">
'.Plugin\LCRun3::debug('[cardHtml]', 'raw', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml'))).'
</div>
';}).'';}).''.' </div>
'.Plugin\LCRun3::debug('if [node]', 'ifv', $cx, Plugin\LCRun3::debug('[node]', 'v', $cx, $in, array('node')), $in, function($cx, $in) {return ' <div id="brand-card" class="brand-card" data-node="'.Plugin\LCRun3::debug('[node]', 'encq', $cx, Plugin\LCRun3::debug('[node]', 'v', $cx, $in, array('node'))).'"></div>
';}).''.' </div>
<div class="list-right pull-right">
'.Plugin\LCRun3::debug('[sortIntro]', 'sec', $cx, Plugin\LCRun3::debug('[sortIntro]', 'v', $cx, $in, array('sortIntro')), $in, false, function($cx, $in) {return ' <div class="sort-intro clearfix">
<div class="texts pull-left">
... ... @@ -554,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>
... ... @@ -574,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>
... ... @@ -889,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>
... ...
... ... @@ -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">
... ... @@ -537,11 +535,27 @@
</a>
</li>
';}).' </ul>
';}).'';}).'
'.Plugin\LCRun3::debug('if [brandBanner].[dataId]', 'ifv', $cx, Plugin\LCRun3::debug('[brandBanner].[dataId]', 'v', $cx, $in, array('brandBanner','dataId')), $in, function($cx, $in) {return ' <script id="pic-link-tpl" type="text/html">
{{# picLink}}
{{#if picTitle}}
<h2 class="nav-pic-title">{{picTitle}}</h2>
{{/if}}
<ul class="pic-nav">
{{#each list}}
<li>
<a href="{{href}}">
<img src="{{src}}">
</a>
</li>
{{/each}}
</ul>
{{/ picLink}}
</script>
<div id="brand-ad" class="brand-ad"></div>
';}).'
'.Plugin\LCRun3::debug('if [cardHtml]', 'ifv', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml')), $in, function($cx, $in) {return ' <div class="brand-card">
'.Plugin\LCRun3::debug('[cardHtml]', 'raw', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml'))).'
</div>
';}).'';}).''.' </div>
'.Plugin\LCRun3::debug('if [node]', 'ifv', $cx, Plugin\LCRun3::debug('[node]', 'v', $cx, $in, array('node')), $in, function($cx, $in) {return ' <div id="brand-card" class="brand-card" data-node="'.Plugin\LCRun3::debug('[node]', 'encq', $cx, Plugin\LCRun3::debug('[node]', 'v', $cx, $in, array('node'))).'"></div>
';}).''.' </div>
<div class="list-right pull-right">
'.Plugin\LCRun3::debug('[sortIntro]', 'sec', $cx, Plugin\LCRun3::debug('[sortIntro]', 'v', $cx, $in, array('sortIntro')), $in, false, function($cx, $in) {return ' <div class="sort-intro clearfix">
<div class="texts pull-left">
... ... @@ -554,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>
... ... @@ -574,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>
... ... @@ -889,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>
... ...
... ... @@ -18,8 +18,8 @@ class BrandData
{
const URI_BRAND_TOPPOS = 'operations/api/v5/resource/get';
const URL_BRAND_LOGO = '/cmsproduct/service/v1/brands';
const URL_BRAND_FOLDER = '/cmsproduct/service/v1/brands';
const URL_BRAND_LOGO = 'cmsproduct/service/v1/brands';
const URL_BRAND_FOLDER = 'cmsproduct/service/v1/brands';
const URL_BRAND_NODECONTENT = '/operations/service/v6/htmlcontent';
/**
... ... @@ -92,6 +92,18 @@ class BrandData
{
return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_FOLDER, 'getFolderByBrand', array($brandId, $status), 600);
}
/**
* 通过品牌id获取品牌Folder
*
* @param int $brandId 品牌id
* @param int $status 状态
* @return array
*/
public static function getSeries($brandId, $status = 1)
{
return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_FOLDER, 'getSeries', array($brandId, $status), 600);
}
/**
* 根据节点和运行模式选择静态内容
... ...
... ... @@ -1487,7 +1487,7 @@ class HelperSearch
public static function getBannerFormat($brand, $brandBanner)
{
// 根据品牌Id获取品牌banner图
$bannerImg = Helpers::getImageUrl($brandBanner, '', 150);
$bannerImg = strstr($brandBanner, '?', true);
$brandHome = Helpers::url('', '', $brand['brand_domain']);
$brandIntro = Helpers::url('/about', '', $brand['brand_domain']);
... ...
... ... @@ -194,13 +194,28 @@ class BrandsModel
*/
public static function getAdNav($brandId, $status = 1)
{
$result = array();
//调用接口获得品牌系列数据
$series = BrandData::getSeries($brandId, $status);
$advNav = BrandData::getFolderByBrand($brandId, $status);
$result = array();
$index = 0;
if (isset($series['data']) && $series['code'] === 200) {
foreach ($series['data'] as $value) {
$result['list'][$index]['href'] = '?series=' . $value['id'];
$result['list'][$index]['src'] = $value['series_banner'];
++ $index;
}
//title设置为经典系列
$result['picTitle'] = '经典系列';
}
if (isset($advNav['data']) && $advNav['code'] === 200) {
foreach ($advNav['data'] as $key => $value) {
$result['list'][$key]['href'] = '?folder_id=' . $value['id'];
$result['list'][$key]['src'] = $value['brand_sort_ico'];
foreach ($advNav['data'] as $value) {
$result['list'][$index]['href'] = '?folder_id=' . $value['id'];
$result['list'][$index]['src'] = $value['brand_sort_ico'];
++ $index;
}
//title设置为经典系列
$result['picTitle'] = '经典系列';
... ...
... ... @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version = "0.0.15"
application.version = "0.0.16"
; 网站SEO信息
application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
... ...
... ... @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version = "0.0.15"
application.version = "0.0.16"
; 网站SEO信息
application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
... ...
... ... @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version = "0.0.15"
application.version = "0.0.16"
; 网站SEO信息
application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
... ...
... ... @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
application.assets.path = ROOT_PATH "/assets/web"
; 应用的版本号
application.version = "0.0.15"
application.version = "0.0.16"
; 网站SEO信息
application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
... ...