<#if id?has_content> <@_comment id=id> <#assign text=object.text!/>
<@_includePlace path="/76c53ac2-4f88-4ef3-984b-c81d00a48089.html"/> <#-- 头部Header -->
<@_includePlace path="/23e95a91-0063-4498-99ef-aa3fc4a79c4c.html"/> <#-- 导航 -->
<@_includePlace path="/c936c718-5f19-426f-b3ff-13a5a8d63044.html"/> <#-- 个人中心导航 -->

# ${content.title}

${content.description!}

${content.scores!} 赞 <#if user?has_content> <@_userScore userId=user.id itemType='content' itemId=content.id> 取消点赞 <#assign stared=true/> <#if !stared?has_content>点赞
<@import path="ftl/tools.ftl" namespace="t"/> <#if error?has_content>

<@t.m error/>

<#if user?has_content> <#if !pageIndex?has_content || pageIndex=1>

发布评论：${(user.nickName)!}

<#if replyId?has_content>

<@_comment id=replyId>@<@_sysUser id=object.userId>${object.nickName} : ${object.text!}

${text!}
<@_commentList advanced=true userId=user.id contentId=content.id status=2> <#if page.totalCount gt 0>

### 我的待审核评论

<#list page.list as a> <@t.merge 'userIds' a.replyUserId!/> <@_sysUser ids=t.userIds!><#assign userMap=map!/> <#list page.list as a>

- ${a.createDate}编辑

  <#if a.replyId?has_content> <@_comment id=a.replyId>

  ${userMap[a.userId?string].nickName} : ${object.text!}

  ${a.text!}

<#else>
登录后发布评论
<@_commentList contentId=content.id pageIndex=pageIndex pageSize=10> <#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'userIds' a.replyUserId!/> <@_sysUser ids=t.userIds!><#assign userMap=map!/> <#if page.totalCount gt 0>

### 内容评论

<#list page.list as a>

- ${userMap[a.userId?string].nickName} ${a.createDate?string('yyyy-MM-dd HH:mm')}回复

  <#if a.replyId?has_content> <@_comment id=a.replyId>

  @${userMap[a.userId?string].nickName} : ${object.text!}

  ${a.text!}

<#if page??>
<#if !page.firstPage> 上一页 <#else> 上一页 <#assign start=1/> <#if (page.pageIndex-5) gt start> <#assign start=page.pageIndex-4/> <#assign end=page.totalPage/> <#if (page.pageIndex+5) lt end> <#assign end=page.pageIndex+4/> <#if start gt 1> 1 ... <#list start..end as n> class="selected">${n} <#if end lt page.totalPage> ... ${page.totalPage} <#if !page.lastPage> 下一页 <#else> 下一页
<@_includePlace path="/cc29e896-332a-46d8-9bcb-d48e92144e9c.html"/> <#-- 尾部Footer -->