# 让移动端更容易找到“注册”按钮

**URL:** <https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022>\
**Category:** Feature\
**Created:** [2026年五月28日 16:07 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022 "2026-05-28T16:07:27Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**Post date:** [2026年五月28日 16:07 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/1 "2026-05-28T16:07:27Z")

</div>

Discourse 在移动端不显示“注册”按钮，只显示“登录”。如果用户想到点击“登录”按钮，会在页面底部找到“注册”链接，但这需要一番寻找。（这种情况已经持续多年，我之前从未注意到。）

今天有用户发邮件抱怨我们没有“注册”按钮，因为他们找不到。

而且，没错，那个顶部栏的空间确实有限，我理解。但我有三个功能请求。

1. “注册”按钮应该出现在移动端汉堡菜单的顶部。如果它重要到足以出现在网站顶部栏，那么我认为它至少应该在菜单中占据显眼的位置。

2. 我认为应该有一个站点设置，让“注册”按钮作为主要按钮，而“登录”按钮则出现在菜单中。

3. 在移动端，从“登录”切换到“注册”以及从“注册”切换到“登录”的选项应该出现在更靠上的位置。“登录”页面的标题是“欢迎回来”，你需要浏览整个屏幕才能找到“注册”按钮。而在“注册”页面上，“登录”按钮位于屏幕可视区域下方，如果我们把“注册”设为网站的主要按钮，那这个位置就太靠下了。

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/4/1/241f5a83dadaeaad059327899668328f07013dcb.png) ![image](https://global.discourse-cdn.com/meta/original/4X/d/0/c/d0c63aa3abba58cf2e81e91b97f8e93342fc5a5e.png)

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年五月28日 16:15 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/2 "2026-05-28T16:15:01Z")

</div>

也许这能帮到您：[Discourse Combined Auth Button](https://meta.discourse.org/t/discourse-combined-auth-button/401215)

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2026年五月28日 16:17 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/3 "2026-05-28T16:17:05Z")

</div>

