From 1396ccec0cac9cbb0946a97c8d302cc44e294441 Mon Sep 17 00:00:00 2001 From: Karlcarlo Date: Tue, 8 Sep 2026 00:36:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=94=A8=E6=88=B7=E7=A9=BA=E6=80=81:?= =?UTF-8?q?=20handler=20=E7=9F=AD=E8=B7=AF=20=E2=80=94=E2=80=94=20pregEmpt?= =?UTF-8?q?y=20=E6=97=B6=E8=B7=B3=E8=BF=87=20stampLetters/syncStaticDates?= =?UTF-8?q?=20=E7=AD=89=E6=8C=89=E9=BB=98=E8=AE=A4=E5=AD=95=E5=91=A8?= =?UTF-8?q?=E7=9A=84=E9=87=8D=E7=AE=97,=20=E9=9A=90=E8=97=8F=E6=BC=94?= =?UTF-8?q?=E7=A4=BA=E6=9C=AA=E8=AF=BB=E8=A7=92=E6=A0=87=20(v26090714)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 10 +++++----- js/app.js | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index c6ecdf1..b9a04ec 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ 妈妈盒子 · 孕育陪伴 - - + + @@ -1758,8 +1758,8 @@ 加载失败/离线时 window.wx 为 undefined,goMall() 会降级为 toast 提示, 不影响应用其余功能。 --> - - -
v26090713
+ + +
v26090714
diff --git a/js/app.js b/js/app.js index a6eb54f..1b08d19 100644 --- a/js/app.js +++ b/js/app.js @@ -4103,6 +4103,11 @@ } // 统一回刷依赖这些 state 的展示 syncPregnancy(); + /* 新用户空态:syncPregnancy 已写完引导占位(含信件/称呼/静态位归零)。 + ⚠️ 下面 stampLetters/filterLetters/syncStaticDates 全按 state.week 重算, + 而 pregEmpty 时 state.week 还是内置默认 27 —— 不拦住的话, + 刚写好的占位会被改回「孕 27 周 / 9月15日」演示值。 */ + if (state.pregEmpty) { $('#tabBadge').classList.remove('show'); return; } syncBabyWords(); stampLetters(); filterLetters(state.letterFilter);