{{# var rows = d.rows; }} {{= rows.title}} - {{lay.base.name}} {{ include ../common/link }} {{ include ../common/header }}
{{ include ../common/column }}
{{# var myself = rows.uid === user.id; }}

{{=rows.title}}

{{# if(rows.status == -1){ }} 审核中 {{# } }} {{ lay.base.classes[rows['class']] ? lay.base.classes[rows['class']].title : '提问' }} {{# if(rows.accept === -1){ }} 未结 {{# } else if(rows.accept >= 0 ){ }} 已结 {{# } }} {{ rows.stick > 0 ? '置顶' :'' }} {{ rows.status == 1 ? '精帖' : ''}}
{{# if(user.auth == 1){ }} 删除 {{# } }} {{# if(user.auth == 1){ }} {{# if(rows.stick > 0){ }} 取消置顶 {{# } else { }} 置顶 {{# }; if(rows.status == 1){ }} 取消加精 {{# } else { }} 加精 {{# }; } }}
{{rows.comment}} {{rows.hits}}
{{rows.user.username}}
悬赏:{{rows.experience}}飞吻 {{# if((user.username && myself && rows.accept == -1) || user.auth == 1){ }} 编辑此贴 {{# } }}
{{# if(rows['class'] == '0' && rows.spe){ }}
版本:{{ rows.spe.project || '' }} {{ rows.spe.version || '' }} 浏览器:{{ rows.spe.browser || '' }}
{{# } }} {{ d.content(rows.content) }}
{{# var jieda = rows.jieda; }}
回帖
    {{# jieda.forEach(function(item, index){ var myda = item.user.username === user.username; }}
  • {{item.user.username}}
    {{item.user.username}} {{# if(item.user.approve){ }} {{# } }} {{# if(item.user.rmb){ }} {{ lay.util.vipBadge(item.user.rmb) }} {{# } }} {{# if(item.user.username === rows.username){ }} (楼主) {{# } else if(item.user.auth == 1) { }} (管理员) {{# } else if(item.user.auth == 2) { }} (社区之光) {{# } else if(item.user.auth == -1) { }} (该号已被封) {{# } }}
    {{lay.time(item.time, true)}}
    {{# if(item.id == rows.accept){ }} {{# } }}
    {{ d.content(item.content) }}
    {{item.praise}} 回复 {{# if(user.auth == 1 || user.auth == 2 || (user.username && myself && !myda)){ }}
    {{# if(user.auth == 1 || (user.auth == 2 && item.accept != 1)){ }} 编辑 删除 {{# if(rows.accept == -1){ }} 采纳 {{# } }} {{# } else if(rows.accept == -1 && !myda){ }} 采纳 {{# } }}
    {{# } }}
  • {{# }); if(jieda.length === 0){ }}
  • 消灭零回复
  • {{# } }}
{{ d.laypage }}
{{ include ../common/list-hot }} {{ include ../ad/detail }} {{ include ../ad/ours }}
layui

微信扫码关注 layui 公众号

{{ include ../common/footer }}