From 4301a8865c075fd89d92774064ad97a0d16c7fc6 Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Tue, 8 Sep 2026 03:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E7=A7=BB?= =?UTF-8?q?=E5=88=B0=E3=80=8C=E8=AE=BE=E7=BD=AE=E4=B8=8E=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E3=80=8D=E6=9C=AB=E5=B0=BE(=E9=80=80=E5=87=BA=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E7=99=BB=E5=BD=95,=20=E4=BB=85=E5=B7=B2=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E6=98=BE=E7=A4=BA),=20=E5=88=A0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=8D=A1=E5=8F=B3=E4=B8=8A=E8=A7=92=E9=80=80=E5=87=BA=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=20(v26090728)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 24 +++++++++++------------- js/app.js | 4 ++-- mama-box.css | 6 ------ 3 files changed, 13 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 12c61e2..34de0c5 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ 妈妈盒子 · 孕育陪伴 - - + + @@ -771,14 +771,6 @@ 谁要是把那行加回来,会把连续记录天数冲掉,而且是静默的。 -->

已连续记录 42 天

- - @@ -1027,6 +1019,12 @@ + + @@ -1771,8 +1769,8 @@ 加载失败/离线时 window.wx 为 undefined,goMall() 会降级为 toast 提示, 不影响应用其余功能。 --> - - -
v26090727
+ + +
v26090728
diff --git a/js/app.js b/js/app.js index 0d45ce5..48b0c5a 100644 --- a/js/app.js +++ b/js/app.js @@ -4222,7 +4222,7 @@ } /* 授权入口:未授权时显示(引导先授权);退出按钮:已授权时显示 */ var _box = $('#meAuthBox'); if (_box) _box.style.display = _authorized ? 'none' : ''; - var _lx = $('#meLogoutBtn'); if (_lx) _lx.style.display = _authorized ? '' : 'none'; + var _lx = $('#meLogoutCard'); if (_lx) _lx.style.display = _authorized ? '' : 'none'; if (!p.userName) { var _ai2 = $('#meAvatarImg'); if (_ai2) _ai2.removeAttribute('src'); } } if (pg && pg.code === 200 && pg.result) { @@ -4419,7 +4419,7 @@ 成功后重载页面 → applyRemoteProfile 重新拉到空显示字段 → 回到未登录态、授权入口重现。 ⚠️ stopPropagation:me-card 整卡是 data-modal="modalProfile",不阻止冒泡 会顺带打开资料弹窗。 */ - var meLogout = $('#meLogoutBtn'); + var meLogout = $('#meLogoutCard'); if (meLogout) meLogout.addEventListener('click', function (e) { e.preventDefault(); e.stopPropagation(); diff --git a/mama-box.css b/mama-box.css index 212927b..5056813 100644 --- a/mama-box.css +++ b/mama-box.css @@ -1557,12 +1557,6 @@ a.skip:focus{left:16px;top:16px} .me-card:active{transform:scale(.985)} /* 尖括号跟全站 .chev 一个灰度,别再用白色 */ .me-chev{margin-left:auto;flex:0 0 auto;font-style:normal;font-size:24px;line-height:1;color:#C9BFB8} -/* 退出登录图标按钮:住 me-card **右上角**(绝对定位,不占 flex 流)。 - ⚠️ 只在已登录时显示(applyRemoteProfile 按 p.userName 控制显隐); - 未登录显示"退出"没有意义。chev 恢复 margin-left:auto 占最右。 */ -.me-card{position:relative} -.me-exit{position:absolute;top:10px;right:44px;color:#C9BFB8;flex:0 0 auto} -.me-exit:active{color:#C33A2E} /* 头像底从「白蒙版 + 白描边」换成暖橘底 + 品牌色剪影(与 .pc-ico 同一套配色)。 ⚠️ 外圈本批从 #FFF3EC 改回了纯 #fff。那圈浅橘白光晕本来是照着 「卡是白的」调的 —— 卡一变暖(终点 #FFE9DB),#FFF3EC 就夹在