Authored by hf

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

Showing 22 changed files with 263 additions and 183 deletions
1 -<?php return function ($in, $debugopt = 1) {  
2 - $cx = array(  
3 - 'flags' => array(  
4 - 'jstrue' => false,  
5 - 'jsobj' => false,  
6 - 'spvar' => true,  
7 - 'prop' => false,  
8 - 'method' => false,  
9 - 'mustlok' => true,  
10 - 'echo' => false,  
11 - 'debug' => $debugopt,  
12 - ),  
13 - 'constants' => array(),  
14 - 'helpers' => array(),  
15 - 'blockhelpers' => array(),  
16 - 'hbhelpers' => array(),  
17 - 'partials' => array(),  
18 - 'scopes' => array(),  
19 - 'sp_vars' => array('root' => $in),  
20 - 'lcrun' => 'Plugin\LCRun3',  
21 -  
22 - );  
23 -  
24 - 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">  
25 - <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" id="img" />  
26 -'.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;">  
27 - <span class="pointer">'.Plugin\LCRun3::debug('[label]', 'encq', $cx, Plugin\LCRun3::debug('[label]', 'v', $cx, $in, array('label'))).'</span>  
28 - <div class="hp-good">  
29 - <a href="">  
30 - <img class="pic" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">  
31 - </a>  
32 -'.Plugin\LCRun3::debug('[product]', 'sec', $cx, Plugin\LCRun3::debug('[product]', 'v', $cx, $in, array('product')), $in, false, function($cx, $in) {return ' <div class="info">  
33 - <strong>'.Plugin\LCRun3::debug('[productName]', 'encq', $cx, Plugin\LCRun3::debug('[productName]', 'v', $cx, $in, array('productName'))).'</strong>  
34 - <br>  
35 - <del>原价:'.Plugin\LCRun3::debug('[marketPrice]', 'encq', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice'))).'</del>  
36 - <br>现价:'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).'  
37 - <a class="check-btn" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">查看</a>  
38 - </div>  
39 -';}).' </div>  
40 - </div>  
41 -';}).' </div>  
42 -';}).'';  
43 -}  
44 -?>  
1 -<?php return function ($in, $debugopt = 1) {  
2 - $cx = array(  
3 - 'flags' => array(  
4 - 'jstrue' => false,  
5 - 'jsobj' => false,  
6 - 'spvar' => true,  
7 - 'prop' => false,  
8 - 'method' => false,  
9 - 'mustlok' => true,  
10 - 'echo' => false,  
11 - 'debug' => $debugopt,  
12 - ),  
13 - 'constants' => array(),  
14 - 'helpers' => array(),  
15 - 'blockhelpers' => array(),  
16 - 'hbhelpers' => array(),  
17 - 'partials' => array(),  
18 - 'scopes' => array(),  
19 - 'sp_vars' => array('root' => $in),  
20 - 'lcrun' => 'Plugin\LCRun3',  
21 -  
22 - );  
23 -  
24 - 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">  
25 - <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" id="img" />  
26 -'.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;">  
27 - <span class="pointer">'.Plugin\LCRun3::debug('[label]', 'encq', $cx, Plugin\LCRun3::debug('[label]', 'v', $cx, $in, array('label'))).'</span>  
28 - <div class="hp-good">  
29 - <a href="">  
30 - <img class="pic" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">  
31 - </a>  
32 -'.Plugin\LCRun3::debug('[product]', 'sec', $cx, Plugin\LCRun3::debug('[product]', 'v', $cx, $in, array('product')), $in, false, function($cx, $in) {return ' <div class="info">  
33 - <strong>'.Plugin\LCRun3::debug('[productName]', 'encq', $cx, Plugin\LCRun3::debug('[productName]', 'v', $cx, $in, array('productName'))).'</strong>  
34 - <br>  
35 - <del>原价:'.Plugin\LCRun3::debug('[marketPrice]', 'encq', $cx, Plugin\LCRun3::debug('[marketPrice]', 'v', $cx, $in, array('marketPrice'))).'</del>  
36 - <br>现价:'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).'  
37 - <a class="check-btn" href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">查看</a>  
38 - </div>  
39 -';}).' </div>  
40 - </div>  
41 -';}).' </div>  
42 -';}).'';  
43 -}  
44 -?>  
@@ -442,17 +442,47 @@ @@ -442,17 +442,47 @@
442 </div> 442 </div>
443 <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> 443 <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'">
444 </div> 444 </div>
445 -';}).''.''.''.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">  
446 - <div class="tips-404">  
447 - <p class="tip">很抱歉,您访问的页面不存在!</p>  
448 - <p class="links">  
449 - <a href="'.Plugin\LCRun3::debug('[newProductLink]', 'encq', $cx, Plugin\LCRun3::debug('[newProductLink]', 'v', $cx, $in, array('newProductLink'))).'">浏览新品</a>  
450 - &nbsp;&nbsp;  
451 - <a href="http://www.yohobuy.com/">返回首页</a> 445 +';}).''.''.'<div class="product-search-page product-page yoho-page center-content">
  446 +'.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">
  447 +'.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>
  448 +';}, 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>
  449 +';}).'
  450 +'.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>
  451 +';}).'';}).' </p>
  452 +';}).''.''.' <div class="no-result">
  453 + <p class="no-title">
  454 + 抱歉!没有找到'.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>"';}).'相关的商品
