<%/* 遍历年份 */%> <%for (var yearMap of messageMaps) {%> <%/* 年份 */%> <%for (var monthMap of yearMap[1]) {%> <%/* 月份 */%> <%/* 月份数据 */%> <%for (let index = 0; index < monthMap[1].length; index++) {%> <%const message = monthMap[1][index]%> <%total = total -1%>
<%/* 说说内容 */%> <%/* 说说全文 */%> <%if(message.has_more_con){%>
查看全文
<%:=API.Common.formatContent(message, "HTML", false, false)%>
<%}else{%>
<%:=API.Common.formatContent(message, "HTML", false, false)%>
<%}%> <%/* 语音内容 */%> <%if(message.custom_voices){%> <%for (const voice of message.custom_voices) {%> <%}%> <%}%> <%/* 转发内容 */%> <%if(message.rt_tid){%>
<%:=API.Common.formatContent(message.rt_uinname)%>: <%/* 转发全文 */%> <%if(message.rt_has_more_con && message.rt_con){%>
查看全文
<%:=API.Common.formatContent(message, "HTML", true, false)%>
<%}else{%>
<%:=API.Common.formatContent(message, "HTML", true, false)%>
<%}%> <%}%> <%/* 多媒体内容 */%>
<%/* 视频内容(一般为单视频) */%> <%if(message.custom_videos){%> <%for(let video of message.custom_videos){%> <%if (API.Videos.isExternalVideo(video)) {%> <%}else{%> <%/* 空间视频 */%> <%}%> <%}%> <%}%> <%/* 图片内容(含视频,即同时存在图片与视频) */%> <%if(message.custom_images){%> <%for(let image of message.custom_images){%> <%if(image.is_video && image.video_info){%> <%if (API.Videos.isExternalVideo(image.video_info)) {%> <%}else{%> <%/* 空间视频 */%> <%}%> <%}else{%> <%}%> <%}%> <%}%> <%/* 动画表情内容(目前只支持一个) */%> <%if(message.custom_magics){%> <%for(let image of message.custom_magics){%>
<%}%> <%}%>
<%/* 音乐内容(目前已无法正常播放,直接显示专辑图片与歌曲信息) */%> <%if(message.custom_audios && message.audiototal > 0){%>
<%}%> <%/* 投票内容(待定) */%> <%/* 说说评论 */%> <%if(message.custom_comments && message.custom_comments.length > 0){%> <%/* 遍历评论 */%> <%for(let comment of message.custom_comments){%>
<%/* 评论 */%>
<%:=API.Common.formatContent(comment.name)%> <%if(comment.private){%> 私密评论 <%}%>
<%:=comment.createTime2%>
<%/* 评论内容 */%>

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

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

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

<%/* 回复图片 */%> <%if(reply.pic){%> <%for(let image of reply.pic){%> <%}%> <%}%>
<%}%> <%}%>
<%}%> <%}%>
<%}%> <%}%> <%}%>