Lilly 分享了一个组件 [https://meta.discourse.org/t/discourse-combined-auth-button/401215，您可以在其中编辑文本，并让用户选择是登录还是注册。](https://meta.discourse.org/t/discourse-combined-auth-button/401215%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%85%B6%E4%B8%AD%E7%BC%96%E8%BE%91%E6%96%87%E6%9C%AC%EF%BC%8C%E5%B9%B6%E8%AE%A9%E7%94%A8%E6%88%B7%E9%80%89%E6%8B%A9%E6%98%AF%E7%99%BB%E5%BD%95%E8%BF%98%E6%98%AF%E6%B3%A8%E5%86%8C%E3%80%82)

> [@Lilly](#):
>
> 移动端的按钮和弹窗（使用组件默认设置）：
> 
> ![image](https://global.discourse-cdn.com/meta/original/4X/5/4/b/54bf97806c519ccb785304132e106afc146c986c.jpeg)
> 
> ![IMG5175](https://global.discourse-cdn.com/meta/original/4X/8/e/2/8e2c02d930ab686b01fc69e9b17b176bd04941c2.jpeg)

---

<div class="post-metadata">

**Author:** ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**Post date:** [2026年五月28日 16:18 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/4 "2026-05-28T16:18:43Z")

</div>

我的 Discourse 在小型手机上无法同时容纳“注册”和“登录”按钮。（如果两个按钮都能放下，我们一开始就不会陷入这种局面！）

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年五月28日 16:20 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/5 "2026-05-28T16:20:05Z")

</div>

有选项可以更改文本并隐藏图标，使其变小。

> [@Lilly](#):
>
> 启用 hide\_mobile\_ combined\_button\_icon 后
> 
> ![image](https://global.discourse-cdn.com/meta/original/4X/7/3/b/73b3d2f26318bec8b4cea1fc64519731fb81812f.jpeg)

---

<div class="post-metadata">

**Author:** ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**Post date:** [2026年五月28日 16:25 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/6 "2026-05-28T16:25:25Z")

</div>

你在这里做了很了不起的工作，但我真的空间不够了。（我进入开发者工具并手动修改了它；我的移动网站标志太宽，即使我移除了图标，当按钮中显示“注册/登录”时，标志会变得小到无法辨认。）

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2026年五月28日 16:27 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/7 "2026-05-28T16:27:16Z")

</div>

你可以将文字改为更短的内容。也许像你在一楼建议的那样用“注册”。

> [@dfabulich](#):
>
> 我认为应该有一个站点设置，让“注册”按钮作为主要按钮，而“登录”按钮显示在菜单中。

或者用“进入”。它的尺寸不应大于默认按钮。

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年五月28日 17:32 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/8 "2026-05-28T17:32:51Z")

</div>

能截个图吗？我觉得你这里的手机图标 unusually 大。你用的是和桌面端一样的图标吗？

---

<div class="post-metadata">

**Author:** ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**Post date:** [2026年五月28日 23:18 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/9 "2026-05-28T23:18:49Z")

</div>

> <https://github.com/discourse/discourse/pull/40388>
>
> On mobile, the "Sign Up" button is hidden in the header; we only show the "Log I…n" button.
> 
> Now, in mobile view, we show the "Sign Up" button in the hamburger menu, providing a way for mobile users to find the "Sign Up" button.
> 
> \<img width="576" height="361" alt="image" src="https://github.com/user-attachments/assets/b898e46c-a009-4f5e-9014-bd56e452eb67" /\>
> 
> I've confirmed with acceptance tests and by manual testing that the "Sign Up" button doesn't appear in the hamburger menu in desktop view; it only appears there in mobile view.

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2026年五月29日 16:42 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/12 "2026-05-29T16:42:29Z")

</div>

那个链接会像其他所有链接一样出现在自定义社区部分的模态框中吗？这样我就可以轻松移除它了。

 ![Screenshot20260529184046Firefox](https://global.discourse-cdn.com/meta/original/4X/7/6/c/76c459dacb078863eb317987c76102a864a47555.jpeg)

---

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2026年五月30日 18:16 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/13 "2026-05-30T18:16:29Z")

</div>

我不认为我们做了什么不寻常的事……

大多数热门网站似乎都以登录作为首要入口，有些则同时提供登录和注册选项，但通常只有在它们有启动页而非直接展示内容时才会这样做……而另一个极端是，有些网站甚至完全不给账户按钮加标签，而是将两个选项都放在下拉菜单中。

我个人最偏好的做法是完全不做区分：先询问邮箱，然后根据账户是否存在来决定后续流程……但这样做也有一些缺点。

 ![IMG0569](https://global.discourse-cdn.com/meta/original/4X/4/3/4/4341f687f4e3b8d1b79cadf8d6d66d0ab7518960.jpeg)  
 ![IMG0568](https://global.discourse-cdn.com/meta/original/4X/5/1/d/51df568384b81854725f8ac052d95f45a3feafcb.jpeg)  
 ![IMG0567](https://global.discourse-cdn.com/meta/original/4X/c/2/5/c250ab688af02a2babf5a30b1be9707dab3fa4b5.png)  
 ![IMG0566](https://global.discourse-cdn.com/meta/original/4X/4/6/2/4629ae8c54fe125605ca96d0601ab377c9f4a7de.png)  
 ![IMG0565](https://global.discourse-cdn.com/meta/original/4X/4/d/f/4dfa263e8106e4dfb459bf0fa351a8aa9df4a6ff.jpeg)  
 ![IMG0564](https://global.discourse-cdn.com/meta/original/4X/d/c/1/dc16b1752048d5af0cafe04d53d1f2e282d9cb89.jpeg)  
 ![IMG0563](https://global.discourse-cdn.com/meta/original/4X/d/9/a/d9a18c7270cb25767623007cd803dea99da6aa8e.jpeg)  
 ![IMG0562](https://global.discourse-cdn.com/meta/original/4X/4/4/8/44862ec6ad3003481340b8160b18d3aa87f85b8d.jpeg)  
 ![IMG0561](https://global.discourse-cdn.com/meta/original/4X/d/2/b/d2ba8a73275924b64b25351bd92444f5f4037367.jpeg)  
 ![IMG0560](https://global.discourse-cdn.com/meta/original/4X/a/0/7/a076a73297f2cbef939a0b49b3f0a11f8c0920cf.jpeg)  
 ![IMG0577](https://global.discourse-cdn.com/meta/original/4X/0/5/6/056f3f7dd3911f0249de21d439c3b245861aa634.jpeg)  
 ![IMG0576](https://global.discourse-cdn.com/meta/original/4X/3/e/8/3e862aeabb1774e90754be4673a6deb9419ef134.png)  
 ![IMG0575](https://global.discourse-cdn.com/meta/original/4X/7/4/c/74c6ddc4b3dc10d83b9817ea29a49e4f71ef7744.jpeg)  
 ![IMG0574](https://global.discourse-cdn.com/meta/original/4X/e/a/d/eadd80de81f6f38631acddb3744e1eb4583b05cc.jpeg)  
 ![IMG0573](https://global.discourse-cdn.com/meta/original/4X/2/c/5/2c53940fbd1544b228177b76e951de123a8552b2.jpeg)  
 ![IMG0572](https://global.discourse-cdn.com/meta/original/4X/f/3/3/f338a7a623ad3c677ea86f33ccf47699cce3c06e.jpeg)  
 ![IMG0571](https://global.discourse-cdn.com/meta/original/4X/f/1/f/f1f438c3c521b75301012c704ca0e42be9fa08e1.jpeg)  
 ![IMG0570](https://global.discourse-cdn.com/meta/original/4X/4/9/9/499b6126a9408eb0eb8a548cea12b3f870729d09.jpeg)  
 ![IMG0569](https://global.discourse-cdn.com/meta/original/4X/4/3/4/4341f687f4e3b8d1b79cadf8d6d66d0ab7518960.jpeg)

在默认将其添加到菜单之前，或许我们可以考虑在登录页面上使其更加醒目。比如使用一个完整的按钮而不是链接？或者在底部添加一个固定元素，这样即使页面很长也不会被淹没？

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年五月30日 20:36 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/14 "2026-05-30T20:36:35Z")

</div>

（帖子已被作者删除）

---

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [2026年五月31日 06:40 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/15 "2026-05-31T06:40:12Z")

</div>

只有一个问题，那就是侧边栏本身。移动用户必须事先知道两件事：

- 想要的链接在汉堡菜单内
- 如何打开汉堡菜单

---

<div class="post-metadata">

**Author:** ![jack222](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jack222/32/529329_2.png) [@jack222](https://meta.discourse.org/u/jack222)\
**Post date:** [2026年五月31日 09:11 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/16 "2026-05-31T09:11:57Z")

</div>

对于大多数热门网站，我觉得他们可能考虑更多的是已经注册了的用户角度，大多数访客可能更需要的是登录而不是注册，只有登陆按钮是为了方便已存在用户只需一个步骤就能登录。

但是对于新增用户需求更多的网站，可能需要注册的用户占比更多。

我只是猜测，或许拥有更多用户的热门网站和普通网站的考虑角度会有一些不同。

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年五月31日 11:47 UTC](https://meta.discourse.org/t/make-it-easier-to-find-sign-up-on-mobile/404022/17 "2026-05-31T11:47:54Z")

</div>

是的，我不喜欢那个方案——我提出它只是因为它能达到和原帖作者拉取请求相同的效果。
