From 2f2a0a5029605ab873a0aaf92af6fcfbc09b577e Mon Sep 17 00:00:00 2001 From: deploy Date: Sat, 7 Nov 2026 00:27:34 +0000 Subject: [PATCH] =?UTF-8?q?v26110605=20=E9=80=80=E5=87=BA=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=90=8E=E5=8F=AA=E7=9C=8B=E4=B8=8D=E5=86=99=EF=BC=9A?= =?UTF-8?q?js/login-gate.js=EF=BC=88=E9=A6=96=E9=A1=B5/=E5=B9=BF=E5=9C=BA/?= =?UTF-8?q?=E4=B8=93=E9=A2=98=E9=A1=B5=E5=85=B1=E7=94=A8=EF=BC=89=EF=BC=8C?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8C=89=E8=AE=BF=E5=AE=A2=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=EF=BC=8C=E8=AE=B0=E5=BD=95/=E8=AF=84=E8=AE=BA/=E7=82=B9?= =?UTF-8?q?=E8=B5=9E/=E6=94=B6=E8=97=8F/=E6=8A=95=E7=A8=BF/=E5=85=91?= =?UTF-8?q?=E6=8D=A2/=E6=94=B9=E6=A1=A3=E6=A1=88=E5=BC=B9=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=8F=90=E7=A4=BA=EF=BC=9B=E9=80=80=E5=87=BA=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E6=96=87=E6=A1=88=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- guangchang/index.html | 3 +- index.html | 9 +-- js/app.js | 22 ++++++-- js/login-gate.js | 121 +++++++++++++++++++++++++++++++++++++++++ topic/_shared/tools.js | 2 + 5 files changed, 146 insertions(+), 11 deletions(-) create mode 100644 js/login-gate.js diff --git a/guangchang/index.html b/guangchang/index.html index 1bb6cb4..f2c5d0f 100644 --- a/guangchang/index.html +++ b/guangchang/index.html @@ -3,6 +3,7 @@ + @@ -958,7 +959,7 @@ html.night .gtg button.on{background:#F2725B;border-color:#F2725B;color:#fff} return m ? decodeURIComponent(m[1]).split('?')[0] : ''; } catch (e) { return ''; } } - var OPENID = param('openid'); + var OPENID = (window.mbGate && window.mbGate.out) ? '' : param('openid'); /* 11-07 退出登录后按访客(不拉「我的评论」、不认头像) */ var MYNAME = param('nickname') || '孕妈'; /* 授权回填的昵称在 hash 里;没有就叫「孕妈」,后面另挂「我」标 */ /* ---------- 头像:沿用首页 assets/img/mom/ 写实头像 ---------- */ diff --git a/index.html b/index.html index 780a421..d95ccc8 100644 --- a/index.html +++ b/index.html @@ -9,15 +9,16 @@ 兜爸心选 · 孕育陪伴 - + - + +