Authored by xuqi

good info filter false

1 -<div class="good-info" data-id="{{id}}"> 1 +{{#if .}} {{!-- 剔除值为false的项 --}}
  2 + <div class="good-info" data-id="{{id}}">
2 <div class="tag-container clearfix"> 3 <div class="tag-container clearfix">
3 {{# tags}} 4 {{# tags}}
4 {{# is_new}} 5 {{# is_new}}
@@ -37,4 +38,5 @@ @@ -37,4 +38,5 @@
37 {{/price}} 38 {{/price}}
38 </div> 39 </div>
39 </div> 40 </div>
40 -</div> 41 + </div>
  42 +{{/if}}