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);