# 主题列表预览（TLP）

**URL:** https://meta.discourse.org/t/topic-list-previews-tlp/209973
**Category:** Theme component
**Created:** [2021 年11 月 23 日 12:25 UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973 "2021-11-23T12:25:59Z")
**Posts on this page:** 1
**Showing post:** 735

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2026 年6 月 3 日 16:44 UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/735 "2026-06-03T16:44:58Z")

</div>

由于社区 PR 的提交，现在图块的空白区域也可点击：

> <https://github.com/merefield/discourse-tc-topic-list-previews/pull/61>
>
> Fixes #60.
> 
> In tile mode, topic preview cards use pointer cursor styling, but …clicking blank/non-interactive space inside the tile does not navigate anywhere.
> 
> This adds a topic-list-item-click behavior transformer so blank tile space navigates to the same topic destination used by the title link.
> 
> The change avoids handling clicks on interactive elements such as links, buttons, inputs, avatars, tags, category links, badges, topic actions, and topic status elements.
> 
> Tested on a Discourse install by temporarily installing this branch as a theme component and confirming:
> \- blank space inside the tile navigates to the topic
> \- title/image/excerpt links still work
> \- avatars, tags, category links, badges, and topic actions are not intercepted

🚀 🙏

当前功能说明：

- 点击标题或空白区域（新增功能）将像核心功能一样，跳转至第一条未读帖子
- 点击缩略图将跳转至原帖（OP）（图片通常位于此处——将此处改为跳转至所选图片是一个值得列入路线图的功能）
- 点击摘要将跳转至原帖（OP）

如果您安装了 sidecar 插件，作者、版主、TL3 用户或管理员还可以针对每个主题单独调整此行为，使点击预览的任何区域都跳转至最后一条帖子。

---

_[View the full topic](https://meta.discourse.org/t/topic-list-previews-tlp/209973)._
