From 0e69819165ac8ffd7f354d65881de7a2858c27a3 Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Tue, 8 Sep 2026 03:37:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=8D=A1=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E8=A1=8C=E6=8C=89=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA:=20?= =?UTF-8?q?=E6=9C=AA=E5=AE=8C=E5=96=84=E2=86=92=E5=BC=95=E5=AF=BC=E6=96=87?= =?UTF-8?q?=E6=A1=88,=20=E5=B7=B2=E5=AE=8C=E5=96=84=E2=86=92=E5=B7=B2?= =?UTF-8?q?=E8=BF=9E=E7=BB=AD=E8=AE=B0=E5=BD=95N=E5=A4=A9(=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=BA=90=E5=90=8E=E5=AE=9A)=20(v26090733)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 12 ++++++------ js/app.js | 10 ++++++++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 80bb531..ab14ef8 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ 妈妈盒子 · 孕育陪伴 - - + + @@ -769,7 +769,7 @@ ⚠️ syncPregnancy() 里那行 $('.me-info p') 早就删掉了(它取的是 **第一个**

)。现在第一个

是下面的「已连续记录」, 谁要是把那行加回来,会把连续记录天数冲掉,而且是静默的。 --> -

已连续记录 42 天

+

已连续记录 42 天

@@ -1773,8 +1773,8 @@ 加载失败/离线时 window.wx 为 undefined,goMall() 会降级为 toast 提示, 不影响应用其余功能。 --> - - -
v26090732
+ + +
v26090733
diff --git a/js/app.js b/js/app.js index c1f24eb..a200fde 100644 --- a/js/app.js +++ b/js/app.js @@ -1919,7 +1919,10 @@ $('#replyTo').textContent = nm; /* 未完善 → 「写回信」FAB 隐藏(没有信可回;完善后由 go() 恢复) */ $('#fabWrite').classList.remove('show'); - /* ⑤ 孕期衍生的静态演示位(生长曲线周数/孕检日历/时光轴日期)一并归中性占位, + /* ⑤ 用户卡记录行:未完善 → 引导文案(数据源未定,先不给演示数字) */ + const _rl = $('#meRecordLine'); + if (_rl) _rl.textContent = '完善孕期信息,记录宝宝的成长记忆'; + /* ⑥ 孕期衍生的静态演示位(生长曲线周数/孕检日历/时光轴日期)一并归中性占位, 不保留 HTML 里的演示默认值(孕27周/9月15日…) */ $$('[data-ga]').forEach(n => { n.textContent = '--'; }); $$('[data-wk]').forEach(n => { n.textContent = '--'; }); @@ -2016,7 +2019,10 @@ renderLetters(); renderLetterDetail(curLetter()); - /* ⑤ 页面里那些示例日期(时光轴、珍贵时刻、小卡、热词…)也按新孕周重刷。 + /* ⑤ 用户卡记录行:已完善 → 保留「已连续记录 N 天」(数据源确认前先维持原型值) */ + const _rl2 = $('#meRecordLine'); + if (_rl2) _rl2.innerHTML = '已连续记录 42 天'; + /* ⑥ 页面里那些示例日期(时光轴、珍贵时刻、小卡、热词…)也按新孕周重刷。 改预产期会连带改孕周,这些跟着一起动才不会前后矛盾。 */ syncStaticDates(); stampAiLogs();