452 </p> 455 </p>
  456 + <div class="search-again clearfix">
  457 + <form method="GET" action="'.Plugin\LCRun3::debug('[searchActionUrl]', 'encq', $cx, Plugin\LCRun3::debug('[searchActionUrl]', 'v', $cx, $in, array('searchActionUrl'))).'">
  458 + <input id="no-result-input" name="query" type="text" placeholder="换个关键词试试">
  459 + <button class="search-again-btn" type="submit">
  460 + <i class="iconfont">&#xe611;</i>
  461 + </button>
  462 + </form>
453 </div> 463 </div>
454 -</div>  
455 -';}).''.''.' <div class="yoho-footer"> 464 + <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p>
  465 + </div>
  466 +'.''.''.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'))).'">
  467 + <div class="latest-walk">
  468 + <h2>最近浏览的商品</h2>
  469 + <div id="latest-walk-goods" class="goods clearfix"></div>
  470 + </div>
  471 +'.' <script id="latest-walk-tpl" type="text/html">
  472 + {{# latestWalk}}
  473 + <div class="good">
  474 + <a href="{{href}}" target="_blank">
  475 + <img class="lazy" data-original="{{img}}">
  476 + </a>
  477 + <a class="name" href="{{href}}" target="_blank">{{name}}</a>
  478 + <p class="price">
  479 + <span class="market-price">{{marketPrice}}</span>
  480 + <span class="sale-price">{{salePrice}}</span>
  481 + </p>
  482 + </div>
  483 + {{/ latestWalk}}
  484 + </script>'.' ';}).''.'';}).'</div>
  485 +'.''.' <div class="yoho-footer">
456 '.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> 486 '.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop">
457 <div class="index-foot"> 487 <div class="index-foot">
458 <dl class="center-content clearfix"> 488 <dl class="center-content clearfix">
@@ -442,50 +442,128 @@ @@ -442,50 +442,128 @@
442 </div> 442 </div>
443 <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'"> 443 <input id="api-domain" type="hidden" value="'.Plugin\LCRun3::debug('[apiDomain]', 'encq', $cx, Plugin\LCRun3::debug('[apiDomain]', 'v', $cx, $in, array('apiDomain'))).'">
444 </div> 444 </div>
445 -';}).''.''.'<div class="home-page yoho-page brands" data-page="brands">  
446 -'.Plugin\LCRun3::debug('[brands]', 'sec', $cx, Plugin\LCRun3::debug('[brands]', 'v', $cx, $in, array('brands')), $in, false, function($cx, $in) {return '  
447 -'.''.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">  
448 -'.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>  
449 -';}, 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>  
450 -';}).'  
451 -'.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>  
452 -';}).'';}).' </p>  
453 -';}).''.'  
454 - <div class="brands-tabs height-initial"> 445 +';}).''.''.'<div class="home-page yoho-page lifestyle" data-page="lifestyle">
  446 +'.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';}).'">
  447 + <div class="slide-wrapper">
  448 + <ul>
  449 +'.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'))).'';}).'">
  450 + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">
  451 +'.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'))).'">
  452 +';}, 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="">
  453 +';}).' </a>
  454 +'.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">
  455 + <div class="g-mark"></div>
  456 + <p>'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</p>
  457 + </div>
  458 +';}).' </li>
  459 +';}).' </ul>
  460 + </div>
  461 +
  462 +'.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">
