update for channel page. code review by HongFei
Showing
2 changed files
with
3 additions
and
5 deletions
@@ -1375,9 +1375,7 @@ | @@ -1375,9 +1375,7 @@ | ||
1375 | 'entitle' : 'LIFESTYLE', | 1375 | 'entitle' : 'LIFESTYLE', |
1376 | } | 1376 | } |
1377 | ], | 1377 | ], |
1378 | - 'yohoodChannel' : { | ||
1379 | - show: true/false, | ||
1380 | - href: '/yohood' | ||
1381 | - } | 1378 | + 'showYohood' : true/false, |
1379 | + 'yohoodHref' : '/yohood' | ||
1382 | } | 1380 | } |
1383 | 1381 |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | <a href="{{href}}" class="list-item">{{title}} <span class="lighter">{{entitle}}</span> <span class="iconfont right-icon"></span></a> | 23 | <a href="{{href}}" class="list-item">{{title}} <span class="lighter">{{entitle}}</span> <span class="iconfont right-icon"></span></a> |
24 | {{/channelList}} | 24 | {{/channelList}} |
25 | {{#showYohood}} | 25 | {{#showYohood}} |
26 | - <a href="/yohood" id="yohood" class="list-item"> <span class="iconfont right-icon"></span></a> | 26 | + <a href="{{yohoodHref}}" id="yohood" class="list-item"> <span class="iconfont right-icon"></span></a> |
27 | {{/showYohood}} | 27 | {{/showYohood}} |
28 | </div> | 28 | </div> |
29 | </div> | 29 | </div> |
-
Please register or login to post a comment