consult-item.hbs 981 Bytes

{{# consults}}
 <div class="common-question">
   <p>
     <span class="top-question">
       <i class="iconfont">&#xe695;</i>
       <span class="question">{{question}}</span>
       <span class="right-time">{{date}}</span>
     </span>
     <span class="answer-wrapper clearfix">
       <i class="iconfont">&#xe696;</i>
       <span class="answer">
             {{answer}}
       </span>
     </span>
   </p>
   <div class="common-zan">
     <div class="zan-content">
     <span class="icon-border" data-id="{{id}}">
       <i class="iconfont cuslike{{#if isLike}} getzan{{/if}}" data-id="{{id}}" data-like="{{like}}">&#xe6bb;</i>
<em class="likeNum">{{like}}</em>
     </span>
     <span class="usefulData" data-id="{{id}}">
       <i class="iconfont cususeful{{#if isUseful}} getzan{{/if}}" data-id="{{id}}" data-useful="{{useful}}">&#xe641;</i>有用
<em class="usefulNum">{{useful}}</em>
     </span>
     </div>
   </div>
 </div>
{{/ consults}}