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 就夹在