455 <ul class="clearfix"> 463 <ul class="clearfix">
456 -'.Plugin\LCRun3::debug('each [tabs]', 'sec', $cx, Plugin\LCRun3::debug('[tabs]', 'v', $cx, $in, array('tabs')), $in, true, function($cx, $in) {return ' <li>  
457 - <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">  
458 - <div class="g-mask"></div>  
459 - <p class="tips">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p>  
460 - <img class="lazy" data-original="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"/>  
461 - </a> 464 +'.Plugin\LCRun3::debug('[pagination]', 'sec', $cx, Plugin\LCRun3::debug('[pagination]', 'v', $cx, $in, array('pagination')), $in, false, function($cx, $in) {return ' <li>
  465 + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target="_blank"></a>
  466 + <img src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="">
462 </li> 467 </li>
463 ';}).' </ul> 468 ';}).' </ul>
464 - <div class="hover-contain">  
465 - <div class="hoverarr">  
466 - <i></i>  
467 </div> 469 </div>
  470 +';}).' </div>
  471 + <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>
  472 +'.'';}).'
  473 +'.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">
  474 + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
  475 +'.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">
  476 +'.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'))).'">
  477 + <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>
  478 + </li>
  479 +';}).' </ul>
  480 +';}).' </div>'.' <div class="preference-brand imgopacity">
  481 + <div class="img-slider-wrapper clearfix" style="background-color:'.Plugin\LCRun3::debug('[sliderColor]', 'encq', $cx, Plugin\LCRun3::debug('[sliderColor]', 'v', $cx, $in, array('sliderColor'))).';">
  482 + <div class="img-brand-switch">
  483 + <a class="prev iconfont" href="javascript:;">&#xe60f;</a>
  484 + <a class="next iconfont" href="javascript:;">&#xe60e;</a>
  485 + </div>
  486 + <div class="img-container-landscape">
  487 + <ul class="img-list">
  488 +'.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">
  489 + <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>
  490 + </li>
  491 +';}).' </ul>
468 </div> 492 </div>
469 </div> 493 </div>
470 - <div class="brands-items clearfix">  
471 -'.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">  
472 - <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">  
473 - <img class="lazy" data-original="'.Plugin\LCRun3::debug('[src]', 'encq', $cx, Plugin\LCRun3::debug('[src]', 'v', $cx, $in, array('src'))).'"/>  
474 - </a>  
475 - <div class="brand-info">  
476 - <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">  
477 - <h3>  
478 - '.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'  
479 - </h3> 494 + <div class="logo-brand " data-url="'.Plugin\LCRun3::debug('[brandUrl]', 'encq', $cx, Plugin\LCRun3::debug('[brandUrl]', 'v', $cx, $in, array('brandUrl'))).'">
  495 + </div>
  496 + </div>'.'';}).'
  497 +'.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">
  498 + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
  499 +'.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">
  500 +'.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'))).'">
  501 + <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>
  502 + </li>
  503 +';}).' </ul>
  504 +';}).' </div>'.' <div class="categorys-list imgopacity">
  505 + <ul class="clearfix">
  506 +'.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'))).'">
  507 + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">
  508 + <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'" alt="">
