<%/* 遍历年份 */%>
<%for (var yearMap of sharesMaps) {%>
<%/* 年份 */%>
<%for (var monthMap of yearMap[1]) {%>
<%/* 月份 */%>
<%/* 月份数据 */%>
<%for (let index = 0; index < monthMap[1].length; index++) {%>
<%const share = monthMap[1][index]%>
<%total = total -1%>
<%}%>
<%}%>
<%}%>
<%/* 分享描述 */%>
<%}%>
<%}%>
<%/* 分享源来源 */%>
<%if(share.source && share.source.from){%>
<%:=API.Common.formatContent(share.nickname)%> 分享<%:=API.Shares.getDisplayType(share.type)%>:<%:=API.Common.formatContent(share.desc, "HTML", false, false)%>
<%/* 分享源标题 */%> <%if(share.source && share.source.title){%> <%}%> <%/* 分享源描述 */%> <%if(share.source && share.source.desc){%><%:=API.Common.formatContent(share.source.desc, "HTML", false, false)%>
<%}%> <%/* 分享内容 */%> <%/* 多媒体内容 */%> <%/* 分享评论 */%> <%if(share.comments && share.comments.length > 0){%> <%/* 遍历评论 */%> <%for(let comment of share.comments){%>
<%/* 评论 */%>
<%:=API.Common.formatContent(comment.poster.name)%>
<%if(comment.private){%>
私密评论
<%}%>
<%:=API.Utils.formatDate(comment.postTime)%>
<%:=API.Utils.formatDate(comment.postTime)%>
<%/* 评论内容 */%>
<%}%>
<%}%>
<%/* 评论回复 */%>
<%if(comment.replies){%>
<%for(let reply of comment.replies){%>
<%:=API.Common.formatContent(comment.content)%>
<%/* 评论图片 */%> <%if(comment.pic){%> <%for(let image of comment.pic){%>- <%if(share.source.from.name){%> 来自<%:=share.source.from.name%> <%}%> 共分享<%:=share.source.count%>次
<%:=API.Utils.formatDate(share.shareTime)%>
#<%:=total + 1 %>
<%:=share.likeTotal || 0 %>
<%:=share.custom_visitor && share.custom_visitor.viewCount || 0 %>
<%:=API.Utils.formatDate(reply.postTime)%>