{{define "forum_index"}}
💬 共鸣板 · 声音自己找同频

把声音
调出来

这里不按时间流水账排队,也没有可以刷的票——说得越认真,回声越响。 深度的讨论会浮上来,灌水的帖子自然沉底,吵起来的会被一眼看穿。

{{.Data.Total}}全部回声
{{len .Data.Sections}}个版块
{{len .Data.Voices}}位发声人
{{if .Data.Sections}}

🎙 开一帖,说点什么

{{if .Data.Err}}
{{.Data.Err}}
{{end}} {{if .Data.CurrentUser}}
{{if $.CSRF}}{{end}}

以 {{.Data.CurrentUser}} 的身份发布

可一次多选,自动压缩后拼成画廊;第一张会成为封面。

正 方
反 方

发布时自动抓取商品图、标题、价格,拼成信息完整的大卡片。

可内嵌的平台直接在站内播放(左视频右评论 / 上视频下评论),其余显示跳转卡片。

💡 标题不填也能发:文字帖自动取正文首句,其他类型有专属占位标题。
{{else}} {{end}}
{{end}}

正在回响 波形越高,回声越响

{{range .Data.Threads}}

{{if eq .Sticky 1}}置顶{{end}} {{.Title}}

{{if eq .Status "hot"}}在聊{{else if eq .Status "fire"}}争议{{else}}沉底{{end}} {{if ne .Type "text"}} {{if eq .Type "poll"}}🗳 投票 {{else if eq .Type "gallery"}}🖼 多图 {{else if eq .Type "debate"}}⚖ 辩论 {{else if eq .Type "product"}}🛒 商品 {{else if eq .Type "longform"}}📜 长文 {{else if eq .Type "video"}}🎬 视频 {{end}} {{end}} {{.SectionName}} {{.Author}} {{date .CreatedAt}} {{.ReplyCount}} 回声{{if gt .DeepReplies 0}} · {{.DeepReplies}} 深度{{end}} {{.Views}} 听
{{.EchoIndex}} 回声指数
{{else}}

这里还很安静

还没有人发帖,第一个话题由你来开。

{{end}} {{template "pagination" .}}

频道 · 音轨卡片墙

{{range .Data.Sections}}
{{.Name}} {{.ThreadCount}} 主题 {{template "follow_button" dict "VD" $ "Type" "section" "Key" (printf "%d" .ID) "Title" .Name "URL" "/forum" "Self" ""}}

{{.Description}}

「{{.Mood}}」

{{else}}

还没有版块

管理员到后台建一个版块,论坛就有地方聊天了。

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