480 </a> 509 </a>
481 - <div class="brand-desc">'.Plugin\LCRun3::debug('[desc]', 'encq', $cx, Plugin\LCRun3::debug('[desc]', 'v', $cx, $in, array('desc'))).'</div> 510 + </li>
  511 +';}).' </ul>
  512 + </div>'.'';}).'
  513 +'.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">
  514 + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
  515 +'.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">
  516 +'.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'))).'">
  517 + <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>
  518 + </li>
  519 +';}).' </ul>
  520 +';}).' </div>'.' <div class="slide-accordion clearfix">
  521 + <ul>
  522 +'.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>
  523 +';}).' </ul>
482 </div> 524 </div>
  525 +
  526 +'.'';}).'
  527 +'.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">
  528 +'.' <div class="floor-header clearfix">
  529 + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
  530 +'.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">
  531 +'.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'))).'">
  532 + <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>
  533 + </li>
  534 +';}).' </ul>
  535 +';}).' </div>'.' <div class="commodity-list">
  536 + <ul class="g-list imgopacity clearfix">
  537 +'.Plugin\LCRun3::debug('each [imgHot]', 'sec', $cx, Plugin\LCRun3::debug('[imgHot]', 'v', $cx, $in, array('imgHot')), $in, true, function($cx, $in) {return ' <li>
  538 + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank"><div class="commodity-img">
  539 +'.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>
  540 +';}).' <img class="lazy" data-original="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"/></div>
  541 + <p class="commodity-name">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</p>
  542 + <p class="commodity-price"><span>¥'.Plugin\LCRun3::debug('[price]', 'encq', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price'))).'</span></p>
  543 + </a>
  544 + </li>
  545 +';}).' </ul>
483 </div> 546 </div>
  547 + <div class="commodity-brands imgopacity clearfix">
  548 +'.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>
484 ';}).' </div> 549 ';}).' </div>
485 - <div class="pagination clearfix">  
486 - '.Plugin\LCRun3::debug('[page]', 'raw', $cx, Plugin\LCRun3::debug('[page]', 'v', $cx, $in, array('page'))).'  
487 </div> 550 </div>
488 -';}).'</div> 551 +'.'';}).'
  552 +'.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">
  553 +'.' <div class="floor-header clearfix">
  554 + <h2 class="floor-title">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</h2>
  555 +'.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">
  556 +'.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'))).'">
  557 + <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>
  558 + </li>
  559 +';}).' </ul>
  560 +';}).' </div>'.'
  561 + <div class="goods-container clearfix">
  562 + </div>
  563 + <div class="loading">
  564 + <a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'" target= "_blank">Loading...</a>
  565 + </div>
  566 + </div>'.'';}).'';}).'</div>
