consult-item.hbs
886 Bytes
{{# consults}}
<div class="common-question">
<p>
<span class="top-question">
<i class="iconfont"></i>
<small>{{question}}</small>
<small class="right-time">{{date}}</small>
</span>
<span>
<i class="iconfont"></i>
{{answer}}
</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}}