Authored by Lynnic

修改商品详情页中折扣信息的页面逻辑错误

@@ -66,20 +66,28 @@ @@ -66,20 +66,28 @@
66 66
67 {{# goodsDiscount}} 67 {{# goodsDiscount}}
68 <div class="goodsDiscount"> 68 <div class="goodsDiscount">
69 - {{# list}} 69 + {{# list}}
70 {{#if @first}} 70 {{#if @first}}
71 - <h1 class="first-item">{{text}}<span class="icon-down iconfont dropdown">&#xe609;</span></h1> 71 + {{#if text}}
  72 + <h1 class="first-item">{{text}}<span class="icon-down iconfont dropdown">&#xe609;</span></h1>
  73 + {{/if}}
  74 + {{/if}}
  75 + {{/ list}}
72 <div class="discount-folder"> 76 <div class="discount-folder">
  77 + {{# list}}
  78 + {{#if @first}}
73 {{else}} 79 {{else}}
  80 + {{#if text}}
74 <h1 class="folder-item">{{text}}</h1> 81 <h1 class="folder-item">{{text}}</h1>
75 {{/if}} 82 {{/if}}
76 - {{/ list}}  
77 - </div> 83 + {{/if}}
  84 + {{/list}}
  85 + </div>
78 </div> 86 </div>
79 {{/ goodsDiscount}} 87 {{/ goodsDiscount}}
80 88
81 - <div class="feedback-list ">  
82 {{# feedbacks}} 89 {{# feedbacks}}
  90 + <div class="feedback-list ">
83 {{#if commentsNum}} 91 {{#if commentsNum}}
84 {{> product/feedback-tab}} 92 {{> product/feedback-tab}}
85 {{else}} 93 {{else}}
@@ -92,8 +100,8 @@ @@ -92,8 +100,8 @@
92 </div> 100 </div>
93 {{/if}} 101 {{/if}}
94 {{/if}} 102 {{/if}}
95 - {{/ feedbacks}}  
96 </div> 103 </div>
  104 + {{/ feedbacks}}
97 105
98 {{# enterStore}} 106 {{# enterStore}}
99 <div id="enter-store" class="enter-store page-block"> 107 <div id="enter-store" class="enter-store page-block">