<span>评论区:</span>
<ul class="list-group" v-for=item,key in comment_data">
<li list-group-item">
<p><span nid">#{% verbatim %} {{ key+1 }} {% endverbatim %}楼</span>
<span>{% verbatim %} {{ item.create_time }} {% endverbatim %}</span>
<span "><i>评价用户:</i>{% verbatim %} {{ item.username }} {% endverbatim %}</span>
</p>
<p comment_com
{% verbatim %} {{ item.content }} {% endverbatim %}
<a href=javascript:;" fl-rightif=is_delete==true" :value="item.pk">删除</a></p>
</li>
</ul>
<textarea type=text" id=remark"" v-model=comment_datas"></textarea>
<p>
<button type=buttonbtn btn-primary" @click=submit">提交评论</button>
</p>
// 删除评论
comment_delete(event){
console.log(event.target.getAttribute('value'));
}