<%/* 遍历年份 */%> <%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%>
<%/* 分享描述 */%>

<%:=API.Common.formatContent(share.nickname)%> 分享<%:=API.Shares.getDisplayType(share.type)%><%:=API.Common.formatContent(share.desc, "HTML", false, false)%>

<%/* 分享源标题 */%> <%if(share.source && share.source.title){%>

<%:=share.source.title%>

<%}%> <%/* 分享源描述 */%> <%if(share.source && share.source.desc){%>

<%:=API.Common.formatContent(share.source.desc, "HTML", false, false)%>

<%}%> <%/* 分享内容 */%> <%/* 多媒体内容 */%>
<%/* 分享源图片 */%> <%if(share.source.images){%> <%for(let image of share.source.images){%> <%}%> <%}%>
<%/* 分享评论 */%> <%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.Common.formatContent(comment.content)%>

<%/* 评论图片 */%> <%if(comment.pic){%> <%for(let image of comment.pic){%> <%}%> <%}%>
<%/* 评论回复 */%> <%if(comment.replies){%> <%for(let reply of comment.replies){%>
<%:=API.Common.formatContent(reply.poster.name)%> <%if(reply.private){%> 私密回复 <%}%>
<%:=API.Utils.formatDate(reply.postTime)%>
<%/* 回复内容 */%>

<%:=API.Common.formatContent(reply.content)%>

<%/* 回复图片 */%> <%if(reply.pic){%> <%for(let image of reply.pic){%> <%}%> <%}%>
<%}%> <%}%>
<%}%> <%}%>
<%/* 分享源来源 */%> <%if(share.source && share.source.from){%> <%}%>
<%}%> <%}%> <%}%>