ul#news li(v-for="item in news") div.tool a(v-bind:class="{active:item.comment.length && !item.showComment}") {{item.source}} a(v-if="item.comment.length && item.showComment",v-bind:class="{active:item.comment.length}") 评论({{item.comment.length}}) ul.comment(v-if="item.comment.length") li(v-for='comment in item.comment') {{comment.text}}