{{define "circleplus_post"}}
← 返回 {{.Data.Circle.Name}} · 贴吧 {{if .Data.IsManager}} {{ico "shield"}} 吧务 {{end}} {{ico "layout"}} 圈子版
{{/* 主楼 = 1 楼 */}}
{{ico "compass"}} {{.Data.Circle.Name}} {{if eq .Data.Post.Sticky 1}}置顶{{end}} {{if eq .Data.Post.Featured 1}}{{ico "spark"}} 精华{{end}} {{if ne .Data.Post.Type "text"}} {{if eq .Data.Post.Type "poll"}}{{ico "check"}} 投票 {{else if eq .Data.Post.Type "gallery"}}{{ico "image"}} 多图 {{else if eq .Data.Post.Type "debate"}}{{ico "sliders"}} 辩论 {{else if eq .Data.Post.Type "product"}}{{ico "bag"}} 商品 {{else if eq .Data.Post.Type "longform"}}{{ico "file"}} 长文 {{else if eq .Data.Post.Type "video"}}{{ico "camera"}} 视频 {{end}} {{end}}

{{.Data.Post.Title}}

1 楼
{{.Data.Post.Author}} {{ico "clock"}} {{dateTime .Data.Post.CreatedAt}} {{.Data.ReplyCount}} 回复
{{if .Data.IsManager}}
{{if $.CSRF}}{{end}}
{{if $.CSRF}}{{end}}
{{end}}
{{if eq .Data.Post.Type "longform"}}
{{.Data.Body}}
{{else}}
{{.Data.Body}}
{{end}} {{/* 类型区块在圈子原详情页完整交互;贴吧楼层流仅保留正文,交互引导回圈子版 */}} {{if or (eq .Data.Post.Type "poll") (eq .Data.Post.Type "gallery") (eq .Data.Post.Type "product") (eq .Data.Post.Type "debate") (eq .Data.Post.Type "video")}}

{{ico "info"}} 本帖为{{if eq .Data.Post.Type "poll"}}投票{{else if eq .Data.Post.Type "gallery"}}多图{{else if eq .Data.Post.Type "product"}}商品{{else if eq .Data.Post.Type "debate"}}辩论{{else}}视频{{end}}帖,完整交互请在 圈子版详情中操作。

{{end}}
{{template "fav_button" dict "VD" . "Type" "circle" "Key" (printf "%d" .Data.Post.ID) "Title" .Data.Post.Title "URL" (printf "/circles/%s/post/%d/tieba" .Data.Circle.Slug .Data.Post.ID)}}
{{if $.CSRF}}{{end}}
{{/* 回复输入(仅吧模式,未封禁可发) */}} {{if .Data.CurrentUser}} {{if .Data.Banned}}
你已被本吧封禁,无法回复。
{{else}}
{{if $.CSRF}}{{end}}
回复占一层楼
{{end}} {{else}}
登录后才能回复。去登录
{{end}} {{/* 楼层流:2 楼起按序展示,楼中楼嵌套 */}}

全部回复({{.Data.ReplyCount}})

{{range .Data.Replies}}
{{.Floor}} 楼 {{.Author}} {{dateTime .CreatedAt}} {{ico "reply"}} 回复
{{if $.CSRF}}{{end}}
{{.Content}}
{{/* 楼中楼(嵌套回复) */}} {{range .Children}}
回复 {{.Author}} {{dateTime .CreatedAt}}
{{.Content}}
{{range .Children}}
{{.Author}} · {{dateTime .CreatedAt}}
{{.Content}}
{{end}}
{{end}} {{if $.Data.CurrentUser}} {{end}}
{{else}}

还没有回复

抢个沙发,做 2 楼。

{{end}}

楼层流由「圈吧模式」插件提供 · 圈子与贴吧共享同一份数据

{{template "module_meta" .}}
{{end}}