# 自定义标签搜索

**URL:** https://meta.discourse.org/t/customize-tag-search/213154
**Category:** Development
**Created:** [2021年十二月27日 04:58 UTC](https://meta.discourse.org/t/customize-tag-search/213154 "2021-12-27T04:58:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kumar\_Karuppaiah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kumar_karuppaiah/32/243669_2.png) [@Kumar\_Karuppaiah](https://meta.discourse.org/u/Kumar_Karuppaiah)
#### Post date: [2021年十二月27日 04:58 UTC](https://meta.discourse.org/t/customize-tag-search/213154/1 "2021-12-27T04:58:28Z")

</div>

您好，

根据要求，我需要像下面附加的屏幕截图一样显示标签，而不是在下拉控件中显示。

现有设计：

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/b/6be682f23d6efeb7cf0dddc8a3ef08ff1d1bf1e3.png)

建议设计：

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/8/38179afbceaf5b630ddf8ed1b21c622f90ca3416.png)

有人能帮忙吗？

---

<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: [2021年十二月27日 07:48 UTC](https://meta.discourse.org/t/customize-tag-search/213154/2 "2021-12-27T07:48:27Z")

</div>

请看：

> [@A tour of how the Widget (Virtual DOM) code in Discourse works](https://meta.discourse.org/t/a-tour-of-how-the-widget-virtual-dom-code-in-discourse-works/40347?u=merefield):
>
> This is out of date. See [Widgets, the Widget API and their roadmap?](https://meta.discourse.org/t/widgets-the-widget-api-and-their-roadmap/292624) The latest builds of Discourse are much faster at rendering topics thanks to our [re-written post stream](https://eviltrout.com/2016/02/25/fixing-android-performance.html). I’ve written up [our new plugin API](https://meta.discourse.org/t/a-new-versioned-api-for-client-side-plugins/40051) but so far haven’t explained how the code all fits together. The purpose of this topic is to allow Discourse developers to understand how the new code works. What’s a Virtual DOM? A Virtual DOM is a data structure that enables browsers to re-render dynamic content very quickly. The techniq…

以及一些现有的类似工作：

> [@🏷️ Bars Tag List Component](https://meta.discourse.org/t/tag-list-widget-layouts-plugin/202572?u=merefield):
>
> eyeglasses Overview The Tag List Widget allows you to display tags from Discourse in a sidebar using my [Bars!](https://meta.discourse.org/t/discourse-bars/298216) cocktail beers or [the Right Sidebar Blocks](https://meta.discourse.org/t/right-sidebar-blocks/231067) Theme Components. link Quick Links [octopus Get the code](https://github.com/merefield/discourse-tc-bars-tag-list-component)gear use tag-list-component for component name in Bars! gear Settings The widget allows for some configurability with [settings](https://github.com/paviliondev/layouts-tag-list-widget#%EF%B8%8F-settings) such as: see_no_evil Hiding specific tagspage_with_curl Changing display styles (row or column)hash Showing c…

> **[GitHub - merefield/discourse-tc-tag-cloud: A Discourse Theme Component that displays a tag...](https://github.com/merefield/discourse-tc-tag-cloud)**
>
> A Discourse Theme Component that displays a tag cloud above the tag lists on the tags page

---

<div class="post-metadata">

### Author: ![Kumar\_Karuppaiah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kumar_karuppaiah/32/243669_2.png) [@Kumar\_Karuppaiah](https://meta.discourse.org/u/Kumar_Karuppaiah)
#### Post date: [2021年十二月27日 07:56 UTC](https://meta.discourse.org/t/customize-tag-search/213154/3 "2021-12-27T07:56:35Z")

</div>

非常感谢。我将去探索它。
