code review by fei.hong: do merge new sale list and search codes
Showing
3 changed files
with
45 additions
and
10 deletions
@@ -537,11 +537,27 @@ | @@ -537,11 +537,27 @@ | ||
537 | </a> | 537 | </a> |
538 | </li> | 538 | </li> |
539 | ';}).' </ul> | 539 | ';}).' </ul> |
540 | +';}).'';}).' | ||
541 | +'.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"> | ||
542 | + {{# picLink}} | ||
543 | + {{#if picTitle}} | ||
544 | + <h2 class="nav-pic-title">{{picTitle}}</h2> | ||
545 | + {{/if}} | ||
546 | + <ul class="pic-nav"> | ||
547 | + {{#each list}} | ||
548 | + <li> | ||
549 | + <a href="{{href}}"> | ||
550 | + <img src="{{src}}"> | ||
551 | + </a> | ||
552 | + </li> | ||
553 | + {{/each}} | ||
554 | + </ul> | ||
555 | + {{/ picLink}} | ||
556 | + </script> | ||
557 | + <div id="brand-ad" class="brand-ad"></div> | ||
540 | ';}).' | 558 | ';}).' |
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> | 559 | +'.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> |
560 | +';}).''.' </div> | ||
545 | <div class="list-right pull-right"> | 561 | <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"> | 562 | '.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"> | 563 | <div class="texts pull-left"> |
This diff could not be displayed because it is too large.
@@ -88,10 +88,29 @@ | @@ -88,10 +88,29 @@ | ||
88 | {{/each}} | 88 | {{/each}} |
89 | </ul> | 89 | </ul> |
90 | {{/ picLink}} | 90 | {{/ picLink}} |
91 | - | ||
92 | - {{#if cardHtml}} | ||
93 | - <div class="brand-card"> | ||
94 | - {{{cardHtml}}} | ||
95 | - </div> | ||
96 | - {{/if}} | ||
97 | {{/ leftContent}} | 91 | {{/ leftContent}} |
92 | + | ||
93 | +{{#if brandBanner.dataId}} | ||
94 | + <script id="pic-link-tpl" type="text/html"> | ||
95 | + \{{# picLink}} | ||
96 | + \{{#if picTitle}} | ||
97 | + <h2 class="nav-pic-title">\{{picTitle}}</h2> | ||
98 | + \{{/if}} | ||
99 | + <ul class="pic-nav"> | ||
100 | + \{{#each list}} | ||
101 | + <li> | ||
102 | + <a href="\{{href}}"> | ||
103 | + <img src="\{{src}}"> | ||
104 | + </a> | ||
105 | + </li> | ||
106 | + \{{/each}} | ||
107 | + </ul> | ||
108 | + \{{/ picLink}} | ||
109 | + </script> | ||
110 | + <div id="brand-ad" class="brand-ad"></div> | ||
111 | +{{/if}} | ||
112 | + | ||
113 | +{{!-- 水牌广告 --}} | ||
114 | +{{#if node}} | ||
115 | + <div id="brand-card" class="brand-card" data-node="{{node}}"></div> | ||
116 | +{{/if}} |
-
Please register or login to post a comment