489 '.''.' <div class="yoho-footer"> 567 '.''.' <div class="yoho-footer">
490 '.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop"> 568 '.Plugin\LCRun3::debug('if [footerTop]', 'ifv', $cx, Plugin\LCRun3::debug('[footerTop]', 'v', $cx, $in, array('footerTop')), $in, function($cx, $in) {return ' <div class="footertop">
491 <div class="index-foot"> 569 <div class="index-foot">
@@ -461,16 +461,14 @@ @@ -461,16 +461,14 @@
461 </p> 461 </p>
462 </div> 462 </div>
463 </div> 463 </div>
464 -';}).'  
465 - <div class="center-content clearfix"> 464 +';}).' <div class="center-content clearfix">
466 '.''.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"> 465 '.''.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">
467 '.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> 466 '.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>
468 ';}, 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> 467 ';}, 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>
469 ';}).' 468 ';}).'
470 '.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> 469 '.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>
471 ';}).'';}).' </p> 470 ';}).'';}).' </p>
472 -';}).''.'  
473 -'.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"> 471 +';}).''.''.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">
474 '.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).' 472 '.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).'
475 </div> 473 </div>
476 ';}, function($cx, $in) {return ' <div class="list-left pull-left"> 474 ';}, function($cx, $in) {return ' <div class="list-left pull-left">
@@ -537,11 +535,27 @@ @@ -537,11 +535,27 @@
537 </a> 535 </a>
538 </li> 536 </li>
539 ';}).' </ul> 537 ';}).' </ul>
  538 +';}).'';}).'
  539 +'.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">
  540 + {{# picLink}}
  541 + {{#if picTitle}}
  542 + <h2 class="nav-pic-title">{{picTitle}}</h2>
  543 + {{/if}}
  544 + <ul class="pic-nav">
  545 + {{#each list}}
  546 + <li>
  547 + <a href="{{href}}">
  548 + <img src="{{src}}">
  549 + </a>
  550 + </li>
  551 + {{/each}}
  552 + </ul>
  553 + {{/ picLink}}
  554 + </script>
  555 + <div id="brand-ad" class="brand-ad"></div>
540 ';}).' 556 ';}).'
541 -'.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">  
542 - '.Plugin\LCRun3::debug('[cardHtml]', 'raw', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml'))).'  
543 - </div>  
544 -';}).'';}).''.' </div> 557 +'.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>
  558 +';}).''.' </div>
545 <div class="list-right pull-right"> 559 <div class="list-right pull-right">
546 '.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"> 560 '.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">
547 <div class="texts pull-left"> 561 <div class="texts pull-left">
@@ -554,8 +568,7 @@ @@ -554,8 +568,7 @@
554 </div> 568 </div>
555 <img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> 569 <img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">
556 </div> 570 </div>
557 -';}).'  
558 -'.''.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"> 571 +';}).''.''.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">
559 <a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'"> 572 <a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'">
560 <img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'"> 573 <img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'">
561 </a> 574 </a>
@@ -574,8 +587,7 @@ @@ -574,8 +587,7 @@
574 <span class="iconfont">&#xe601;</span> 587 <span class="iconfont">&#xe601;</span>
575 </a> 588 </a>
576 </div> 589 </div>
577 -';}).''.'  
578 -'.''.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"> 590 +';}).''.''.''.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">
579 '.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"> 591 '.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">
580 <span class="title">已选条件:</span> 592 <span class="title">已选条件:</span>
581 593
@@ -889,8 +901,7 @@ @@ -889,8 +901,7 @@
889 </div> 901 </div>
890 <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p> 902 <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p>
891 </div> 903 </div>
892 -'.'';}).''.'  
893 -'.''.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'))).'"> 904 +'.'';}).''.''.''.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'))).'">
894 <div class="latest-walk"> 905 <div class="latest-walk">
895 <h2>最近浏览的商品</h2> 906 <h2>最近浏览的商品</h2>
896 <div id="latest-walk-goods" class="goods clearfix"></div> 907 <div id="latest-walk-goods" class="goods clearfix"></div>
@@ -461,16 +461,14 @@ @@ -461,16 +461,14 @@
461 </p> 461 </p>
462 </div> 462 </div>
463 </div> 463 </div>
464 -';}).'  
465 - <div class="center-content clearfix"> 464 +';}).' <div class="center-content clearfix">
466 '.''.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"> 465 '.''.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">
467 '.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> 466 '.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>
468 ';}, 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> 467 ';}, 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>
469 ';}).' 468 ';}).'
470 '.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> 469 '.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>
471 ';}).'';}).' </p> 470 ';}).'';}).' </p>
472 -';}).''.'  
473 -'.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"> 471 +';}).''.''.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">
474 '.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).' 472 '.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).'
475 </div> 473 </div>
476 ';}, function($cx, $in) {return ' <div class="list-left pull-left"> 474 ';}, function($cx, $in) {return ' <div class="list-left pull-left">
@@ -537,11 +535,27 @@ @@ -537,11 +535,27 @@
537 </a> 535 </a>
538 </li> 536 </li>
539 ';}).' </ul> 537 ';}).' </ul>
  538 +';}).'';}).'
  539 +'.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">
  540 + {{# picLink}}
  541 + {{#if picTitle}}
  542 + <h2 class="nav-pic-title">{{picTitle}}</h2>
  543 + {{/if}}
  544 + <ul class="pic-nav">
  545 + {{#each list}}
  546 + <li>
  547 + <a href="{{href}}">
  548 + <img src="{{src}}">
  549 + </a>
  550 + </li>
  551 + {{/each}}
  552 + </ul>
  553 + {{/ picLink}}
  554 + </script>
  555 + <div id="brand-ad" class="brand-ad"></div>
540 ';}).' 556 ';}).'
541 -'.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">  
542 - '.Plugin\LCRun3::debug('[cardHtml]', 'raw', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml'))).'  
543 - </div>  
544 -';}).'';}).''.' </div> 557 +'.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>
  558 +';}).''.' </div>
545 <div class="list-right pull-right"> 559 <div class="list-right pull-right">
546 '.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"> 560 '.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">
547 <div class="texts pull-left"> 561 <div class="texts pull-left">
@@ -554,8 +568,7 @@ @@ -554,8 +568,7 @@
554 </div> 568 </div>
555 <img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> 569 <img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">
556 </div> 570 </div>
557 -';}).'  
558 -'.''.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"> 571 +';}).''.''.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">
559 <a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'"> 572 <a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'">
560 <img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'"> 573 <img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'">
561 </a> 574 </a>
@@ -574,8 +587,7 @@ @@ -574,8 +587,7 @@
574 <span class="iconfont">&#xe601;</span> 587 <span class="iconfont">&#xe601;</span>
575 </a> 588 </a>
576 </div> 589 </div>
577 -';}).''.'  
578 -'.''.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"> 590 +';}).''.''.''.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">
579 '.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"> 591 '.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">
580 <span class="title">已选条件:</span> 592 <span class="title">已选条件:</span>
581 593
@@ -889,8 +901,7 @@ @@ -889,8 +901,7 @@
889 </div> 901 </div>
890 <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p> 902 <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p>
891 </div> 903 </div>
892 -'.'';}).''.'  
893 -'.''.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'))).'"> 904 +'.'';}).''.''.''.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'))).'">
894 <div class="latest-walk"> 905 <div class="latest-walk">
895 <h2>最近浏览的商品</h2> 906 <h2>最近浏览的商品</h2>
896 <div id="latest-walk-goods" class="goods clearfix"></div> 907 <div id="latest-walk-goods" class="goods clearfix"></div>
@@ -461,16 +461,14 @@ @@ -461,16 +461,14 @@
461 </p> 461 </p>
462 </div> 462 </div>
463 </div> 463 </div>
464 -';}).'  
465 - <div class="center-content clearfix"> 464 +';}).' <div class="center-content clearfix">
466 '.''.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"> 465 '.''.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">
467 '.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> 466 '.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>
468 ';}, 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> 467 ';}, 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>
469 ';}).' 468 ';}).'
470 '.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> 469 '.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>
471 ';}).'';}).' </p> 470 ';}).'';}).' </p>
472 -';}).''.'  
473 -'.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"> 471 +';}).''.''.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">
474 '.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).' 472 '.Plugin\LCRun3::debug('[brandAbout]', 'raw', $cx, Plugin\LCRun3::debug('[brandAbout]', 'v', $cx, $in, array('brandAbout'))).'
475 </div> 473 </div>
476 ';}, function($cx, $in) {return ' <div class="list-left pull-left"> 474 ';}, function($cx, $in) {return ' <div class="list-left pull-left">
@@ -537,11 +535,27 @@ @@ -537,11 +535,27 @@
537 </a> 535 </a>
538 </li> 536 </li>
539 ';}).' </ul> 537 ';}).' </ul>
  538 +';}).'';}).'
  539 +'.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">
  540 + {{# picLink}}
  541 + {{#if picTitle}}
  542 + <h2 class="nav-pic-title">{{picTitle}}</h2>
  543 + {{/if}}
  544 + <ul class="pic-nav">
  545 + {{#each list}}
  546 + <li>
  547 + <a href="{{href}}">
  548 + <img src="{{src}}">
  549 + </a>
  550 + </li>
  551 + {{/each}}
  552 + </ul>
  553 + {{/ picLink}}
  554 + </script>
  555 + <div id="brand-ad" class="brand-ad"></div>
540 ';}).' 556 ';}).'
541 -'.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">  
542 - '.Plugin\LCRun3::debug('[cardHtml]', 'raw', $cx, Plugin\LCRun3::debug('[cardHtml]', 'v', $cx, $in, array('cardHtml'))).'  
543 - </div>  
544 -';}).'';}).''.' </div> 557 +'.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>
  558 +';}).''.' </div>
545 <div class="list-right pull-right"> 559 <div class="list-right pull-right">
546 '.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"> 560 '.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">
547 <div class="texts pull-left"> 561 <div class="texts pull-left">
@@ -554,8 +568,7 @@ @@ -554,8 +568,7 @@
554 </div> 568 </div>
555 <img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'"> 569 <img class="pull-right img" src="'.Plugin\LCRun3::debug('[img]', 'encq', $cx, Plugin\LCRun3::debug('[img]', 'v', $cx, $in, array('img'))).'">
556 </div> 570 </div>
557 -';}).'  
558 -'.''.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"> 571 +';}).''.''.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">
559 <a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'"> 572 <a class="pull-left" href="'.Plugin\LCRun3::debug('[home]', 'encq', $cx, Plugin\LCRun3::debug('[home]', 'v', $cx, $in, array('home'))).'">
560 <img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'"> 573 <img class="logo" src="'.Plugin\LCRun3::debug('[logo]', 'encq', $cx, Plugin\LCRun3::debug('[logo]', 'v', $cx, $in, array('logo'))).'">
561 </a> 574 </a>
@@ -574,8 +587,7 @@ @@ -574,8 +587,7 @@
574 <span class="iconfont">&#xe601;</span> 587 <span class="iconfont">&#xe601;</span>
575 </a> 588 </a>
576 </div> 589 </div>
577 -';}).''.'  
578 -'.''.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"> 590 +';}).''.''.''.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">
579 '.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"> 591 '.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">
580 <span class="title">已选条件:</span> 592 <span class="title">已选条件:</span>
581 593
@@ -889,8 +901,7 @@ @@ -889,8 +901,7 @@
889 </div> 901 </div>
890 <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p> 902 <p class="no-tip">建议您:看看输入的文字是否有误 / 减少分类条件限制 / 重新搜索</p>
891 </div> 903 </div>
892 -'.'';}).''.'  
893 -'.''.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'))).'"> 904 +'.'';}).''.''.''.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'))).'">
894 <div class="latest-walk"> 905 <div class="latest-walk">
895 <h2>最近浏览的商品</h2> 906 <h2>最近浏览的商品</h2>
896 <div id="latest-walk-goods" class="goods clearfix"></div> 907 <div id="latest-walk-goods" class="goods clearfix"></div>
@@ -18,8 +18,8 @@ class BrandData @@ -18,8 +18,8 @@ class BrandData
18 { 18 {
19 19
20 const URI_BRAND_TOPPOS = 'operations/api/v5/resource/get'; 20 const URI_BRAND_TOPPOS = 'operations/api/v5/resource/get';
21 - const URL_BRAND_LOGO = '/cmsproduct/service/v1/brands';  
22 - const URL_BRAND_FOLDER = '/cmsproduct/service/v1/brands'; 21 + const URL_BRAND_LOGO = 'cmsproduct/service/v1/brands';
  22 + const URL_BRAND_FOLDER = 'cmsproduct/service/v1/brands';
23 const URL_BRAND_NODECONTENT = '/operations/service/v6/htmlcontent'; 23 const URL_BRAND_NODECONTENT = '/operations/service/v6/htmlcontent';
24 24
25 /** 25 /**
@@ -94,6 +94,18 @@ class BrandData @@ -94,6 +94,18 @@ class BrandData
94 } 94 }
95 95
96 /** 96 /**
  97 + * 通过品牌id获取品牌Folder
  98 + *
  99 + * @param int $brandId 品牌id
  100 + * @param int $status 状态
  101 + * @return array
  102 + */
  103 + public static function getSeries($brandId, $status = 1)
  104 + {
  105 + return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_FOLDER, 'getSeries', array($brandId, $status), 600);
  106 + }
  107 +
  108 + /**
97 * 根据节点和运行模式选择静态内容 109 * 根据节点和运行模式选择静态内容
98 * @param $node 20141219-100447 110 * @param $node 20141219-100447
99 * @param string $mode 111 * @param string $mode
@@ -1487,7 +1487,7 @@ class HelperSearch @@ -1487,7 +1487,7 @@ class HelperSearch
1487 public static function getBannerFormat($brand, $brandBanner) 1487 public static function getBannerFormat($brand, $brandBanner)
1488 { 1488 {
1489 // 根据品牌Id获取品牌banner图 1489 // 根据品牌Id获取品牌banner图
1490 - $bannerImg = Helpers::getImageUrl($brandBanner, '', 150); 1490 + $bannerImg = strstr($brandBanner, '?', true);
1491 $brandHome = Helpers::url('', '', $brand['brand_domain']); 1491 $brandHome = Helpers::url('', '', $brand['brand_domain']);
1492 $brandIntro = Helpers::url('/about', '', $brand['brand_domain']); 1492 $brandIntro = Helpers::url('/about', '', $brand['brand_domain']);
1493 1493
@@ -194,13 +194,28 @@ class BrandsModel @@ -194,13 +194,28 @@ class BrandsModel
194 */ 194 */
195 public static function getAdNav($brandId, $status = 1) 195 public static function getAdNav($brandId, $status = 1)
196 { 196 {
  197 + $result = array();
  198 +
197 //调用接口获得品牌系列数据 199 //调用接口获得品牌系列数据
  200 + $series = BrandData::getSeries($brandId, $status);
198 $advNav = BrandData::getFolderByBrand($brandId, $status); 201 $advNav = BrandData::getFolderByBrand($brandId, $status);
199 - $result = array(); 202 +
  203 + $index = 0;
  204 + if (isset($series['data']) && $series['code'] === 200) {
  205 + foreach ($series['data'] as $value) {
  206 + $result['list'][$index]['href'] = '?series=' . $value['id'];
  207 + $result['list'][$index]['src'] = $value['series_banner'];
  208 + ++ $index;
  209 + }
  210 + //title设置为经典系列
  211 + $result['picTitle'] = '经典系列';
  212 + }
  213 +
200 if (isset($advNav['data']) && $advNav['code'] === 200) { 214 if (isset($advNav['data']) && $advNav['code'] === 200) {
201 - foreach ($advNav['data'] as $key => $value) {  
202 - $result['list'][$key]['href'] = '?folder_id=' . $value['id'];  
203 - $result['list'][$key]['src'] = $value['brand_sort_ico']; 215 + foreach ($advNav['data'] as $value) {
  216 + $result['list'][$index]['href'] = '?folder_id=' . $value['id'];
  217 + $result['list'][$index]['src'] = $value['brand_sort_ico'];
  218 + ++ $index;
204 } 219 }
205 //title设置为经典系列 220 //title设置为经典系列
206 $result['picTitle'] = '经典系列'; 221 $result['picTitle'] = '经典系列';
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.15" 53 +application.version = "0.0.16"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.15" 53 +application.version = "0.0.16"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.15" 53 +application.version = "0.0.16"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.15" 53 +application.version = "0.0.16"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"