联系官方销售客服
1835022288
028-61286886
show页面评论如何按照点赞最多排序?
<div class="ds-sort"> <a class="ds-order-desc {if !$type}ds-current{/if}" href="javascript:{$js}(0, 1);"> 最新 </a> <a class="ds-order-asc {if $type==1}ds-current{/if}" href="javascript:{$js}(1, 1);"> 最早 </a> <a class="ds-order-hot {if $type==2}ds-current{/if}" href="javascript:{$js}(2, 1);"> 最热 </a> <a class="ds-order-hot {if $type==3}ds-current{/if}" href="javascript:{$js}(3, 1);"> 评分 </a> <a class="ds-order-hot {if $type==4}ds-current{/if}" href="javascript:{$js}(4, 1);"> 点赞 </a> </div>