consult-item.hbs
981 Bytes
{{# consults}}
<div class="common-question">
<p>
<span class="top-question">
<i class="iconfont"></i>
<span class="question">{{question}}</span>
<span class="right-time">{{date}}</span>
</span>
<span class="answer-wrapper clearfix">
<i class="iconfont"></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}}"></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}}"></i>有用
(<em class="usefulNum">{{useful}}</em>)
</span>
</div>
</div>
</div>
{{/ consults}}