<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.Comment.CommentListData" %> <% if (this._ListComment != null && this._ListComment.Count > 0) { %> <%--
<%= new PagerAjaxInstance(this) { RecordCount = this.RecordCount, PageRecordSize = this.PageRecordSize, PageIndex = this.PageIndex, PageJsFn = "GetCommentList({0})", TransferControl="/PagerAjaxHtml5" }.ToHtml()%>
--%>
<% for (var i = 0; i < this._ListComment.Count; i++ ) { var comment = this._ListComment[i]; %>
<%= new HtmlImg( SettingGroup.UserHeadPortraitL(comment.ParentUser)){Title=comment.ParentUser.TrueName, OnErrorImg=SettingGroup.DefauteUserImg, Class="img-circle"}%>
<%= new HtmlAnchor(comment.ParentUser.TrueName) { Target = "_blank", Href = WebUrl.Show(comment.ParentUser.ParentDomain.Code, comment.ParentUser.UserName), Title = comment.ParentUser.ParentDomain.Name, Class = "user-name" }%>:   <%= comment.CreateTime%> 
<%= comment.CommentText%>
<% } %>
<%= new PagerAjaxInstance(this) { RecordCount = this.RecordCount, PageRecordSize = this.PageRecordSize, PageIndex = this.PageIndex, PageJsFn = "GetCommentList({0})", TransferControl="/PagerAjaxHtml5" }.ToHtml()%>
<% } else { %>
暂无评论
<%} %>