From 584d7fd1464353c52e22dde9bc45ff9e7e6dc73c Mon Sep 17 00:00:00 2001 From: Victor_Jay Date: Wed, 3 Jun 2026 13:00:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20/space=20=E5=85=B3?= =?UTF-8?q?=E6=B3=A8=E6=8C=89=E9=92=AE=E5=9C=A8=E9=BB=98=E8=AE=A4=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A1=B5=E6=97=A0=E6=B3=95=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将顶部关注按钮 JS 从 following/followers 标签页限定块中提取到全局脚本 - 按钮在所有标签页均可点击(之前仅在 following/followers 标签页有效) - 本人点击关注时 toast 提示"不能关注自己",与赋能按钮行为一致 - 未登录用户点击关注跳转登录页 - 移除标签页限定块中的重复顶部按钮代码 --- templates/MetaLab-2026/html/space/index.html | 94 ++++++++++---------- 1 file changed, 49 insertions(+), 45 deletions(-) diff --git a/templates/MetaLab-2026/html/space/index.html b/templates/MetaLab-2026/html/space/index.html index 5179367..3e77d8b 100644 --- a/templates/MetaLab-2026/html/space/index.html +++ b/templates/MetaLab-2026/html/space/index.html @@ -575,6 +575,55 @@ {{template "layout/footer.html" .}} + + + {{if or (eq .ActiveTab "following") (eq .ActiveTab "followers")}} {{end}}